asterisk2billing.org
http://forum.asterisk2billing.org/

Fixed: Asterisk 1.6 dialcommand Time limit control
http://forum.asterisk2billing.org/viewtopic.php?f=16&t=5859
Page 1 of 1

Author:  patrolg [ Mon Jul 13, 2009 8:49 pm ]
Post subject:  Fixed: Asterisk 1.6 dialcommand Time limit control

The original dial command does not call out. "|60|HRgrL(%timeout%:61000:30000)"
In asterisk 1.6, the dial command need to have coma separation as follow
",60,HRgrL(%timeout%:61000:30000)"
Even this string does not call out
The culprit is the time control which doesn't function (L tag)
In the CLI shows that the calls is place.. but the other end never rings.. so it doesn't really call out. The app.dial.c never picks up the time limit neither.

IN part of the fix, this message did help out
http://www.mail-archive.com/asterisk-us ... 10209.html

The fix
In your a2billing.conf
Keep in your AGI Config this following line ( even if you did the fix rev 1465 by areski)
asterisk_version=1_4

Now under your AGI Config
dialcommand_param = "||HRgrL(%timeout%:61000:30000)"

And then you should have a working Time control on the call.

Sincerely Pat
PS: I know alot of people will love this fix.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/