[Asterisk-Users] DynExtenDB
Gary
gary at ausmail.com
Tue Apr 29 20:13:54 MST 2003
On Sun, 27 Apr 2003 02:38:21 -0400, Uriel Carrasquilla wrote:
>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.
how did you do this ??
>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
>
.
More information about the asterisk-users
mailing list