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

Reply via email to