voipguy Posted March 31, 2010 Report Share Posted March 31, 2010 Hi, We are using version 126.96.36.19946, centos linux 64 bit. In our dial plan we have: Pattern: \*([0-9]*)@.* Replacement: sip:*\1@\d;user=phone We also made sure feature code 67 is not being used. If the customer only dials a local 7 digit number 638-1234 we want to add a default prefix of 416 so the dial plan sends to our proxy server 4166381234 but we don't know how to do this when the customer uses *67. So if a customer just enters *676381234 how do we get the dialplan to send *674166381234 to our proxy server? Now here's the second part - if the customer enters more then 7 digits after the *67 then we don't want to prefix it with 416 in the replacement, we just want to send what ever they entered. So if they dial *6716046381234 the dial plan would send *6716046381234 to our proxy server the same thing if they dial *679056381234 we want the dial plan to send *679056381234 to our proxy server. Basicaly anything entered that's greater then 7 digits after the *67 then don't add the default 416 prefix, just send what they entered. Anyone know how to do this? Thanks Quote Link to comment Share on other sites More sharing options...
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.