> Hi,
>
> If I do this in extensions.conf
>
> exten => 411,1,Dial(IAX2/[EMAIL PROTECTED]/[EMAIL PROTECTED],40,rS(10))
>
> the line is cut of in 10 sec., thats fine, but in CDR I got dst as T, and not 411.
>
> How can I handle this so I still get kicked of after 10 sec., but get 411 as dst in my cdr ?
>
>
I have worked around this issue by storing the extension in a variable, then restoring it using a Goto in the 'T' processing. For example:
exten => 411,1,SetVar(ORIG_EXTEN=${EXTEN}) exten => 411,2,Dial(IAX2/[EMAIL PROTECTED]/[EMAIL PROTECTED],40,rS(10)) ... exten => 411,200,Playback(call-timed-out) exten => 411,201,Hangup
exten => T,1,Goto(${ORIG_EXTEN},200)
I wonder if would make sense to add an additional column to the CDR record to include the number that was originally dialed?
../fam -- Frank A. Mandarino [EMAIL PROTECTED] Spindrift Management, Toronto 416 642-3404
_______________________________________________ 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