[SR-Users] Add SDP Body

Nicolas Breuer Nicolas.Breuer at belcenter.biz
Thu Jul 27 14:44:17 CEST 2017

Hello Daniel,

I can now modify the SDP but streaming the ringback tone seems not to work.
Where can I put the prompt ? I didn't find the prompt directory of the rtpproxy on my server.

I also tried the "old" fashion.
Content-Length: 182.
Content-Type: application/sdp.
Content-Type: Content-Type: application/sdp.
Server: Belcenter SIP Voice Gateway.
o=XX 0 0 IN IP4
c=IN IP4
t=0 0.
m=audio 0 RTP/AVP 8 101.
a=rtpmap:8 PCMA/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.

No ring back tone for the callee

If you have any ideas,

De : Daniel-Constantin Mierla [mailto:miconda at gmail.com]
Envoyé : jeudi 27 juillet 2017 11:41
À : Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>; Nicolas Breuer <Nicolas.Breuer at belcenter.biz>
Objet : Re: [SR-Users] Add SDP Body


On 27.07.17 09:57, Nicolas Breuer wrote:

I'm trying to add a SDP Body on 183 replies.

>From some carriers I don't get any SDP.
The goal is to add SDP , Engage PROXY & stream2uac on all 183 packets without SDP

Do you think it's possible ? :)

it may be possible, if you try to combine adding content-type header and the sdp body, then use msg_apply_changes() inside reply_route{}. Later engage the rtpproxy. However, if you don't know the codecs of caller/callee, it may end in a mismatch.

Just dropping such 183 is not ok? If not, what about turning 183 in an 180? Or setting an SDP with media IP (old on hold style)?



Daniel-Constantin Mierla

www.twitter.com/miconda<http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>

Kamailio Advanced Training - www.asipto.com<http://www.asipto.com>

Kamailio World Conference - www.kamailioworld.com<http://www.kamailioworld.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170727/b883366c/attachment.html>

More information about the sr-users mailing list