In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> Assuming the 456 is the ATA number and the outside number is always 10
> digits.
>
> exten => _456.,1,Dial(SIP/${EXTEN:0:3}/${EXTEN:-10},tT)
>
> but then it might as well be
>
> exten => _456.,1,Dial(SIP/456/${EXTEN:-10},tT)
Paul, Mamus, thank you both!
Combining you answers I have found solution. I have forget to exclude other
numbers (those after first three). Now this is what works just fine.
exten => _456.,1,Dial(SIP/${EXTEN:0:3},30,tTD(${EXTEN:3}))
Another question, if I would like to delay sending EXTEN:3 digits, where should
I put w option? If I put it after tTD then it's for one touch record.
--
Tomislav Parčina
Lama Computers Split
Stinice 12, 21000 Split
Tel.: +385(21)495148
Mob.: +385(91)1212148
SIP: [EMAIL PROTECTED]
e-mail: tparcina#lama.hr
http://www.lama.hr
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users