QUESTION Help to configuration trunk SIP. From DIDWW to Elastix 4

dimpas

New Member
Joined
Feb 8, 2022
Messages
3
Reaction score
0
Hello,

I need to configure a DIDWW trunk (SIP) on an Elastix 4.
I'm having a bit of trouble finding my way around.
Could you help me?
If so, what information do you need?

Thanks in advance

----------------------------------
Bonjour,

Je dois configurer un trunk DIDWW (SIP) sur un Elastix 4.
J'ai un peu du mal à m'y retrouver.
Pourriez-vous m'aider ?
Si oui, de quoi avez-vous besoin, comme informations ?

D'avance merci
 
Hello,

I need to configure a DIDWW trunk (SIP) on an Elastix 4.
I'm having a bit of trouble finding my way around.
Could you help me?
If so, what information do you need?

Thanks in advance

----------------------------------
Bonjour,

Je dois configurer un trunk DIDWW (SIP) sur un Elastix 4.
J'ai un peu du mal à m'y retrouver.
Pourriez-vous m'aider ?
Si oui, de quoi avez-vous besoin, comme informations ?

D'avance merci
elastix.org FORUMS
 
I'm assuming that you've inherited of a setup that you need to maintain, otherwise my first recommendation would be to switch to something a bit more recent.

You probably know that Elastix was acquired in 2016 and version 4 was the last release before acquisition. It was used as the basis for the non-open source version 5 by the acquirer while it was forked by the community into a project called Issabel, which unfortunately didn't turn out to be very popular.

@ostridge mentioned about the elastix forum, but I doubt that you'll find much help on that particular version unless you can somehow hook up with a user / old-timer who is still on that version and knows his way around.

Generally speaking finding your way around for SIP trunk configuration shouldn't be very difficult if you have some general experience with voip PBXs, but Elastix 4 being at least 5-6 years old and no longer a current platform who knows what surprise is in store.
 
Hello,

Indeed, I inherited an old installation on which, it would be necessary to configure the SIP tonc in entry (to begin). I do not know, for the moment, to pass towards another configuration, more recent.
Unfortunately, I am not a PBX specialist, ... That's why I'm asking for help in this area.
I think I have everything configured correctly, but it doesn't work and I don't know where to look.

Thanks again for your help.

Translated with www.DeepL.com/Translator (free version)
 
Good luck with that. As already stated above. Elastix 4 being at least 5-6 years old and no longer a current platform who knows what surprise is in store. This forum is basically Incrediblepbx supporters. Also stated above

Elastix.org Forums
 
Who would have known?! I did have an Issabel instance that I installed back in 2019 and saved to posterity after fooling around with it for a day or two! :innocent: (I know that's a bad habit of mine - to do things and forget all about them next morning :sweatdrop: - my wife reminds me every day :rofl: )

As I was troubleshooting a flaky system yesterday, which required that I go back in time a few snapshots, I found the Issabel instance for which you have ample input here. I just can't believe that I couldn't remember it! BTW, it also squarely talks about version 4 configuration.

Since this is not a new install, do you have some trunk configs, maybe for other providers, made by the folks who passed the task of maintaining it to you? In which case you should be able to use them as a template.
Also let us know who's your current provider, some of the forum members might know if they require any special handling.

If you still need help, give us as much info about your setup as possible. There are good people around here, very knowledgeable and very helpful. But like with anything in life you've got to ask the right question to get the right answer.
 
I asked Gemini... how to configure a DIDWW trunk in elastix 4:


To connect DIDWW to Elastix 4 (which uses chan_sip on Asterisk 11), you must configure separate inbound and outbound trunk profiles in both the DIDWW User Panel and your Elastix PBX GUI. [1, 2, 3]

1. Configure the DIDWW User Panel
    • Create an Inbound Trunk. Navigate to Voice → Inbound Trunks → Create New → SIP Trunk. Choose Static Endpoint (recommended if your Elastix server has a static public IP) and enter your server's IP address in the Host field. Set User Part of R-URI to {DID} and assign this trunk to your phone number under Phone Numbers → My Numbers. [1, 2]
    • Create an Outbound Trunk. Navigate to Voice → Outbound Trunks → Create New. Choose Credentials & IP-Based authentication, whitelist your Elastix public IP address, and copy the generated SIP username and password from the Credentials key icon. [1]



2. Configure the Outbound Trunk in Elastix 4
    • Log in to your Elastix web interface and go to PBX → PBX Configuration → Trunks → Add SIP Trunk. [1]
    • General Settings. Set Trunk Name to DIDWW-Out and enter your DID number in Outbound CallerID. [1]
    • Outgoing Settings. Set the Trunk Name to didww-out and paste the following into PEER Details (replacing <USERNAME> and <PASSWORD> with your DIDWW outbound credentials):
      text
      host=out.didww.com
      username=<USERNAME>
      secret=<PASSWORD>
      type=peer
      qualify=yes
      insecure=port,invite
      disallow=all
      allow=ulaw&alaw

      Use code with caution.

      (Note: Check the DIDWW Outbound Documentation if your account requires a regional termination host instead of out.didww.com.) [1]
    • Leave Incoming Settings and the Register String blank, then click Submit Changes. [1]



3. Configure the Inbound Trunk in Elastix 4
Because DIDWW sends inbound calls from multiple Points of Presence (POPs), you need to allow incoming traffic from DIDWW's signaling IP blocks. [1, 2]
    • Click Add SIP Trunk again.
    • General Settings. Set Trunk Name to DIDWW-In.
    • Outgoing Settings. Leave Trunk Name and PEER Details blank.
    • Incoming Settings. Set USER Context to from-trunk (or didww-in) and add the following to USER Details:
      text
      type=peer
      context=from-trunk
      insecure=port,invite
      disallow=all
      allow=ulaw&alaw
      Use code with caution.
    • Click Submit Changes and Apply Config at the top of the screen.
    • Allow DIDWW Signaling IPs. Since chan_sip only matches a single host= IP per peer, either create separate inbound peer entries for each DIDWW signaling IP listed in the DIDWW Network Sources, or set allowguest=yes under PBX → Tools → Asterisk File Editor (sip_general_custom.conf) while restricting UDP port 5060 on your firewall strictly to DIDWW's official IP ranges. [1, 2, 3]



4. Configure Call Routing
    • Inbound Routes. Go to PBX → Inbound Routes → Add Incoming Route. Enter your DID number in the DID Number field (matching the E.164 format configured in DIDWW) and set the destination to your desired extension, IVR, or ring group.
    • Outbound Routes. Go to PBX → Outbound Routes → Add Route. Add your dial patterns (e.g., X.) and select DIDWW-Out under Trunk Sequence for Matched Routes. [1, 2, 3, 4]

If you run into trouble, let me know:
  • Whether your Elastix server is behind NAT (a router/firewall) or on a direct public IP
  • Whether you need inbound only, outbound only, or both
  • Any SIP error codes (such as 401, 403, or 404) from your Asterisk CLI logs
I can help you adjust your NAT settings or debug the trunk configuration.
 

Forum statistics

Threads
26,877
Messages
175,773
Members
20,409
Latest member
jimmygoodman984
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top