# 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;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.didforsale.com/sip-trunking/sip-trunking/grandstream-devices/grandstream-6104-ippbx.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
