[asterisk-users] IXJ Quicknet PhoneJack issues

Infra msg at waste.org
Tue Aug 17 13:49:44 CDT 2010


On 17 Aug 2010 at 10:29, Tilghman Lesher wrote:

> On Friday 13 August 2010 15:13:53 Infra wrote:
> >     -- dialplan works, ext. 1265 rings, has two-way audio, call
progress
> >     tones heard, sends dtmf, can dial out, but has no dialtone.
>
> Look for a line in chan_phone.c that looks like:
> 	wait = ast_tv(30000, 0);
> Change that line to:
> 	wait = ast_tv(0, 30000);
>

Thanks so much, dialtone is now present:

--- chan_phone.c.0      Mon Aug 10 14:12:35 2009
+++ chan_phone.c        Tue Aug 17 11:41:06 2010
@@ -1029,7 +1029,7 @@
                        if (tonepos >= sizeof(DialTone))
                                        tonepos = 0;
                        if (ast_tvzero(tv)) {
-                               tv = ast_tv(30000, 0);
+                               tv = ast_tv(0, 30000);
                        }
                        res = ast_select(n + 1, &rfds, NULL, &efds,
&tv);
                } else {




More information about the asterisk-users mailing list