Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Naylz

42 posts

Geek


#164302 4-Feb-2015 17:57
Send private message

Here is my current setup.

I have a SIP Trunk with WXC

I have my pilot number + 10DDI's with WXC

I used to have an openvfx line with WXC but changed to the SIP Trunk because we needed the DDI's to work and to be directed to the correct extension. I have a few entities that work from the same building (all my own entities). The DDI's could not apparently be sent to an openvfx line.

We changed from the openvfx line to the SIP trunk at some expense as well as paid for the transfer of the DDI's per line. With the openvfx line all we could get was the DDI's forwarded to our system and then an IVR that is played to get clients to choose the extension.

I am using an Asterisk based FreePBX system at which I have become extremely proficient. 

However the DDI's are not being sent with the DDI's from WXC.

 

the CID is showing as ‘PILOTNUMBER’ regardless of whether I dial the  Main i.e PILOTNUMBER or # or the DDD

 

 

 

This means you are setting the forwarder  upstream before it gets to me, which is causing all caller IDs to come through with that number. This is not what DDI’s are. This is just number forwarding.

 

 

 

I presumed that this was they were setting the forwarder  upstream before it gets to me, which is causing all caller IDs to come through with that number. This is not what DDI’s are. This is just number forwarding. 

they replied 

 

WXC sends the initial Invitation to your Pilot number. We then outline the CID and destination DDI via the 'From' and 'To' fields shown in the test call I have made below.

 

 (replaced actual numbers with DDI and Pilotnumber and changed sip...

 

INVITE sip:‘PILOTNUMBER’ @IP:5060;transport=udp SIP/2.0
From: <sip:0xxxxxxxxxx@as.wxcnz.net>;tag=96109ab6-13c4-54caefea-958fef2-2d55bcb9
To: "Womens Health Centre Limited" <sip:DDI@as.wxcnz.net;rinstance=5487a13b10796b20>

 


 

They suggest that we get FreeBX to look for the DDI information via the 'To' field of our invites.

Is anyone able to do this. 

A second issue is that with the openvfx line we could have more than 1 call on the line at any one time and if the lines were busy, the asterix?Freepbpx IVR was activated.

With the SIP Trunk we now realise that we have only 1 channel in ($20) per month and have had to add another channel to this.

If both channels are being used, nothing comes through to the IVR so clients get a busy signal with no answerphone.

We could get voicemail at $5 per DDI or get a 3rd channel at $20 so that if 2 lines are used the 3rd line can go to the Freepbx voicemail.

And we have had to use WXC fax to email service as despite having an ATA we have been unable to get the fax machine to work. 

Can anyone offer any solutions to the above problems please.

The most important issue is the DDI"s coming into the office as their proper numbers... Does anyone know how to get the Asterisk/FreePBX system to check the TO field.

or Should I be thinking of a different provider? 

Thanks for any advice.

cheers
Naylin

Filter this topic showing only the reply marked as answer Create new topic
coffeebaron
6231 posts

Uber Geek

Trusted
Lifetime subscriber

  #1231318 4-Feb-2015 18:52
Send private message

I haven't done this on Asterisk / FreePBX for a while, but do have a couple of Cisco systems setup with this scenario and works no problem. So sorry may not solve you issue, but it will be an issue with configuration at your end.




Rural IT and Broadband support.

 

Broadband troubleshooting and master filter installs.
Starlink installer - one month free: https://www.starlink.com/?referral=RC-32845-88860-71 
Wi-Fi and networking
Cel-Fi supply and installer - boost your mobile phone coverage legally

 

Need help in Auckland, Waikato or BoP? Click my email button, or email me direct: [my user name] at geekzonemail dot com




sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #1231343 4-Feb-2015 19:54
Send private message

Did you read my blog post which is the first link on Google?

http://www.geekzone.co.nz/sbiddle/7170


The concurrent call issue isn't an issue is such - it's a bit like only paying for one POTS line, you're only able to make one concurrent call at a time.




maverick
3594 posts

Uber Geek

Trusted
WorldxChange

  #1231465 5-Feb-2015 05:45
Send private message

The reason the pilot is sent is that this is the number that is registered against the trunk i.e you only need to register the single pilot number to receive all your calls other options have it where you have to register all numbers which is not a good deployment model (a lot of extra sip traffic) , all calls are send to the registered trunk number, the full DDI is in the TO header, this is a standard Invite and normal way of presenting trunk calls, as pointed out this will purely be a configuration issue on your system.

Mr Biddles excellent posts are a pretty good guide to assist as well , as you have only 2 calls for your trunk if its filling up i would suggest that you do need to add the 3rd sim call




Yes I am a employee of WxC (My Profile) ... but I do have my own opinions as well Wink

             

https://www.facebook.com/wxccommunications



breakaway
112 posts

Master Geek


  #1232423 6-Feb-2015 22:25
Send private message

I'm trying to help naylz configure his PBX. I've attempted applying the fix described in sbiddle's post but I'm not getting the desired outcome. I just wanted to check that I'm doing it right:

I have added this code into /etc/asterisk/extensions_custom.conf:

[from-trunk-dvx]
exten => _.,1,Noop(Extract DVX DDI/DID info from SIP URI header. By Steve Biddle stevenbiddle@gmail.com)
exten => _.,n,Noop(NoOp(SIP_HEADER : ${SIP_HEADER})
exten => _.,n,Set(DVXDDI=${SIP_HEADER(To)})
exten => _.,n,Set(DVXDDI=${CUT(DVXDDI,@,1)})
exten => _.,n,Set(DVXDDINAME=${CUT(DVXDDI,",1)})
exten => _.,n,Set(DVXDDI=${CUT(DVXDDI,:,2)})
exten => _.,n,Goto(from-trunk,${DVXDDI},1)

Then I edited my trunk config (Specifically the PEER settings under "Outgoing") to include this line:

context=from-trunk-dvx

But the call is still getting captured by the inbound route for the "Pilot Number". You can view a full sip debug session here -- in this scenario, 091110000 is the number I am calling from for testing, 092220000 is the destination which is coming through correctly in the "TO" field, and 096666666 is the pilot number.

The fix is over nearly 5 years old now, is it possible that the format of how WxC is sending the number has changed & as a result the code is no longer snipping out the DID properly? Unfortunately I don't have enough knowledge with Asterisk to deciper exactly what the snippet is doing. Some asssitance would be much appreciated.

sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #1232496 7-Feb-2015 11:08
Send private message

You're doing something wrong because inbound calls are still hitting the from-trunk-sip context rather than from-trunk-dvx


breakaway
112 posts

Master Geek


  #1232865 8-Feb-2015 12:19
Send private message

Ok I got it working.

It appears the issue is that in /etc/asterisk/sip_additional.conf, where the SIP trunk details are placed, we had another trunk registered.

 

It was phsically above the registration info for the DVX trunk (wherein I'd applied the fixes suggested by you steve).

As a result it was never hitting that context -- this is odd, I thought it's supposed to hit the context of the corresponding trunk, not just the first one in the list?

The Solution? I put a "z" in the "Trunk Name" so it's at the bottom of the list now foot-in-mouth

Filter this topic showing only the reply marked as answer Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.