Thomas Haeger
2003-Jul-03 01:15 UTC
[Asterisk-Users] CDR->dst and immediate=yes in zapata.conf
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.