[OpenSER-Users] question about force_rtp_proxy()

Papadopoulos Georgios geop at altectelecoms.gr
Fri Sep 21 17:22:15 CEST 2007


Hello all,
 
I have come accross some issue while using nathelper and rtpproxy. The
senario is as follows:
An INVITE is sent to a NATed client and rtpproxy is used.
force_rtp_proxy() rewrites the SDP to something like
c=IN IP4 213.5.43.4.
m=audio 35034 RTP/AVP 18 100 101.

The client replies 486 Busy and the script sends the request to an
Asterisk which is used for voicemail. If force_rtp_proxy() is called a
second time before sending to Asterisk then the result is a SDP with the
following.
c=IN IP4 213.5.43.4213.5.43.4.
m=audio 3503435034 RTP/AVP 18 100 101.

Obviously this can be avoided if I add the proper logic in the script to
avoid the second call to force_rtp_proxy(). However this behaviour looks
like a bug. 
 
As a second question, when the call goes to Asterisk, there is no need
for rtpproxy. So how can someone revert the SDP to its original form?
How do you usually handle this case? 
 
thank you in advance
 
George
 
 

Disclaimer
The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20070921/3cb3a506/attachment.htm 


More information about the Users mailing list