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 { -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users