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.




36 posts

Geek
+1 received by user: 1


Topic # 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
5073 posts

Uber Geek
+1 received by user: 2100

Trusted
Subscriber

  Reply # 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.




Chorus has spent $1.4 billion on making their xDSL broadband network faster. If your still stuck on ADSL or VDSL, why not spend from $150 on a master filter install to make sure you are getting the most out of your connection?
I install - Naked DSL, DSL Master Splitters, VoIP, data cabling and general computer support for home and small business.
Rural Broadband RBI installer for Ultimate Broadband and Full Flavour

 

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


25684 posts

Uber Geek
+1 received by user: 5436

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 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.




 
 
 
 


3594 posts

Uber Geek
+1 received by user: 79

Trusted
WorldxChange

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

93 posts

Master Geek
+1 received by user: 3


  Reply # 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.

25684 posts

Uber Geek
+1 received by user: 5436

Moderator
Trusted
Biddle Corp
Subscriber

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


93 posts

Master Geek
+1 received by user: 3


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



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

UAV Traffic Management Trial launching today in New Zealand
Posted 12-Dec-2017 16:06


UFB connections pass 460,000
Posted 11-Dec-2017 11:26


The Warehouse Group to adopt IBM Cloud to support digital transformation
Posted 11-Dec-2017 11:22


Dimension Data peeks into digital business 2018
Posted 11-Dec-2017 10:55


2018 Cyber Security Predictions
Posted 7-Dec-2017 14:55


Global Govtech Accelerator to drive public sector innovation in Wellington
Posted 7-Dec-2017 11:21


Stuff Pix media strategy a new direction
Posted 7-Dec-2017 09:37


Digital transformation is dead
Posted 7-Dec-2017 09:31


Fake news and cyber security
Posted 7-Dec-2017 09:27


Dimension Data New Zealand strengthens cybersecurity practice
Posted 5-Dec-2017 20:27


Epson NZ launches new Expression Premium Photo range
Posted 5-Dec-2017 20:26


Eventbrite and Twickets launch integration partnership in Australia and New Zealand
Posted 5-Dec-2017 20:23


New Fujifilm macro lens lands in New Zealand
Posted 5-Dec-2017 20:16


Cyber security not being taken seriously enough
Posted 5-Dec-2017 20:13


Sony commences Android 8.0 Oreo rollout in New Zealand
Posted 5-Dec-2017 20:08



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.

Alternatively, you can receive a daily email with Geekzone updates.