linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-users]from tag in BYE


From: Simon Morlat
Subject: Re: [Linphone-users]from tag in BYE
Date: 24 Jan 2003 21:10:10 +0100

Hi,

I spent one hour to study your report the osipua code, but unfortunately
I was unable to understand why the from tag is wrong.
Furthermore, in osipua/src/  there is a test program "osipua_tester.c"
that works similarly than yours, but it has the correct behaviour.
I used linphone-0.10.0pre5, be sure that you have the same version.
I'm sincerely sorry to be unable to give you an explanation.
Check if there is not a memory corruption somewhere that would make
osipua to behave strangely... Or send me your source code so that I will
have all the data.
Simon


Le ven 24/01/2003 à 02:51, Kedar B. Patil a écrit :
> Hi,
> 
> I receive and incoming invite, when I store the OsipDialog in a global
> variable dialog and then accept the invite as:
> 
> static int
> invite_cb (OsipDialog *cl, transaction_t *trn, sip_t *sipmsg, void*p)
> {
>     dialog = cl;
> 
>     osip_dialog_accept_invite(cl,trn);
>     printf("\n= CONNECTED = \n");
>     return(0);
> }
> 
> ==============================================
> | INFO1 | kpatil/osipuasrc/osipua.c: 63> Starting osip stack and osipua layer.
> 
> | INFO1 | kpatil/osipuasrc/udp.c: 76> Entering osipua thread.
> 
> | INFO1 | kpatil/osipuasrc/udp.c: 162> info: RECEIVING UDP MESSAGE:
> INVITE sip:address@hidden SIP/2.0
> Via: SIP/2.0/UDP 192.168.51.229:5060;branch=z9hG4bK1618272403
> From: <sip:address@hidden>;tag=3327310725
> To: <sip:address@hidden>
> Call-ID: address@hidden
> CSeq: 20 INVITE
> Contact: <sip:address@hidden>
> max-forwards: 10
> user-agent: oSIP/Linphone-0.9.1
> Content-Type: application/sdp
> Content-Length: 361  
> 
> v=0
> o=kpatil 123456 654321 IN IP4 192.168.51.229
> s=A conversation
> c=IN IP4 192.168.51.229
> t=0 0
> m=audio 7078 RTP/AVP 3 115 8 0 110 111 101
> a=rtpmap:3 gsm/8000/1
> a=rtpmap:115 lpc10-1.5/8000/1
> a=rtpmap:8 PCMA/8000/1
> a=rtpmap:0 PCMU/8000/1
> a=rtpmap:110 speex-4/8000/1
> a=rtpmap:111 speex_lbr-4/8000/1
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-11
> 
> 
> | INFO1 | kpatil/osipuasrc/udp.c: 162> info: RECEIVING UDP MESSAGE:
> INVITE sip:address@hidden SIP/2.0
> Via: SIP/2.0/UDP 192.168.51.229:5060;branch=z9hG4bK1618272403
> From: <sip:address@hidden>;tag=3327310725
> To: <sip:address@hidden>
> Call-ID: address@hidden
> CSeq: 20 INVITE
> Contact: <sip:address@hidden>
> max-forwards: 10
> user-agent: oSIP/Linphone-0.9.1
> Content-Type: application/sdp
> Content-Length: 361  
> 
> v=0
> o=kpatil 123456 654321 IN IP4 192.168.51.229
> s=A conversation
> c=IN IP4 192.168.51.229
> t=0 0
> m=audio 7078 RTP/AVP 3 115 8 0 110 111 101
> a=rtpmap:3 gsm/8000/1
> a=rtpmap:115 lpc10-1.5/8000/1
> a=rtpmap:8 PCMA/8000/1
> a=rtpmap:0 PCMU/8000/1
> a=rtpmap:110 speex-4/8000/1
> a=rtpmap:111 speex_lbr-4/8000/1
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-11
> 
> 
> | INFO1 | kpatil/osipuasrc/ist_callbacks.c: 195> OnEvent_New_IncomingInvite!
> 
> | INFO1 | kpatil/osipuasrc/ist_callbacks.c: 46> Sending 100 trying.
> 
> |WARNING| kpatil/osipuasrc/uatransaction.c: 308> ua_transaction_execute: 
> could not get dialog
> transaction.
> 
> | INFO1 | kpatil/osipuasrc/osipua.c: 536> osip_ua_find 1: 105.52.84.162 <> 
> 105.52.84.162 
> 
> | INFO1 | kpatil/osipuasrc/osipdialog.c: 157> 
> <sip:address@hidden>;tag=3327310725 has
> called at 1043360797.
> 
> | INFO1 | kpatil/osipuasrc/ist_callbacks.c: 123> Found body application/sdp.
> 
> | INFO1 | kpatil/osipuasrc/ist_callbacks.c: 134> Creating a new body context.
> 
> | INFO1 | kpatil/osipuasrc/sdpcontext.c: 126> sdp_context_notify_inc_req: 
> negociation returned:
> 200
> 
> | INFO1 | kpatil/osipuasrc/udp.c: 191> Sending message:
> SIP/2.0 100 Trying
> Via: SIP/2.0/UDP 192.168.51.229:5060;branch=z9hG4bK1618272403
> From: <sip:address@hidden>;tag=3327310725
> To: <sip:address@hidden>
> Call-ID: address@hidden
> CSeq: 20 INVITE
> Content-Length: 0
> 
> 
> | INFO1 | kpatil/osipuasrc/udp.c: 191> Sending message:
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP 192.168.51.229:5060;branch=z9hG4bK1618272403
> From: <sip:address@hidden>;tag=3327310725
> To: <sip:address@hidden>;tag=3749000046
> Call-ID: address@hidden
> CSeq: 20 INVITE
> Contact: <sip:address@hidden:5060>
> Content-Type: application/sdp
> Content-Length: 173  
> 
> v=0
> o=kpatil 123456 654321 IN IP4 105.52.84.162
> s=A conversation
> c=IN IP4 105.52.84.162
> t=0 0
> m=audio 12345 RTP/AVP 3 0
> a=rtpmap:3 gsm/8000/1
> a=rtpmap:0 pcmu/8000/1
> 
> | INFO1 | kpatil/osipuasrc/ist_callbacks.c: 32> Transaction 1 killed.
> 
> | INFO1 | kpatil/osipuasrc/udp.c: 162> info: RECEIVING UDP MESSAGE:
> ACK sip:address@hidden:5060 SIP/2.0
> Via: SIP/2.0/UDP 192.168.51.229:5060;branch=z9hG4bK2365504398
> From: <sip:address@hidden>;tag=3327310725
> To: <sip:address@hidden>;tag=3749000046
> Call-ID: address@hidden
> CSeq: 20 ACK
> max-forwards: 10
> user-agent: oSIP/Linphone-0.9.1
> Content-Length: 0
> 
> =======================================================================
> 
> Then I use the same OsipDialog later to send BYE for the same INVITE session:
> 
> osip_dialog_bye(dialog);
> 
> However, from tag in BYE, is not same as To-tag in 200 OK that was
> sent to INVITE. So I get 481 response.
> 
> 
> =======================================================================
> 
> | INFO1 | kpatil/osipuasrc/sipua_test.c: 231> info: Sending BYE.
> 
> | INFO1 | kpatil/osipuasrc/udp.c: 191> Sending message:
> BYE sip:address@hidden SIP/2.0
> Via: SIP/2.0/UDP 105.52.84.162:5060;branch=z9hG4bK2010156492
> From: <sip:address@hidden>;tag=1603487785
> To: <sip:address@hidden>;tag=3327310725
> Call-ID: address@hidden
> CSeq: 0 BYE
> max-forwards: 10
> user-agent: oSIP/Linphone-0.9.1
> Content-Length: 0
> 
> 
> | INFO1 | kpatil/osipuasrc/udp.c: 191> Sending message:
> BYE sip:address@hidden SIP/2.0
> Via: SIP/2.0/UDP 105.52.84.162:5060;branch=z9hG4bK2010156492
> From: <sip:address@hidden>;tag=1603487785
> To: <sip:address@hidden>;tag=3327310725
> Call-ID: address@hidden
> CSeq: 0 BYE
> max-forwards: 10
> user-agent: oSIP/Linphone-0.9.1
> Content-Length: 0
> 
> 
> | INFO1 | kpatil/osipuasrc/udp.c: 162> info: RECEIVING UDP MESSAGE:
> SIP/2.0 481 Call Leg/Transaction Does Not Exist
> Via: SIP/2.0/UDP 105.52.84.162:5060;branch=z9hG4bK2010156492
> From: <sip:address@hidden>;tag=1603487785
> To: <sip:address@hidden>;tag=3327310725
> Call-ID: address@hidden
> CSeq: 0 BYE
> Content-Length: 0
> 
> 
> 
> | INFO1 | kpatil/osipuasrc/nict_callbacks.c: 107> 
> OnEvent_New_Incoming4xxResponse!
> 
> | INFO1 | kpatil/osipuasrc/nict_callbacks.c: 30> Transaction 2 killed.
> 
> | INFO1 | kpatil/osipuasrc/osipdialog.c: 1619> Call leg is removed. It 
> remains 0 call legs in the
> ua list.
> ================================================
> 
> I was wondering if I am missing anything.
> 
> Any help in this appreciated.
> 
> thanks,
> = Kedar =
> 
> 
> 
> ________________________________________________________________________
> Missed your favourite TV serial last night? Try the new, Yahoo! TV.
>        visit http://in.tv.yahoo.com
> 
> 
> _______________________________________________
> Linphone-users mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/linphone-users
-- 
Simon Morlat <address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]