Re: [Sofia-sip-devel] Cant using nua_invite to initial call.

2013-08-09 Thread Andreas Wehrmann
On 08/09/2013 06:32 AM, ThanhTruong wrote: Hi all, I am back and have a stupid question that i cant send invite to SIP server using nua_invite. i have tried : nua_invite (nh, NUTAG_URL (nua_url), SOATAG_ADDRESS(127.0.0.1:8000), NUTAG_EARLY_MEDIA (1), TAG_END

Re: [Sofia-sip-devel] Cant using nua_invite to initial call.

2013-08-09 Thread ThanhTruong
hi, I have enabled log level and see some log but cant know where is my issue ? nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering nua.c:633 nua_invite() nua: nua_invite: entering nua_stack.c:529 nua_signal() nua(0x2b52184f5940): sent signal r_invite nua_stack.c:359

Re: [Sofia-sip-devel] Cant using nua_invite to initial call.

2013-08-09 Thread Andreas Wehrmann
On 08/09/2013 09:48 AM, ThanhTruong wrote: hi, I have enabled log level and see some log but cant know where is my issue ? nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering nua.c:633 nua_invite() nua: nua_invite: entering nua_stack.c:529 nua_signal() nua(0x2b52184f5940):

Re: [Sofia-sip-devel] Cant using nua_invite to initial call.

2013-08-09 Thread ThanhTruong
Hi, I have used ngrep -p -q -W byline port 5060 in this server and did not see any invite message sent out. I think sofia-sip handling it and drop it, not send it out. is there any way to get it work ? do you have any example code to send invite to one sip server ? (only how to use nua_invite

Re: [Sofia-sip-devel] Cant using nua_invite to initial call.

2013-08-09 Thread Andreas Wehrmann
On 08/09/2013 10:30 AM, ThanhTruong wrote: Hi, I have used ngrep -p -q -W byline port 5060 in this server and did not see any invite message sent out. I think sofia-sip handling it and drop it, not send it out. is there any way to get it work ? do you have any example code to send invite

Re: [Sofia-sip-devel] Cant using nua_invite to initial call.

2013-08-09 Thread Andreas Wehrmann
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)

Re: [Sofia-sip-devel] Cant using nua_invite to initial call.

2013-08-09 Thread ThanhTruong
Hi , this is full loglevel for all and set to 9(max) I think. in this stack, i can receive invite, send/receive register, respond of register. :( But with invite, it is not live nua_register, nua_subscribe so, i am getting this issue. Thank you for your help.   ThanhTruong

Re: [Sofia-sip-devel] Cant using nua_invite to initial call.

2013-08-09 Thread Andreas Wehrmann
On 08/09/2013 11:21 AM, ThanhTruong wrote: Hi , this is full loglevel for all and set to 9(max) I think. in this stack, i can receive invite, send/receive register, respond of register. :( But with invite, it is not live nua_register, nua_subscribe so, i am getting this issue. Thank

Re: [Sofia-sip-devel] Cant using nua_invite to initial call.

2013-08-09 Thread ThanhTruong
Hi Wehrmann, Thanks for your support and suggest code. I have fixed it in my side by changing sdp string. and I can send Invite now, it works perfect . Thank you for your time.   ThanhTruong From: Andreas Wehrmann andreas_wehrm...@yahoo.at To: ThanhTruong