Hi all, I tried to call a sip user through OPENSIPS several times but failed.I analyzed that there was something wrong with Via branch. The SIP messages are as follow:
OPENSIPS -->SIPp INVITE sip:[email protected]:5062 SIP/2.0 Record-Route: <sip:10.11.68.93;lr=on> Via: SIP/2.0/UDP 10.11.68.93;branch=z9hG4bK885f.d77bb1c7.0 Via: SIP/2.0/UDP 10.11.68.93:5064;received=10.11.68.93;rport=5064;branch=z9hG4bKgplqohzs Max-Forwards: 69 To: <sip:[email protected]> From: "vleeboy" <sip:[email protected]>;tag=ehhcd Call-ID: [email protected] CSeq: 500 INVITE Contact: <sip:[email protected]:5064> Content-Type: application/sdp Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE Organization: opensips Supported: replaces,norefersub,100rel User-Agent: Twinkle/1.1 Content-Length: 305 P-hint: (5)what's wrong P-hint: (7)what's wrong v=0 o=vleeboy 171118263 576376527 IN IP4 10.11.68.93 s=- c=IN IP4 10.11.68.93 t=0 0 m=audio 8000 RTP/AVP 98 97 8 0 3 101 a=rtpmap:98 speex/16000 a=rtpmap:97 speex/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 SIPp -->OPENSIPS SIP/2.0 180 Ringing Via: SIP/2.0/UDP 10.11.68.93;branch=z9hG4bK885f.d77bb1c7., SIP/2.0/UDP 10.11.68.93:5064;received=10.11.68.93;rport=5064;branch=z9hG4bKgplqohzs From: "vleeboy" <sip:[email protected]>;tag=ehhcd To: <sip:[email protected]>;tag=1 Call-ID: [email protected] CSeq: 500 INVITE Contact: <sip:127.0.1.1:5062;transport=UDP> Content-Length: 0 SIPp -->OPENSIPS SIP/2.0 200 OK Via: SIP/2.0/UDP 10.11.68.93;branch=z9hG4bK885f.d77bb1c7., SIP/2.0/UDP 10.11.68.93:5064;received=10.11.68.93;rport=5064;branch=z9hG4bKgplqohzs From: "vleeboy" <sip:[email protected]>;tag=ehhcd To: <sip:[email protected]>;tag=1 Call-ID: [email protected] CSeq: 500 INVITE Contact: <sip:127.0.1.1:5062;transport=UDP> Content-Type: application/sdp Content-Length: 129 v=0 o=user1 53655765 2353687637 IN IP4 127.0.1.1 s=- c=IN IP4 127.0.1.1 t=0 0 m=audio 6000 RTP/AVP 0 a=rtpmap:0 PCMU/8000 See that from OPENSIPS the Via header is "Via: SIP/2.0/UDP 10.11.68.93;branch=z9hG4bK885f.d77bb1c7.0".The Via header from SIPp is "Via: SIP/2.0/UDP 10.11.68.93;branch=z9hG4bK885f.d77bb1c7.".Maybe the Via branch from OPENSIPS is too long to parse by SIPp? Can I solve the problem by some configurations? Thanks a lot for your help! ___________________________________________________________ 好玩贺卡等你发,邮箱贺卡全新上线! http://card.mail.cn.yahoo.com/ ------------------------------------------------------------------------------ _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
