<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.00.3315.2870" name=GENERATOR></HEAD>
<BODY style="COLOR: #000000; FONT-FAMILY: Arial">
<DIV><FONT size=2><SPAN class=590113206-27042003>I have been fooling around with
DynExtenDB and run into two glitches.</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=590113206-27042003>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.</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=590113206-27042003>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.</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=590113206-27042003></SPAN></FONT> </DIV>
<DIV><FONT size=2><SPAN class=590113206-27042003>Does anybody know, for
instance, what ast_spawn_extension is doing?</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=590113206-27042003>I found similar code in macro.c
but I still don't know what its purpose in life is.</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=590113206-27042003></SPAN></FONT> </DIV>
<DIV><FONT size=2><SPAN class=590113206-27042003>Any suggestions are
welcome. Hope Otto reads this message.</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=590113206-27042003>Regards,</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN
class=590113206-27042003>Uriel</SPAN></FONT></DIV></BODY></HTML>