[Users] Random error with NAT (error in 'c field')

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Apr 28 08:45:53 CEST 2006


Hi Bruno,

the cause ma lay in some communication problem between openser and 
mediaproxy - openser cannot retrieve the IP.
again, do you get any error messages in your logs?

regards,
bogdan

Bruno Machado wrote:

> Hi Bogdan
>
> The first SIP message is from call that WORKS perfectly: the "c 
> header" has a valid IP that handle the media. Below it, we have the 
> message with wrong "c header": there is an invalid IP. This way, the 
> media isnt sent to the media proxy.
>
> I did this dumps in the SIP PROXY. The only way to correct the 
> situation is rebooting the openser. By the way: I dont change anything 
> in the script to make it works.
>
> Best regards
>
> Bruno Machado
>
>
> U IP_My_Proxy:5060 -> 200.171.160.13:5060
> INVITE sip:11000606 at 200.171.160.13:5060 SIP/2.0
> Record-Route: <sip:IP_My_Proxy;ftag=ad50ff6e6fb26e6e;lr=on>
> Via: SIP/2.0/UDP IP_My_Proxy;branch=z9hG4bKa079.9071d6a5.0
> Via: SIP/2.0/UDP 
> 192.168.88.101;rport=57157;received=200.216.162.18;branch=z9hG4bK9771e2044f41cee3
> From: "Alexandre BT100" <sip:24005110 at myproxy>;tag=ad50ff6e6fb26e6e
> To: <sip:11000606 at myproxy>
> Contact:<sip:24005110 at 200.216.162.18:57157>
> Supported: replaces
> Proxy-Authorization: Digest username="24005110", realm="myproxy",
> algorithm=MD5, uri="sip:11000606 at myproxy",
> nonce="44510d68180175d68510d001330893f695eadd50", 
> response="ed83c6657bc59f00635361215d1b8b93"..Call-ID:
> db5d8eb678f6c018 at 192.168.88.101
> CSeq: 55645 INVITE
> User-Agent: Grandstream BT110 1.0.8.16
> Max-Forwards: 70
> Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE
> Content-Type: application/sdp
> Content-Length: 429
> P-hint: usrloc applied
> P-hint: nat-p2p
>
> v=0
> o=24005110 8000 8001 IN IP4 192.168.88.101
> s=SIP Call
> c=IN IP4 myproxy
> t=0 0
> m=audio 64344 RTP/AVP 18 4 0 8 2 99 9
> 101
> a=sendrecv
> a=rtpmap:18 G729/8000
> a=rtpmap:4 G723/8000
> a=rtpmap:0 PCMU/8000
> a=rtpmap:8 PCMA/8000
> a=rtpmap:2 G726-32/8000
> a=rtpmap:99 iLBC/8000
> a=fmtp:99 mode=20
> a=rtpmap:9 G722/16000
> a=ptime:20
> a=rtpmap:101
> telephone-event/8000
> a=fmtp:1010-11
> a=direction:active
> a=nortpproxy:yes
>
>
>
> U IP_My_Proxy:5060 -> 200.171.160.13:5060
> INVITE sip:11000606 at 200.171.160.13:5060 SIP/2.0
> Record-Route: <sip:IP_My_Proxy;ftag=da3a34829a170ace;lr=on>
> Via: SIP/2.0/UDP IP_My_Proxy;branch=z9hG4bKd6cc.be1fc1f4.0
> Via: SIP/2.0/UDP 
> 192.168.88.101;rport=57157;received=200.216.162.18;branch=z9hG4bK019a1f171ca1bf14
> From: "Alexandre BT100" <sip:24005110 at myproxy>;tag=da3a34829a170ace
> To: <sip:11000606 at myproxy>
> Contact: <sip:24005110 at 200.216.162.18:57157>
> Supported: replaces
> Proxy-Authorization: Digest username="24005110", realm="myproxy",
> algorithm=MD5, uri="sip:11000606 at myproxy",
> nonce="44510c217bc74fe6e203d22c12c3863536776e75", 
> response="c403be69f25add894daeccd2a29bf0e4"
> Call-ID: 57efde4d3bb5a88f at 192.168.88.101
> CSeq: 5727 INVITE
> User-Agent: Grandstream
> BT110 1.0.8.16
> Max-Forwards: 70
> Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE
> Content-Type: application/sdp
> Content-Length: 410
> P-hint: usrloc applied
> P-hint: nat-p2p
>
> v=0
> o=24005110 8000 8001 IN IP4 192.168.88.101
> s=SIP Call
> c=IN IP4 192.168.88.101
> t=0 0
> m=audio 5004 RTP/AVP 18 4 0 8 2 99 9 101
> a=sendrecv
> a=rtpmap:18 G729/8000
> a=rtpmap:4 G723/8000
> a=rtpmap:0 PCMU/8000
> a=rtpmap:8 PCMA/8000
> a=rtpmap:2 G726-32/8000
> a=rtpmap:99 iLBC/8000
> a=fmtp:99 mode=20
> a=rtpmap:9 G722/16000
> a=ptime:20
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-11
> a=direction:active
>
> ------------------------------------------------------------------------
> Abra sua conta no Yahoo! Mail 
> <http://us.rd.yahoo.com/mail/br/tagline/mail/*http://br.info.mail.yahoo.com/> 
> - 1GB de espaço, alertas de e-mail no celular e anti-spam realmente 
> eficaz.
>
> ------------------------------------------------------------------------
> Abra sua conta no Yahoo! Mail 
> <http://us.rd.yahoo.com/mail/br/tagline/mail/*http://br.info.mail.yahoo.com/> 
> - 1GB de espaço, alertas de e-mail no celular e anti-spam realmente 
> eficaz.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>  
>





More information about the Users mailing list