db1 Posted January 9, 2009 Report Share Posted January 9, 2009 Hi- I have 1 trunk from vitelity.net with 2 DIDs 7036985000 & 7036986000. I set up 2 Auto Attendants 800 & 810. What would be the correct syntax for the "Send call to extension" in the trunk setting to have DID 7036985000 go to AA 800 and DID 7036986000 go to AA 810. Here's the INVITE packets INVITE sip:7036985000@207.197.254.13 SIP/2.0 Via: SIP/2.0/UDP 64.2.142.13:5060;branch=z9hG4bK11ed6264;rport From: "7036239450" <sip:7036239450@64.2.142.13>;tag=as73b20880 To: <sip:7036985000@207.197.254.13> I am running pbxnsip 3.1.2.3120 (Win32) Thank you Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted January 9, 2009 Report Share Posted January 9, 2009 I have 1 trunk from vitelity.net with 2 DIDs 7036985000 & 7036986000. I set up 2 Auto Attendants 800 & 810.What would be the correct syntax for the "Send call to extension" in the trunk setting to have DID 7036985000 go to AA 800 and DID 7036986000 go to AA 810. Here's the INVITE packets INVITE sip:7036985000@207.197.254.13 SIP/2.0 Via: SIP/2.0/UDP 64.2.142.13:5060;branch=z9hG4bK11ed6264;rport From: "7036239450" <sip:7036239450@64.2.142.13>;tag=as73b20880 To: <sip:7036985000@207.197.254.13> I am running pbxnsip 3.1.2.3120 (Win32) Try "!7036986000!810! !7036985000!800!". "!7036986000!810! 800" is a little bit more elegant, as everything else but 7036986000 would land on the 800 account. If you have more DID you can extend the pattern like this: "!7036986000!810! !7036986001!811! !7036986002!812! 800" Quote Link to comment Share on other sites More sharing options...
pbxuser911 Posted January 9, 2009 Report Share Posted January 9, 2009 what does the ! do? Quote Link to comment Share on other sites More sharing options...
db1 Posted January 9, 2009 Author Report Share Posted January 9, 2009 Try "!7036986000!810! !7036985000!800!". "!7036986000!810! 800" is a little bit more elegant, as everything else but 7036986000 would land on the 800 account. If you have more DID you can extend the pattern like this: "!7036986000!810! !7036986001!811! !7036986002!812! 800" Thank you. It works great! Quote Link to comment Share on other sites More sharing options...
db1 Posted January 9, 2009 Author Report Share Posted January 9, 2009 what does the ! do? It's a unique character to separate the parts in the expression http://wiki.pbxnsip.com/index.php/Trunk_Settings Quote Link to comment Share on other sites More sharing options...
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.