Hi Bill,

you should you call force_rtp_proxy() for a REGISTER?

regards,
bogdan

Bill Zhang wrote:

The issue is, this is a SIP Registration message, it certainly does NOT
contain SDP, in fact there are other SIP messages that does NOT contain SDP
message but still need nathelper to recognize it behind a NAT so that
OPENSER can send response back to the client correctly.

In summary, nathelper should be able to base on the SIP message to handle it
correctly.

Best Regards,
Bill Zhang
-----Original Message-----
From: Marc Haisenko [mailto:[EMAIL PROTECTED] Sent: Thursday, August 03, 2006 12:09 AM
To: [email protected]
Cc: Bill Zhang
Subject: Re: [Users] Can not register to OPENSER

On Thursday 03 August 2006 00:46, Bill Zhang wrote:
Anyone knows why I keep getting following error message?



Aug  2 13:10:26 localhost openser[30695]: ERROR: extract_body: message
body
has length zero

Aug  2 13:10:26 localhost openser[30695]: ERROR: force_rtp_proxy2: can't
extract body from the message

The message says it, and your SIP message proves it: the SIP message has no body.

nathelper operates on the SDP body, it mangles them (together with rtpproxy)

so that the SDP body sent to the receiver contains the address of your machine running OpenSER instead of the real phone. This is so that the machine can act as RTP proxy on network edges.

Since your SIP message has no SDP body there is nothing nathelper can do :-)
C'ya,
        Marc




_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to