Re: [asterisk-users] Early media and IAX2

2010-09-04 Thread Russ Dill
On Tue, Aug 31, 2010 at 8:11 PM, Matt Riddell li...@venturevoip.com wrote:
 On 28/08/10 10:18 AM, Russ Dill wrote:
 My IAX2 trunk provider, Teliax, seems to be forcing early media. Early
 media is cool and all, but my Asterisk install doesn't seem to be
 fully supporting it. My initial setting was using Dial() to call all
 of my dahdi (TDM400P) extensions. The results were that incoming calls
 would not hear any ringing tones and the call would be ended by Teliax
 after 21 seconds.

 You could just answer the call before dialling your internal extensions.

It was problem on Teliax's end. They were very responsive and took
care of the issue quickly. I'm still confused as to why I couldn't get
Asterisk to send ringing as early media.

-- 
_
-- 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


[asterisk-users] Early media and IAX2

2010-08-27 Thread Russ Dill
My IAX2 trunk provider, Teliax, seems to be forcing early media. Early
media is cool and all, but my Asterisk install doesn't seem to be
fully supporting it. My initial setting was using Dial() to call all
of my dahdi (TDM400P) extensions. The results were that incoming calls
would not hear any ringing tones and the call would be ended by Teliax
after 21 seconds.

Looking at the packet dumps, my asterisk box is sending an ACCEPT and
a RINGING packet to Teliax. I tried:

Progress();
Dial(exten);

Progress();
Ringing();
Dial(exten);

Ringing();
Dial(exten);

Dial(exten,,r);

Progress();
Dial(exten,,r);

All with the same result. After some experimenting, I found that:

Playback(tt-weasels,noanswer);

Would playback tt-weasels to the caller in early media. Furthermore:

Dial(exten,,m);

Plays back moh to the caller and also allows the ringing portion of
the call to pass the 21 second mark. If I had a ringing moh mp3, it
would be everything I wanted. However, it seems like the wrong
solution. Not only should Dial(exten,,r); work, but it seems like
Dial(exten); should know to send the ringing tones.

My asterisk version is 1:1.6.2.9-1 on debian/sid.

-- 
_
-- 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