[asterisk-users] SIP 183 progessl
Danny Nicholas
danny at debsinc.com
Thu Apr 2 12:46:42 CDT 2009
Thanks for not being too critical and for providing a good clarification.
I've been doing Asterisk for about 7 months now and realize that my answer
might or might not be correct.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jared Smith
Sent: Thursday, April 02, 2009 11:41 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] SIP 183 progessl
On Thu, 2009-04-02 at 10:40 -0500, Danny Nicholas wrote:
> Sipaddheader(180 Ringing) might do the trick.
Danny, I appreciate your enthusiasm for helping people on the mailing
list, but unfortunately this is not the correct method of doing what the
original poster is asking about. It's not enough to add a custom SIP
header... what he really wants is a SIP response, not a SIP header.
Let me see if I can shed a bit more light on the original question.
To send a SIP 183 message (with early media), you can use the Playback
applications with the "noanswer" option. Here's a quick example:
exten => 123,1,Playback(pls-hold-while-try,noanswer)
exten => 123,n,Dial(SIP/sip_peer,20)
If you were to dial this extension from a SIP device, you'd see that
you'd first get a 183 with early media, and then you'd later get the 200
OK (assuming that SIP/sip_peer answered the call).
--
Jared Smith
Training Manager
Digium, Inc.
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list