[Asterisk-Users] CDR->dst and immediate=yes in zapata.conf

Thomas Haeger thomas.haeger at beronet.com
Thu Jul 3 01:15:26 MST 2003


Hi all,

i have a TDM40B configured with immediate=yes in zapata.conf.

My extensions.conf says:

[tel1]

exten => s,1,GotoIf($[${FREE1} = 1]?s|4:s|2)
exten => s,2,Playback,locked
exten => s,3,Hangup
exten => s,4,Background(free)

exten => _X.,1,Dial......
exten => _X.,2,Hangup


exten => t,1,Hangup
exten => i,1,Hangup


after entering "s,4,Background" the user can dial digits, i think.
I do this to lock or unlock the Ports from TDM40B. This works fine.
But, if the user make a call (entering _X. extension and Dial) and was
connected (or not),
the cdr->dst property is always "s" and not the dialed extension. The cdr
will never be updated.

Is there another way to do something like this?

Thanks for help,

Thomas.




More information about the asterisk-users mailing list