Skip to main content

Question about special access codes

Posted by voip on Wed, 04/16/2008

I have multiple trunk types in our system. I need to force route some calls to originate from an out of state IAX trunk I have. For example I want the general users to call 1-712-NXX-XXXX from a standard zap trunk but I have a group of people I want to call 1-712-NXX-XXXX and originate that call from the 712 area where I have obtained local 712 area phone numbers and IAX trunk them into my system.

I have ${DIALOUT} = 9 and use it for general outside line access. I wanted to build a new ${SPECIALOUT} and add an outbound route saying ${SPECIALOUT}NXXXXXX to go out my 712 IAX trunk.

When adding the new outbound route PBX Manager says it's an invalid route.

Can I add multiple dial access codes to point at different routes, (trunks), in PBX Manager?

Sorry if I missed something easy here....

Thanks, in advance.


Submitted by thirdlane on Thu, 04/17/2008 Permalink

Are you preceding the pattern with an underscore?

PBX Manager checks that if you are entering a pattern you should start it with _ so that Asterisk is happy :). You should enter it like this _${SPECIALOUT}NXXXXXX.

Please let me know if it helps,

Alex