> If this handles the case where 10 digits are required: > > exten => _9NXXXXXXXXX,1,StripMSD,1 > > exten => _NXXXXXXXXX,2,Dial,Zap/4/BYEXTENSION > > How do you create a handler which works for either this or > the case with a leading '1' plus 10 digits?
I'd start by looking at this material: http://www.voip-info.org/wiki-Asterisk+config+extensions.conf There are at least five other pages that relate closely to the dialplan which is the most important aspect of asterisk configuration (once you get it running). A leading 1 + 10 digits would probably be something like this: _1XXXXXXXXXX Looking at applications docs, StripMSD is "deprecated", replaced by the ${EXTEN:1} syntax. hth _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
