<!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 6.00.2800.1505" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial><FONT size=2><SPAN class=140293516-20072005>Hi
all,</SPAN></FONT></FONT></DIV>
<DIV><FONT><SPAN class=140293516-20072005></SPAN><FONT face=Arial><FONT
size=2><SPAN class=140293516-20072005>does anybody have some experience working
with Dynamic Extension DB Application?</SPAN> </FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=140293516-20072005>I have installed and
configured app_dynaextendb module as show when we bring up
asterisk:</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=140293516-20072005>
</SPAN>[app_dynextendb.so] => (Dynamic Extension from MySQL
Application)<BR> <SPAN class=140293516-20072005> </SPAN>==
Parsing '/etc/asterisk/dynextendb.conf': Found<BR> <SPAN
class=140293516-20072005> </SPAN>== Registered application
'DynExtenDB_Free'<BR> <SPAN class=140293516-20072005> </SPAN>==
Registered application 'DynExtenDB'<BR><SPAN
class=140293516-20072005></SPAN><SPAN class=140293516-20072005>
</SPAN>.<SPAN class=140293516-20072005>........................</SPAN><BR><SPAN
class=140293516-20072005> </SPAN>Asterisk Ready.</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=140293516-20072005><FONT face=Arial size=2>But when we try to
use DynExtenDB from extension.conf for 8901 extension, we receive the following
error:</FONT></SPAN></DIV>
<DIV><BR><FONT face=Arial size=2>*CLI> -- Executing
DynExtenDB("SIP/VLopez-13b9", "8901") in new stack<BR>Jul 20 12:35:12
ERROR[9108]: app_dynextendb.c:76 dynamic_extension: No DNID in channel found -
not possible to query extension. Skipping.<BR></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=140293516-20072005>I´ll appreciate if
somebody knows if exist any patch to resolve it..</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=140293516-20072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=140293516-20072005>Best
regards,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=140293516-20072005>Víctor</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=140293516-20072005></SPAN></FONT> </DIV>
<DIV><FONT><SPAN class=140293516-20072005><FONT face=Arial
size=2>/etc/asterisk/extension.conf</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=140293516-20072005><FONT face=Arial
size=2>----------------------------------------</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=140293516-20072005><FONT face=Arial
size=2>[sip]</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=140293516-20072005><FONT face=Arial size=2>exten =>
8901,1,DynExtenDB(${EXTEN})</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=140293516-20072005><FONT face=Arial
size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT><SPAN class=140293516-20072005><FONT size=2>
<DIV><FONT size=+0><SPAN class=140293516-20072005><FONT face=Arial
size=2>/etc/asterisk/dynextendb.conf</FONT></SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=140293516-20072005><FONT face=Arial
size=2>--------------------------------------------</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN
class=140293516-20072005>[global]<BR>hostname=AcantoPBX<BR>dbname=phone<BR>user=astcdr<BR>password=.acanto123<BR>dbname=phone<BR>tblname=extensions<BR></SPAN></FONT></DIV></DIV>
<DIV><SPAN class=140293516-20072005><FONT face=Arial>MYSQL: Table extension
contents</FONT></SPAN></DIV>
<DIV><SPAN class=140293516-20072005><FONT
face=Arial>--------------------------------------------------</FONT></SPAN></DIV>
<DIV><FONT face=Arial>mysql> use phone<BR>Database changed<BR>mysql>
select * from
extensions;<BR>+-----+---------+-------+-----+----------+------------------+<BR>|
eid | context | exten | pri | appl |
data
|<BR>+-----+---------+-------+-----+----------+------------------+<BR>|
1 | sip | 8901 | 1 |
Dial | SIP/VLopez,20,tr |<BR>| 2 |
sip | 8901 | 2 | Playback |
acanto_despedida
|<BR>+-----+---------+-------+-----+----------+------------------+<BR>2 rows in
set (0.00 sec)</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT
face=Arial>mysql><BR></FONT></DIV></FONT></SPAN></FONT></BODY></HTML>