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.

Allow: INVITE,ACK,CANCEL,BYE,REGISTER,REFER,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDATE,OPTIONS,MESSAGE,PUBLISH.

Content-Length: 182.

Content-Type: application/sdp.

Content-Type: Content-Type: application/sdp.

Server: Belcenter SIP Voice Gateway.

.

v=0.

o=XX 0 0 IN IP4 0.0.0.0.

s=XX.

c=IN IP4 0.0.0.0.

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.

a=sendrecv.

a=ptime:20

 

No ring back tone for the callee

 

If you have any ideas,

 

 

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

 

Hello,

 

On 27.07.17 09:57, Nicolas Breuer wrote:

Hello,

 

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 ? J

 

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 0.0.0.0 (old on hold style)?

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com