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
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 >.
Has anybody had any success getting DynExtenDB working? I installed it in /asterisk/apps and did the "make install from there" I put one statement in the database, "exten => 2001,1,Dial(Zap/1) Then in extensions.conf, I put "exten=>2001,DynExtenDB" It dials the extension but as soon as the calling extension hangs up, then asterisk goes down. Is "chan->dnis" supposed to be populated when I call from one extenion to another extension. THese are all Zap extensions. Uriel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030429/021183e2/attachment.htm
Hi, I'm trying to install DynExtenDB to add extensions dynamically. But it doesn't work. I've put in the source code many "ast_log" functions to see what happen, what the application receives... When I try to see what"s containing the transmitted channel, I only can see Channel Name (chan->name). This application seems to run only with CAPI. No DNID is transmitted when I call a SIP user. I try to display caller id, context,... but nothing appears... Any ideas? Ignace
Hi!! I have a problem with DynExtenDB. This is the message: ERROR[245776]: app_dynextendb.c:76 dynamic_extension: No DNID in channel found - not possible to query extension. Skipping. Anyone can help me? Thanks... F
Skipped content of type multipart/alternative-------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.9 - Release Date: 5/12/2005
No. Use RealTime Extensions instead. -Matthew> From: John Ackley <john@ackley.net> > Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> > Date: Sat, 14 May 2005 17:30:33 -0400 > To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> > Subject: [Asterisk-Users] DynExtenDB > > DynExtenDB > is any one using it? > does it work? > > see http://andreasotto.net/asterisk/ > last updated > 2002-12-15 > > > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.11.9 - Release Date: 5/12/2005 > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users