Nijin Narayanan Posted March 3, 2014 Report Posted March 3, 2014 We have configured SIP trunk with 5 DID numbers. And incoming calls are routing to its destination based on Request-URI. But we noticed that, For the incoming call from some telecom carriers, our sip trunk provider adding some junk character with its Request-URI. So that we lost those calls. Correct Request-URI is 1234556@1.2.3.3 but sometime we got si123456@1.2.3.4 & 123456%23@1.2.3.4 for some telecom carriers(this was changed few times). We already reported this with them. Is there any way to handle those calls if the PBX is received wrong Request-URI ? to send all those calls to an extension or to IVR ? Quote
Vodia PBX Posted March 3, 2014 Report Posted March 3, 2014 Sure. In the trunk setting, there is the setting "Destination for incoming calls" where you can for example choose to match digits and if that fails, define a default account where the call is being sent. Quote
Nijin Narayanan Posted March 3, 2014 Author Report Posted March 3, 2014 Current Config: Destination for incoming calls: Send calls to destination in the Request-URI DID Range is 0441003000571 - 0441003000577 Extension & its alias starts from 881/0441003000571- 887/0441003000577 Is the below configuration is correct ? Destination for incoming calls: Match extension after prefix Source for caller-ID: Request-URI Default Account: 70 - AA (Account for Failover Calls) Prefix: 04410030005 Quote
Vodia PBX Posted March 3, 2014 Report Posted March 3, 2014 The thing with the prefix is that it can start also after the country code. It is really just a text search in the number, for example 30005 could be okay for you. Then the PBX will take the rest of the number (e.g. 71) and try to match it to a alias number in the domain. Quote
Vodia support Posted March 4, 2014 Report Posted March 4, 2014 To match the 4 last digit in 1234556@1.2.3.3 you can use the setting under the routing/redirection "Use a list of expression" in the trunk setting. I use this expression for testing works like a charm !([0-9]{4}$)!\1!t however you the option use the entire DID ex 1234556 or just add 4556 in the extension alias the PBX should be able match the incoming call without a problem. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.