No.. but thanks for the reply Michael...i double-check that.. i set up /TPORT_LOG=1 / and i have more information now.. it seems i send some options.. and i dont know why.. if someone could help i'll appreciate it.. =P
m...@maquina:~/progs/ims_connect/ims_c$ ./ims_connect nta: bind(*:5060;transport=*): Address already in use : REGISTER sip:b...@open-ims.test - registering address to network send 501 bytes to udp/[127.0.0.1]:4060 at 15:01:03.229383: ------------------------------------------------------------------------ REGISTER sip:open-ims.test SIP/2.0 Via: SIP/2.0/UDP 192.168.0.104:39202;rport;branch=z9hG4bKBK7eyv82mtZ9p Max-Forwards: 70 From: <sip:b...@open-ims.test>;tag=BK7jFHFXvc3vB To: <sip:b...@open-ims.test> Call-ID: 5b924a9c-d072-122c-1b86-001dba24c9ef CSeq: 116204695 REGISTER Contact: <sip:192.168.0.104:39202>;expires=180 User-Agent: sofia-sip/1.12.10 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE Supported: timer, 100rel, path Content-Length: 0 ------------------------------------------------------------------------ recv 910 bytes from udp/[127.0.0.1]:4060 at 15:01:03.304870: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized - Challenging the UE Via: SIP/2.0/UDP 192.168.0.104:39202;rport=39202;branch=z9hG4bKBK7eyv82mtZ9p From: <sip:b...@open-ims.test>;tag=BK7jFHFXvc3vB To: <sip:b...@open-ims.test>;tag=d7837ce6bbd631122d10546eb75bb4cf-d45b Call-ID: 5b924a9c-d072-122c-1b86-001dba24c9ef CSeq: 116204695 REGISTER Path: <sip:t...@pcscf.open-ims.test:4060;lr> Service-Route: <sip:o...@scscf.open-ims.test:6060;lr> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (i386/linux)) Content-Length: 0 Warning: 392 127.0.0.1:6060 "Noisy feedback tells: pid=8082 req_src_ip=127.0.0.1 req_src_port=5060 in_uri=sip:scscf.open-ims.test:6060 out_uri=sip:scscf.open-ims.test:6060 via_cnt==3" WWW-Authenticate: Digest realm="open-ims.test", nonce="1b0430e2f853648bb025e224f37da7fb", algorithm=MD5, qop="auth,auth-int" ------------------------------------------------------------------------ : REGISTER: 401 Unauthorized - Challenging the UE Authentication needed.. AUTHENTICATION! : AUTH - authenticating 'b...@open-ims.test' with 'Digest:"open-ims.test":b...@open-ims.test:bob'. send 763 bytes to udp/[127.0.0.1]:4060 at 15:01:03.311381: ------------------------------------------------------------------------ REGISTER sip:open-ims.test SIP/2.0 Via: SIP/2.0/UDP 192.168.0.104:39202;rport;branch=z9hG4bKcv07ZQS6H3Nvj Max-Forwards: 70 From: <sip:b...@open-ims.test>;tag=BK7jFHFXvc3vB To: <sip:b...@open-ims.test> Call-ID: 5b924a9c-d072-122c-1b86-001dba24c9ef CSeq: 116204696 REGISTER Contact: <sip:192.168.0.104:39202>;expires=180 User-Agent: sofia-sip/1.12.10 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE Supported: timer, 100rel, path Authorization: Digest username="b...@open-ims.test", realm="open-ims.test", nonce="1b0430e2f853648bb025e224f37da7fb", cnonce="W53uU9ByEiyGGwAduiTJ7w", algorithm=MD5, uri="sip:open-ims.test", response="a30ca41b3b9847dcb414b8633b750cc4", qop=auth-int, nc=00000001 Content-Length: 0 ------------------------------------------------------------------------ recv 979 bytes from udp/[127.0.0.1]:4060 at 15:01:03.454279: ------------------------------------------------------------------------ SIP/2.0 200 OK - SAR succesful and registrar saved Via: SIP/2.0/UDP 192.168.0.104:39202;rport=39202;branch=z9hG4bKcv07ZQS6H3Nvj From: <sip:b...@open-ims.test>;tag=BK7jFHFXvc3vB To: <sip:b...@open-ims.test>;tag=d7837ce6bbd631122d10546eb75bb4cf-03cd Call-ID: 5b924a9c-d072-122c-1b86-001dba24c9ef CSeq: 116204696 REGISTER P-Associated-URI: <sip:b...@open-ims.test> Contact: <sip:192.168.0.104:44161>;expires=95 Contact: <sip:192.168.0.104:39202>;expires=180 Path: <sip:t...@pcscf.open-ims.test:4060;lr> Service-Route: <sip:o...@scscf.open-ims.test:6060;lr> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO P-Charging-Function-Addresses: ccf=pri_ccf_address Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (i386/linux)) Content-Length: 0 Warning: 392 127.0.0.1:6060 "Noisy feedback tells: pid=8084 req_src_ip=127.0.0.1 req_src_port=5060 in_uri=sip:scscf.open-ims.test:6060 out_uri=sip:scscf.open-ims.test:6060 via_cnt==3" ------------------------------------------------------------------------ send 304 bytes to udp/[127.0.0.1]:4060 at 15:01:03.454684: ------------------------------------------------------------------------ OPTIONS sip:b...@open-ims.test SIP/2.0 v:SIP/2.0/UDP 192.168.0.104:39202;rport;branch=z9hG4bKD5S01jaaFccFe f:<sip:b...@open-ims.test>;tag=BK7jFHFXvc3vB t:<sip:b...@open-ims.test> i:08iIw60aO7N2sT1tua36BK CSeq:116204695 OPTIONS Accept:application/vnd.nokia-register-usage s:REGISTRATION PROBE l:0 ------------------------------------------------------------------------ recv 569 bytes from udp/[127.0.0.1]:4060 at 15:01:03.454963: ------------------------------------------------------------------------ SIP/2.0 400 Bad Request - Not following indicated service routes v:SIP/2.0/UDP 192.168.0.104:39202;rport=39202;branch=z9hG4bKD5S01jaaFccFe f:<sip:b...@open-ims.test>;tag=BK7jFHFXvc3vB t:<sip:b...@open-ims.test>;tag=8456b23699f06fdb908a4dfde0051a59.d077 i:08iIw60aO7N2sT1tua36BK CSeq:116204695 OPTIONS Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (i386/linux)) Content-Length: 0 Warning: 392 127.0.0.1:4060 "Noisy feedback tells: pid=8056 req_src_ip=192.168.0.104 req_src_port=39202 in_uri=sip:b...@open-ims.test out_uri=sip:b...@open-ims.test via_cnt==1" ------------------------------------------------------------------------ outbound(0x8d03d18): FAILED to validate <sip:192.168.0.104:39202> outbound(0x8d03d18): FAILED with 400 Bad Request - Not following indicated service routes : REGISTER: 200 OK - SAR succesful and registrar saved Succesfully registered sip:b...@open-ims.test to network unknown event 8: 400 Bad Request - Not following indicated service routes Segmentation fault m...@maquina:~/progs/ims_connect/ims_c$ make gcc `pkg-config sofia-sip-ua --cflags --libs` \ -g -O0 -o ims_connect ims_connect.c ims_connect.c: In function ‘main’: ims_connect.c:133: warning: passing argument 2 of ‘nua_create’ from incompatible pointer type m...@maquina:~/progs/ims_connect/ims_c$ ./ims_connect nta: bind(*:5060;transport=*): Address already in use : REGISTER sip:b...@open-ims.test - registering address to network send 504 bytes to udp/[127.0.0.1]:4060 at 15:05:48.462719: ------------------------------------------------------------------------ REGISTER sip:open-ims.test SIP/2.0 Via: SIP/2.0/UDP 192.168.0.104:32962;rport;branch=z9hG4bKD24aBv14ZQF8m Max-Forwards: 70 From: <sip:b...@open-ims.test>;tag=Dmy036pmQ8ZQN To: <sip:b...@open-ims.test> Call-ID: 059571c0-d073-122c-c696-001dba24c9ef CSeq: 116204838 REGISTER Contact: <sip:192.168.0.104:32962> Expires: 3600 User-Agent: sofia-sip/1.12.10 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE Supported: timer, 100rel, path Content-Length: 0 ------------------------------------------------------------------------ recv 910 bytes from udp/[127.0.0.1]:4060 at 15:05:48.586854: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized - Challenging the UE Via: SIP/2.0/UDP 192.168.0.104:32962;rport=32962;branch=z9hG4bKD24aBv14ZQF8m From: <sip:b...@open-ims.test>;tag=Dmy036pmQ8ZQN To: <sip:b...@open-ims.test>;tag=d7837ce6bbd631122d10546eb75bb4cf-7c09 Call-ID: 059571c0-d073-122c-c696-001dba24c9ef CSeq: 116204838 REGISTER Path: <sip:t...@pcscf.open-ims.test:4060;lr> Service-Route: <sip:o...@scscf.open-ims.test:6060;lr> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (i386/linux)) Content-Length: 0 Warning: 392 127.0.0.1:6060 "Noisy feedback tells: pid=8084 req_src_ip=127.0.0.1 req_src_port=5060 in_uri=sip:scscf.open-ims.test:6060 out_uri=sip:scscf.open-ims.test:6060 via_cnt==3" WWW-Authenticate: Digest realm="open-ims.test", nonce="2589dbd12cae233d2ef84b0bfb6f983c", algorithm=MD5, qop="auth,auth-int" ------------------------------------------------------------------------ : REGISTER: 401 Unauthorized - Challenging the UE Authentication needed.. AUTHENTICATION! : AUTH - authenticating 'b...@open-ims.test' with 'Digest:"open-ims.test":b...@open-ims.test:bob'. send 766 bytes to udp/[127.0.0.1]:4060 at 15:05:48.587373: ------------------------------------------------------------------------ REGISTER sip:open-ims.test SIP/2.0 Via: SIP/2.0/UDP 192.168.0.104:32962;rport;branch=z9hG4bKeBy3cQj8v05tg Max-Forwards: 70 From: <sip:b...@open-ims.test>;tag=Dmy036pmQ8ZQN To: <sip:b...@open-ims.test> Call-ID: 059571c0-d073-122c-c696-001dba24c9ef CSeq: 116204839 REGISTER Contact: <sip:192.168.0.104:32962> Expires: 3600 User-Agent: sofia-sip/1.12.10 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE Supported: timer, 100rel, path Authorization: Digest username="b...@open-ims.test", realm="open-ims.test", nonce="2589dbd12cae233d2ef84b0bfb6f983c", cnonce="BaiDNNBzEiyWxgAduiTJ7w", algorithm=MD5, uri="sip:open-ims.test", response="7729827777fe7e12f5f489fa4bd23fb0", qop=auth-int, nc=00000001 Content-Length: 0 ------------------------------------------------------------------------ recv 933 bytes from udp/[127.0.0.1]:4060 at 15:05:48.682516: ------------------------------------------------------------------------ SIP/2.0 200 OK - SAR succesful and registrar saved Via: SIP/2.0/UDP 192.168.0.104:32962;rport=32962;branch=z9hG4bKeBy3cQj8v05tg From: <sip:b...@open-ims.test>;tag=Dmy036pmQ8ZQN To: <sip:b...@open-ims.test>;tag=d7837ce6bbd631122d10546eb75bb4cf-824d Call-ID: 059571c0-d073-122c-c696-001dba24c9ef CSeq: 116204839 REGISTER P-Associated-URI: <sip:b...@open-ims.test> Contact: <sip:192.168.0.104:32962>;expires=3600 Path: <sip:t...@pcscf.open-ims.test:4060;lr> Service-Route: <sip:o...@scscf.open-ims.test:6060;lr> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO P-Charging-Function-Addresses: ccf=pri_ccf_address Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (i386/linux)) Content-Length: 0 Warning: 392 127.0.0.1:6060 "Noisy feedback tells: pid=8082 req_src_ip=127.0.0.1 req_src_port=5060 in_uri=sip:scscf.open-ims.test:6060 out_uri=sip:scscf.open-ims.test:6060 via_cnt==3" ------------------------------------------------------------------------ send 304 bytes to udp/[127.0.0.1]:4060 at 15:05:48.682839: ------------------------------------------------------------------------ OPTIONS sip:b...@open-ims.test SIP/2.0 v:SIP/2.0/UDP 192.168.0.104:32962;rport;branch=z9hG4bKFmQvej3Bt9UDc f:<sip:b...@open-ims.test>;tag=Dmy036pmQ8ZQN t:<sip:b...@open-ims.test> i:KdKkCa0Xw8KKNk3G62y9t0 CSeq:116204838 OPTIONS Accept:application/vnd.nokia-register-usage s:REGISTRATION PROBE l:0 ------------------------------------------------------------------------ : REGISTER: 200 OK - SAR succesful and registrar saved Succesfully registered sip:b...@open-ims.test to network recv 569 bytes from udp/[127.0.0.1]:4060 at 15:05:48.683093: ------------------------------------------------------------------------ SIP/2.0 400 Bad Request - Not following indicated service routes v:SIP/2.0/UDP 192.168.0.104:32962;rport=32962;branch=z9hG4bKFmQvej3Bt9UDc f:<sip:b...@open-ims.test>;tag=Dmy036pmQ8ZQN t:<sip:b...@open-ims.test>;tag=8456b23699f06fdb908a4dfde0051a59.6953 i:KdKkCa0Xw8KKNk3G62y9t0 CSeq:116204838 OPTIONS Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (i386/linux)) Content-Length: 0 Warning: 392 127.0.0.1:4060 "Noisy feedback tells: pid=8054 req_src_ip=192.168.0.104 req_src_port=32962 in_uri=sip:b...@open-ims.test out_uri=sip:b...@open-ims.test via_cnt==1" ------------------------------------------------------------------------ outbound(0x877ed18): FAILED to validate <sip:192.168.0.104:32962> outbound(0x877ed18): FAILED with 400 Bad Request - Not following indicated service routes unknown event 8: 400 Bad Request - Not following indicated service routes Segmentation fault Michael Jerris wrote: > Maybe no TAG_END? > > > On Jun 10, 2009, at 8:08 AM, Miguel Goncalves wrote: > >> >> Hello there, >> >> im using sofia sip to register and authenticate to open ims core which i >> successfully was able to do but.. in the end of the process i get this >> segmentation fault: >> >> : REGISTER sip:b...@open-ims.test - registering address to network >> >> : REGISTER: 401 Unauthorized - Challenging the UE >> >> Authentication needed.. >> >> AUTHENTICATION! >> >> : AUTH - authenticating 'b...@open-ims.test' with >> 'Digest:"open-ims.test":b...@open-ims.test:bob'. >> outbound(0x9151d18): FAILED to validate <sip:192.168.0.104:60016> >> outbound(0x9151d18): FAILED with 400 Bad Request - Not following >> indicated service routes >> >> : REGISTER: 200 OK - SAR succesful and registrar saved >> >> Succesfully registered sip:b...@open-ims.test to network >> >> Faz Invite.. >> unknown event 8: 400 Bad Request - Not following indicated service >> routes >> >> Program received signal SIGSEGV, Segmentation fault. >> [Switching to Thread 0xb7af26c0 (LWP 9043)] >> 0xb7f07892 in t_snprintf (t=0x1, b=0xbf994478 "", size=4096) >> at su_taglist.c:138 >> 138 tag_type_t tt = TAG_TYPE_OF(t); >> >> >> someone know what could be the problem? >> i can attach the code if necessary.. >> >> thank you in advance. >> >> Miguel >> >> ------------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel