The number 9335 3510 is sent by the telco. The number 1414 02 9335 3510 is sent by an PABX. The number 02 9335 3510 is the one which is the real telephone number:
exten => 93353510,1,Macro(call-local-sip,edwin,02${EXTEN}) exten => 0293353510,1,Macro(call-local-sip,edwin,${EXTEN}) exten => 14140293353510,1,Macro(call-local-sip,edwin,${EXTEN:4}) Is there a way to do this in one line? -- Edwin Groothuis | Personal website: http://www.mavetju.org [EMAIL PROTECTED] | Weblog: http://weblog.barnet.com.au/edwin/ _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users