[Asterisk-Users] dialplan selection

2004-12-19 Thread Samudra E. Haque
Hello, I would like to parse inbound Asterisk IAX2 7-digit numbers in the form of 123-4567 and strip out the first four digits, and then dial whatever number digits remain. If I only have three digits (000-999) and have a mix of channels (ZAP, SIP, IAX2) could someone please point out how I can

RE: [Asterisk-Users] dialplan selection

2004-12-19 Thread Reid Forrest
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Samudra E. Haque Sent: Sunday, December 19, 2004 12:58 PM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] dialplan selection Hello, I would like to parse inbound Asterisk IAX2 7-digit numbers

RE: [Asterisk-Users] dialplan selection

2004-12-19 Thread Reid Forrest
[globals] X1000=SIP/1000 X1001=ZAP/1001 X1002=IAX2/1002 X1003=SIP/1003 [outbound] exten = _123,1,Dial(${X${EXTEN:4}},10) Oops, that line should read: exten = _123,1,Dial(${X${EXTEN:3}},10) ___ Asterisk-Users mailing list [EMAIL