Hi,

I successfully compiled the sofsip-cli-0.16 source, but while
registering with SIP server (voipcheap) I got "UA: REGISTER: 408 Request
Timeout" error. Debug report is as follows (please find the attachment
for complete log). Can somebody give me a solution to fix this problem?

Thanks,Sathish

log:

[r...@localhost src]# ./sofsip_cli sip:firstn...@sip.voipcheap.com
--media-impl=gstreamer --contact="sip:*:5060;
transport=udp" --registrar=sip:sip.voipcheap.com
--proxy=sip:sip.voipcheap.com --stun-server=stun.voipcheap.com
** Message: This program is linked against GStreamer 0.10.20

su_source_port_create() returns 0x8d6811c
** (<unknown>:13462): DEBUG: priv_verify_required_elements:191
** Message: Verifying GST element "mulawenc" -> OK
** Message: Verifying GST element "mulawdec" -> OK
** Message: Verifying GST element "udpsink" -> OK
** Message: Verifying GST element "udpsrc" -> OK
** (<unknown>:13462): DEBUG: ssc_media_class_init:124
** (<unknown>:13462): DEBUG: ssc_media_gst_class_init:138
** (<unknown>:13462): DEBUG: ssc_media_init:169
** Message: Selecting media implementation: gstreamer
** (<unknown>:13462): DEBUG: priv_static_capabilities_gst
nua: nua_create: entering
nua: nua_stack_init: entering
nua: nua_stack_set_params: entering
nta_agent_create: initialized hash tables
nta_agent_create: initialized transports
nta_agent_create: initialized random identifiers
nta_agent_create: initialized timer
nta_agent_create: initialized resolver
nta: master transport created
nta: bound to (*:5060;transport=udp)
nta: agent_init_via: SIP/2.0/udp 192.168.0.102 (sip)
nta: agent_init_via: SIP/2.0/udp 192.168.122.1 (sip)
nta: agent_init_via: SIP/2.0/udp 127.0.0.1 (sip)
nta: agent_init_via: SIP/2.0/udp [::1] (sip)
nta: Via fields initialized
nta: Contact header created
nua_register: Adding contact URL '192.168.0.102' to list.
nua_register: Adding contact URL '192.168.122.1' to list.
nua_register: ignoring contact candidate 127.0.0.1:.
nua_register: ignoring contact candidate [::1]:.
nua: nua_set_params: entering
nua((nil)): sent signal r_set_params
nua: nua_get_params: entering
nua((nil)): sent signal r_get_params
sofsip> nua((nil)): recv signal r_set_params
nua: nua_stack_set_params: entering
nua((nil)): event r_set_params 200 OK
nua((nil)): recv signal r_get_params
nua: nua_stack_get_params: entering
nua((nil)): event r_get_params 200 OK
nua: nua_application_event: entering
UA: unknown event 'nua_r_set_params' (23): 200 OK
   ::tag_null: 0
NOTE: destroying handle (nil).
nua: nua_handle_destroy: entering
sofsip> nua: nua_application_event: entering
UA: nua_r_getparams: 200 OK
   sip::from: sip:firstn...@sip.voipcheap.com
   sip::from_str: "sip:firstn...@sip.voipcheap.com"
   nua::retry_count: 3
   nua::max_subscriptions: 20
   nua::media_enable: true
   nua::enableInvite: true
   nua::autoAlert: true
   nua::early_media: false
   nua::only183_100rel: false
   nua::autoAnswer: false
   nua::autoACK: true
   nua::invite_timer: 120
   nua::session_timer: 0
   nua::min_se: 120
   nua::session_refresher: 0
   nua::update_refresh: false
   nua::enableMessage: true
   nua::enableMessenger: false
   nua::callee_caps: false
   nua::media_features: false
   nua::service_route_enable: true
   nua::path_enable: true
   nua::refer_expires: 300
   nua::refer_with_id: true
   nua::substate: 2
   nua::substate: 3600
   sip::supported: timer, 100rel
   sip::supported_str: "timer, 100rel"
   sip::allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE,
SUBSCRIBE, NOTIFY, REFER, UPDATE
   sip::allow_str: "INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE,
SUBSCRIBE, NOTIFY, REFER, UPDATE"
   nua::appl_method: "INVITE, REGISTER, PUBLISH, SUBSCRIBE"
   sip::user_agent: sofia-sip/1.12.10
   sip::user_agent_str: "sofia-sip/1.12.10"
   nua::user_agent: "sofia-sip/1.12.10"
   nua::registrar: <sip:sip.voipcheap.com>
   nua::keepalive: 120000
   nua::outbound: "natify"
   nta::contact: <sip:192.168.0.102;transport=udp>
   nta::udp_mtu: 1300
   nta::max_proceeding: 4294967295
   nta::sip_t1: 500
   nta::sip_t2: 4000
   nta::sip_t4: 5000
   nta::sip_t1x64: 32000
   nta::debug_drop_prob: 0
   nta::default_proxy: <sip:sip.voipcheap.com>
   nta::aliases: <NONE>
   nta::sipflags: 2
   soa::caps_sdp: v=0
o=- 3111796031121927024 4168038955508593920 IN IP4 192.168.0.102
s=-
c=IN IP4 192.168.0.102
t=0 0
m=audio 0 RTP/AVP 0
a=rtpmap:0 PCMU/8000
   soa::caps_sdp_str: "v=0
o=- 3111796031121927024 4168038955508593920 IN IP4 192.168.0.102
s=-
c=IN IP4 192.168.0.102
t=0 0
m=audio 0 RTP/AVP 0
a=rtpmap:0 PCMU/8000
"
   soa::user_sdp: v=0
m=audio 0 RTP/AVP 0
a=rtpmap:0 PCMU/8000
   soa::user_sdp_str: "v=0
m=audio 0 RTP/AVP 0
a=rtpmap:0 PCMU/8000
"
   soa::local_sdp_str: <null>
   soa::af: 3
   soa::srtp_enable: false
   soa::srtp_confidentiality: false
   soa::srtp_integrity: false
   ::tag_null: 0

Starting sofsip-cli in interactive mode. Issue 'h' to get list of
available commands.
sofsip>r
nua: nh_create_handle: entering
UA: REGISTER sip:firstn...@sip.voipcheap.com - registering address to
network
nua: nua_register: entering
nua(0x8d76228): sent signal r_register
sofsip> nua(0x8d76228): recv signal r_register
nua: nua_stack_set_params: entering
nta_leg_tcreate(0x8d7c760)
nua(0x8d76228): adding register usage
nta: selecting scheme sip
nta: for "sip.voipcheap.com" query "sip.voipcheap.com" NAPTR
nta: for "sip.voipcheap.com" query "_sip._udp.sip.voipcheap.com" SRV
nta: for "sip.voipcheap.com" query "sip.voipcheap.com" AAAA
nta(0x8d7d648): sip.voipcheap.com A record still unresolved
nta: for "sip.voipcheap.com" query "sip.voipcheap.com" A
nta: sip.voipcheap.com. IN A 194.120.0.198
nta(0x8d7d648):  A 194.221.62.198
send 525 bytes to udp/[194.120.0.198]:5060 at 19:20:29.822688:
   ------------------------------------------------------------------------
   REGISTER sip:sip.voipcheap.com SIP/2.0
   Via: SIP/2.0/UDP 192.168.0.102;rport;branch=z9hG4bK69g9y2X6821BH
   Max-Forwards: 70
   From: <sip:firstn...@sip.voipcheap.com>;tag=6v17e9889erNg
   To: <sip:firstn...@sip.voipcheap.com>
   Call-ID: 32e37029-82cb-122c-6fa5-0019d1a12e17
   CSeq: 111935678 REGISTER
   Contact: <sip:192.168.0.102;transport=udp>;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

   ------------------------------------------------------------------------
.
.
.
.
.
.
.
nta: resent REGISTER (111935678) to */194.221.62.198:5060
nta_outgoing_timer: 1/1 resent, 0/1 tout, 0/0 term, 0/1 free
nta: timer set next to 4000 ms
nta: timer E fired, retransmit REGISTER (111935678)
send 525 bytes to udp/[194.221.62.198]:5060 at 19:21:33.326380:
   ------------------------------------------------------------------------
   REGISTER sip:sip.voipcheap.com SIP/2.0
   Via: SIP/2.0/UDP 192.168.0.102;rport;branch=z9hG4bK69g9y2X6821BH
   Max-Forwards: 70
   From: <sip:firstn...@sip.voipcheap.com>;tag=6v17e9889erNg
   To: <sip:firstn...@sip.voipcheap.com>
   Call-ID: 32e37029-82cb-122c-6fa5-0019d1a12e17
   CSeq: 111935678 REGISTER
   Contact: <sip:192.168.0.102;transport=udp>;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

   ------------------------------------------------------------------------
nta: resent REGISTER (111935678) to */194.221.62.198:5060
nta_outgoing_timer: 1/1 resent, 0/1 tout, 0/0 term, 0/1 free
nta: timer set next to 497 ms
nta: timer F fired, timeout REGISTER (111935678)
nua(0x8d76228): event r_register 408 Request Timeout
nua(0x8d76228): removing register usage
nta_leg_destroy(0x8d7c760)
nta_outgoing_timer: 0/1 resent, 1/1 tout, 0/0 term, 0/1 free
nta: timer set next to 5000 ms
nua: nua_application_event: entering
UA: REGISTER: 408 Request Timeout
nua: nua_handle_destroy: entering
nua(0x8d76228): sent signal r_destroy
sofsip> nua(0x8d76228): recv signal r_destroy
nta_leg_destroy((nil))
nta: timer K fired, terminate REGISTER (111935678)
outgoing_reclaim_all((nil), (nil), 0xbfe08414)
nta_outgoing_timer: 0/0 resent, 0/0 tout, 1/1 term, 1/1 free
nta: timer not set

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to