Helo all. I have ran openser and rtpproxy for over a year now and it works really well. Now we have installed a dect system that are getting me really confused. The calls connects and the audio are really fine. When you change base on the dect system, the dect system sends a re- invite via openser that we proxy and on to our broadworks switchboard. It all works really fine until we get a re-invite from the same baseip that the dect device are connected on. the only thing that are changed in the re-invite are the port.
Here are the first invite: INVITE sip:28...@customer.com SIP/2.0 Via: SIP/2.0/UDP 172.22.133.62;branch=z9hG4bK6906orkakq2u2ou Max-Forwards: 70 From: "userid" <sip:use...@customer.com>;tag=kpgp6s6skgjr To: <sip:28...@customer.com> Call-ID: lsvcr9n0jez.bz6t5d8x...@customer.com CSeq: 22117 INVITE Contact: <sip:use...@172.22.133.62:5060> Allow: INVITE, CANCEL, BYE, ACK, REGISTER, OPTIONS, REFER, SUBSCRIBE, NOTIFY, MESSAGE, INFO Content-Disposition: session Supported: 100rel User-Agent: ipdect-ua/v0215 Content-Type: application/sdp Content-Length: 166 v=0 o=userid 1325855993 1325855993 IN IP4 193.235.154.210 s=- c=IN IP4 193.235.154.210 t=0 0 m=audio 5154 RTP/AVP 8 a=rtpmap:8 PCMA/8000/1 a=ptime:20 the audio are now sent to 193.235.154.210 on port 5154. everything is working fine. re-invite: INVITE sip:80.72.7.184:5060 SIP/2.0 Via: SIP/2.0/UDP 172.22.133.62;branch=z9hG4bKc79btnsgwqf.4fin2z7x2p Max-Forwards: 70 From: "userid" <sip:use...@customer.com>;tag=kpgp6s6skgjr To: <sip:28...@customer.com>;tag=1201581141-1248716281294 Call-ID: lsvcr9n0jez.bz6t5d8x...@customer.com CSeq: 22118 INVITE Contact: <sip:use...@172.22.133.62:5060> Allow: INVITE, CANCEL, BYE, ACK, REGISTER, OPTIONS, REFER, SUBSCRIBE, NOTIFY, MESSAGE, INFO Content-Disposition: session Route: <sip:172.22.133.21;lr=on;ftag=kpgp6s6skgjr>,<sip:80.72.7.200;lr=on;ftag=kpgp6s6skgjr > User-Agent: ipdect-ua/v0215 Content-Type: application/sdp Content-Length: 166 v=0 o=userid 1325855993 1325855994 IN IP4 193.235.154.210 s=- c=IN IP4 193.235.154.210 t=0 0 m=audio 5054 RTP/AVP 8 a=rtpmap:8 PCMA/8000/1 a=ptime:20 the audio should be sent to port 5054 but rtpproxy still sends it to port 5154. the only thing that are changed in the sdp information are version number and port number. here are whats configurated in openser regarding re-invites: if(is_method("INVITE")){ if(has_body("application/ sdp")){ xlog("Forcing rtp proxy on request"); force_rtp_proxy("acr"); resetflag(20); }else{ xlog("Forcing rtp proxy on 200 - ACK"); setflag(20); } } have i missed out something regarding the force_rtp_proxy? br Jörgen _______________________________________________ Users mailing list Users@rtpproxy.org http://lists.rtpproxy.org/mailman/listinfo/users