On 08/09/2013 10:57 AM, ThanhTruong wrote:
> Hi sir,
>
> When I tried with your code, change to my sdp and get this log from 
> nua_invite.
> nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
> soa.c:282 soa_clone() soa_clone(static::0xe9bd050, 0xe490080, 0x2b52284121d0) 
> called
> soa.c:405 soa_set_params() soa_set_params(static::0x2b521c27d9d0, ...) called
> nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
> soa.c:405 soa_set_params() soa_set_params(static::0x2b521c27d9d0, ...) called
> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
> nua_dialog.c:338 nua_dialog_usage_add() nua(0x2b52284121d0): adding session 
> usage
> nta.c:4322 nta_leg_tcreate() nta_leg_tcreate(0x2b521860a290)
> soa.c:1302 soa_init_offer_answer() 
> soa_init_offer_answer(static::0x2b521c27d9d0) called
> soa.c:1426 soa_generate_offer() soa_generate_offer(static::0x2b521c27d9d0, 0) 
> called
> nua_stack.c:271 nua_stack_event() nua(0x2b52284121d0): event r_invite 900 
> Internal error at nua_client.c:711
> nua_session.c:4135 signal_call_state_change() nua(0x2b52284121d0): call state 
> changed: init -> init
> nua_stack.c:271 nua_stack_event() nua(0x2b52284121d0): event i_state 900 
> Internal error at nua_client.c:711
> nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
> nua_stack.c:271 nua_stack_event() nua(0x2b52284121d0): event i_terminated 900 
> Internal error at nua_client.c:711
> nua_dialog.c:397 nua_dialog_usage_remove_at() nua(0x2b52284121d0): removing 
> session usage
> nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
> nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
> soa.c:358 soa_destroy() soa_destroy(static::0x2b521c27d9d0) called
> nta.c:4375 nta_leg_destroy() nta_leg_destroy(0x2b521860a290)
>
> Let me tell more about my scenario:
> + first I have one nh to handle incoming INVITE from my client.
> + when I get one invite from client(xlite) I call your code to send one 
> invite to another sip server. and get this error.
>   code is:
> nua_handle_t* nh_a = NULL;
>          sip_to_t* to = sip_to_create( NULL, URL_STRING_MAKE( 
> "sip:372@59.120.208.196" ) );
>          nh_a = nua_handle( nua, NULL,
>                        SIPTAG_TO( to ),
>                        TAG_END() );
>          nua_invite( nh_a,
>                  SOATAG_USER_SDP_STR( r_sdp),
>                  TAG_END() );
>
> and I see we get 900 Internal error.
> :(

Is it possible to increase the log level even more?
I don't see why this shouldn't work; maybe it has to do something with 
how you setup your SIP stack in the first place?
But that's just a wild guess.


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to