# 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](https://4161683604-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LUHjv4EwOoqWXb2by8A%2F-LiA5KvhKhogoRe_hsZW%2F-LiAKEipWB8xMBX38a25%2FTrunk%201.png?alt=media\&token=b75e7a96-6092-4e1f-82bd-4ea4908973b9)

![SIP Trunk](https://4161683604-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LUHjv4EwOoqWXb2by8A%2F-LiA5KvhKhogoRe_hsZW%2F-LiAKNSaanyFJGjw9P8s%2FTrunk%202.JPG?alt=media\&token=daaf5d57-dd38-4fdb-a57d-f00ff9f841f6)

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](https://4161683604-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LUHjv4EwOoqWXb2by8A%2F-LiA5KvhKhogoRe_hsZW%2F-LiAKaxqgNtaSVlGe7fc%2FDID%20Outbound%2011.JPG?alt=media\&token=f0f255a1-0ad0-4cc4-891d-09a110930b58)

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](https://4161683604-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LUHjv4EwOoqWXb2by8A%2F-LiEoGueAVYrK8dW5buE%2F-LiEoYgJ1ihphyMo28O7%2FDID%20Inbound.png?alt=media\&token=cad1ee4f-7d13-4069-9e74-553c3b700cb9)

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;
