[Asterisk-Users] DynExtenDB
Uriel Carrasquilla
uriel at adelphia.net
Sat Apr 26 23:38:21 MST 2003
I have been fooling around with DynExtenDB and run into two glitches.
1) The code is looking for (chan->dnis) and in my case I find (null). I
forced (chan-dnis) to be the same as (chan->exten). So far so good. Now I
can connect and talk. This lead me to the second glitch.
2) As soon as the call ends by hanging up, the code issues a
(ast_spawn_extension). This causes asterisk to drop dead. So I checked to
see if it was a (chan->_softhangup) but it turns out to be null. The return
code I am getting (res) is -1.
Does anybody know, for instance, what ast_spawn_extension is doing?
I found similar code in macro.c but I still don't know what its purpose in
life is.
Any suggestions are welcome. Hope Otto reads this message.
Regards,
Uriel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030427/755a07cb/attachment.htm
More information about the asterisk-users
mailing list