<!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.1170" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi everybody,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Firstly I'm going to describe the scenario where
I'm working. I use a E400P with Asterisk CVS-05/22/03-11:14:50, and I'm
working with asterisk trow AGI scripts (Perl).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The configuration of extension.conf
is:</FONT></DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV>
<DIV><FONT face=Arial size=2> exten
=>_s,1,Answer</FONT></DIV>
<DIV><FONT face=Arial size=2> exten
=>_s,2,AGI,script.agi</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Inside the AGI script is call Dial application as
follows:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> print "EXEC Dial
Zap/g2/number|m\n";<BR> $resultado_llamada =
checkresult();</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>And the configuration of musiconhold.conf is
(inside the directory of default classes there is a song):</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> ;<BR> ; Music
on hold class definitions<BR> ;<BR>
;[classes]<BR> default => default =>
mp3:/home/asterisk/directory1/directory2/mp3</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The problem is, that when I try to call with Dial
using 'm' option asterisk don't call to the number.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here there are the debug message from
asterisk:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jun 25 11:08:41 DEBUG[24595]: File cdr_mysql.c,
Line 58 (mysql_log): cdr_mysql: inserting a CDR record.<BR>Jun 25 11:08:41
DEBUG[24595]: File cdr_mysql.c, Line 61 (mysql_log): cdr_mysql: SQL command as
follows: INSERT INTO cdr
(calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode)
VALUES ('2003-06-25 11:08:41','numbera','numbera',numberb','default',
'Zap/2-1','','Dial','Zap/g2/number|m',25,25,4,3,'')<BR>Jun 25 11:08:41
DEBUG[24595]: File chan_zap.c, Line 1936 (zt_setoption): Set option AUDIO MODE,
value: ON(1) on Zap/2-1<BR>Jun 25 11:08:41 DEBUG[24595]: File chan_zap.c, Line
1493 (zt_hangup): Hangup: channel: 2 index = 0, normal = 13, callwait = -1,
thirdcall = -1<BR>Jun 25 11:08:41 DEBUG[24595]: File chan_zap.c, Line 1846
(zt_setoption): Set option TDD MODE, value: OFF(0) on Zap/2-1<BR>Jun 25 11:08:41
DEBUG[24595]: File chan_zap.c, Line 908 (update_conf): Updated conferencing on
2, with 0 conference users<BR>Jun 25 11:08:41 DEBUG[24595]: File chan_zap.c,
Line 1930 (zt_setoption): Set option AUDIO MODE, value: OFF(0) on
Zap/2-1<BR></DIV></FONT><FONT face=Arial size=2>
<DIV>Can somebody help me???</DIV>
<DIV> </DIV>
<DIV>Thks a lot.<BR></DIV></FONT></BODY></HTML>