> For the complete documentation index, see [llms.txt](https://docs.didforsale.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.didforsale.com/sip-trunking/sip-trunking/grandstream-devices/grandstream-6104-ippbx.md).

# Grandstream 6104 IPPBX

### To Configuring Grandstream PBX with didforsale SIP Trunking, you need:&#x20;

* [Free account with DIDforsale SIP Trunk Provider.](https://www.didforsale.com)
* [Create free SIP account.](https://docs.didforsale.com/sip-trunking/sip-trunking/sip-account)

Step 1: Login to your grandstream admin interface. The default login username and password for grandstream 6102 is admin/admin.

Step 2: Go to VOIP trunks-> create new SIP trunk.

![SIP Trunk](/files/-LiAKEipWB8xMBX38a25)

![SIP Trunk](/files/-LiAKNSaanyFJGjw9P8s)

Step 3: Configure New SIP Trunk. PS: Type should be register SIP Trunk. Get the Hostname, Username and Password from the email you receive when you created a new SIP Account.&#x20;

Step 4: Click on Save. Go back to Status and find the status as registered green.

Step 5: Go to Outbound Routes. Enter the rule name, pattern as "\_ZXXXXXXXXXX" and select the trunk which you have created. Check the image below for better view

![Outbound Route](/files/-LiAKaxqgNtaSVlGe7fc)

Step 6: For routing your inbound call coming on your DID number, go to Inbound routes and Add the DID number as "\_123456789" under pattern. Route the calls to your desired destination.

![Inbound Route](/files/-LiEoYgJ1ihphyMo28O7)

Step 5: Check the Registration at DIDForSale. Portal. Account Portal -> Interconnection -> SIP Account. Notice the green light in front of the SIP account you used to configure IP PBX.

Step 6: Now you should be able to make and receive phone calls. To receive phone call, you need to configure the phone numbers in your DIDForSale Account Portal.&#x20;
