Hello All,
I am getting a 900 Internal NUA Error in Response to nua_subscribe()
request, and the SUBSCRIBE message is not getting sent. Here is the
detailed API call:
nua_subscribe(nh=0x8822d8,
SIPTAG_FROM(sip:[EMAIL PROTECTED]:14060),
NUTAG_M_DISPLAY(), NUTAG_M_USERNAME(3778663004),
SIPTAG_EVENT(dialog),
SIPTAG_ACCEPT(application/dialog-info+xml,
application/rlmi+xml, multipart/related),
SIPTAG_EXPIRES(3600),
NUTAG_OUTBOUND(no-validate no-natify no-options-
keepalive));
The 900 Internal NUA Error at
/libsofia-sip-ua/nua/nua_stack.c:2445
In my local version, this is located at the last (only)
nua_client_response() call in the nua_client_request_try() function of the
nua_stack.c file. The complete trace from initialization is below.
Do you know why I'm getting this error? And if it is a capability not
currently in sofia-sip (version 1.12.7), is there any simple change/patch
that will make it work for me?
Best Regards,
Jerry
su_init()
sip_update_default_mclass(sip_extend_mclass(0x0))
...ce_sip_update_default_mclass() returned 0x0
su_home_init(appl->home=0x7fd340)
...su_home_init() returned 0x0
su_root_create(magic=0x0)
...su_root_create() returned appl->root=0x877140
nua_create(root=0x877140, callback=0x56948c, magic=0x832584,
url=sip:192.168.72.156:5060,
NTATAG_UDP_MTU(2000), NTATAG_PASS_100(1), TPTAG_TOS(46=0x2e),
SIPTAG_USER_AGENT_STR(TONE COMMANDER 7810/0000b9),
NUTAG_SESSION_TIMER(3600), NUTAG_MIN_SE(120), NUTAG_APPL_METHOD(NOTIFY))
...nua_create() returned nua=0x877168
nua_set_params(nua=0x877168, NUTAG_ALLOW_EVENTS(dialog, sla,
include-session-description))
[2]nua_handle(nua=0x877168, hmagic=0x832584,
NUTAG_URL(sip:[EMAIL PROTECTED]:14060),
SIPTAG_SUPPORTED(timer, 100rel, eventlist)
...[2]nua_handle() returned nh=0x87bbb0
nua_register(nh=0x87bbb0, SIPTAG_FROM(sip:[EMAIL PROTECTED]:14060),
NUTAG_M_DISPLAY(), NUTAG_M_USERNAME(3778663004),
NUTAG_M_FEATURES(reg-id=1804289383;+sip.instance="<urn:uuid:c39b0000-4f96-1a
00-1000-00048d0000b9>")
SIPTAG_EXPIRES(3600), NUTAG_OUTBOUND(no-validate no-natify
no-options-keepalive))
ProcCallback __ENTRY__: nua_r_set_params event: 200 OK, nh=0x0, hmagic=0x0,
sip=0x0
ProcCallback __ENTRY__: nua_i_outbound event: 101 NAT detected, nh=0x87bbb0,
hmagic=0x832584, sip=0x0
ProcCallback __ENTRY__: nua_r_register event: 401 UnAuthorized, nh=0x87bbb0,
hmagic=0x832584, sip=0x87ee04
nua_authenticate(nh=0x87bbb0,
NUTAG_AUTH(Digest:"Registered_Subscribers":3778663004:password))
ProcCallback __ENTRY__: nua_i_notify event: 100 Trying, nh=0x881c70,
hmagic=0x0, sip=0x880b04
[2]nua_respond(nh=0x881c70, status=481, phrase=Subscription Does Not Exist,
NUTAG_WITH_THIS(nua))
nua_handle_destroy(nh=0x881c70)
ProcCallback __ENTRY__: nua_r_register event: 200 Registration Request
Accepted, nh=0x87bbb0, hmagic=0x832584, sip=0x882974
[2]nua_handle(nua=0x877168, hmagic=0x832584, NUTAG_URL(),
SIPTAG_SUPPORTED(timer, 100rel, eventlist)
...[2]nua_handle() returned nh=0x8822d8
[1]nua_subscribe(nh=0x8822d8,
SIPTAG_FROM(sip:[EMAIL PROTECTED]:14060),
NUTAG_M_DISPLAY(), NUTAG_M_USERNAME(3778663004),
SIPTAG_EVENT(dialog), SIPTAG_ACCEPT(application/dialog-info+xml,
application/rlmi+xml, multipart/related),
SIPTAG_EXPIRES(3600), NUTAG_OUTBOUND(no-validate no-natify
no-options-keepalive))
[2]nua_handle(nua=0x877168, hmagic=0x832584,
NUTAG_URL(sip:[EMAIL PROTECTED]:14060),
SIPTAG_SUPPORTED(timer, 100rel, eventlist)
...[2]nua_handle() returned nh=0x883e38
[1]nua_subscribe(nh=0x883e38,
SIPTAG_FROM(sip:[EMAIL PROTECTED]:14060),
NUTAG_M_DISPLAY(), NUTAG_M_USERNAME(3778663004),
SIPTAG_EVENT(message-summary),
SIPTAG_ACCEPT(application/simple-message-summary),
SIPTAG_EXPIRES(3600), NUTAG_OUTBOUND(no-validate no-natify
no-options-keepalive))
ProcCallback __ENTRY__: nua_r_subscribe event: 900 Internal NUA Error at
../../../libsofia-sip-ua/nua/nua_stack.c:2445, nh=0x8822d8, hmagic=0x832584,
sip=0x0
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel