[OpenSIPS-Users] add sdp on 180 Ringing and play file as ringback tone

Daniel Goepp dan at goepp.net
Wed Feb 13 01:00:55 CET 2013


I know there is a perl script that does the opposite, take a 183, and
convert to a 180:

http://www.opensips.org/Resources/DocsTutPerl183to180

Perhaps you could do something like this to take a 180, and convert to a
183 w/SDP?  The link I sent was really just conversational, not intended to
be an example of how to do it, just some info on the difference, and why
it's not recommended to do a 180 w/SDP, as that removes local custom
ringtones.  I do think that what you want to do is a 183 with early media,
not just append an SDP to a 180.

Good luck though:)



-dg


On Tue, Feb 12, 2013 at 3:28 PM, Dani Popa <dani.popa at gmail.com> wrote:

> I just want to play media on replay route in case of 18[013] reply, so i'm
> sure the user was alerted if i got one of them, i'm pretty sure is not the
> case from the link below and also inserted media is not a fake ringback.
> Thanks anyway!
>
> Dani Popa
>
> On Feb 13, 2013, at 0:56, Daniel Goepp <dan at goepp.net> wrote:
>
> Although I do not believe it is technically a violation of the RFC, it is
> not recommended best practice, and would be a rare implementation.  The
> most common way to support ringback (early media) is with a 183 w/SDP
> session progress.
>
> For a little more information:
>
> http://wiki.freeswitch.org/wiki/180_vs._183_vs._Early_Media
>
> Of course some googling will give you tons more opinions about ring back
> and early media.
>
>
>
> -dg
>
>
> On Tue, Feb 12, 2013 at 10:04 AM, Dani Popa <dani.popa at gmail.com> wrote:
>
>> Hi,
>>
>> I wondering if it posiible to add sdp on 180 ringing in order to play
>> some ringing tone. The ideea si that i want to play from rtpproxy with
>> rtpproxy_stream2uac/rtpproxy_stream2uas some music as ringback tone to
>> calling party if it's online.
>>
>> --
>> Dani Popa
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130212/b6ab48c3/attachment-0001.htm>


More information about the Users mailing list