Hello All,
I need to put a "Require: 100rel" header in a 180 Ringing message, but I am
having difficulties.
If I invoke nua_set_hparams(nh, SIPTAG_REQUIRE_STR("100rel")) prior to the
call to nua_respond(nh, 180, "Ringing"), then the 180 Ringing message does
not contain the "Require: 100rel" header.
If I invoke nua_respond(nh, 180, "Ringing", SIPTAG_REQUIRE_STR("100rel"))
alone, then sofia doesn't send out the 180 Ringing message at all.
Here are some of the sofia logs (I inserted a comment where the tport_send
call should occur (see <<<<<<<), but doesn't:
nua_respond(nh=0xa459b8, status=180, phrase=Ringing
NUTAG_M_USERNAME(1028)
nua: nua_respond: entering
nua(0xa459b8): sent signal r_respond
nua_handle_make_replaces(nh=0xa459b8, appl->home, false)
nua(0xa459b8): call state changed: init -> received, received offer
nua(0xa459b8): event i_state 100 Trying
nua(0xa459b8): recv signal r_set_params
nua: nua_stack_set_params: entering
nua(0xa459b8): event r_set_params 200 OK
nua(0xa459b8): recv signal r_set_params
nua: nua_stack_set_params: entering
nua(0xa459b8): event r_set_params 200 OK
nua(0xa459b8): recv signal r_respond 180 Ringing
nua: nua_stack_set_params: entering
nua: nua_invite_server_respond: entering
<<<<<<<<<< tport_send() should happen here <<<<<<<<<<<<<
nua(0xa459b8): call state changed: received -> early
nua(0xa459b8): event i_state 180 Ringing
Best Regards,
Jerry
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel