[Sofia-sip-devel] 180 RINGING

2006-06-12 Thread Luca Colantonio
hi,
sorry but i have a further question :)
in the sofsip_cli when does the client sends the 180 RINGING?
my goal is to send a 183 instead. I've looked for a while at ssc_sip.c and found that it should be sent at line 

nua_respond(nh, SIP_180_RINGING, TAG_END());

I have put a printf before this line and even run the program via gdb
and setting a break point at nua_respond call, but it seems that never
calls this function.
thank you
luca


___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] 180 RINGING

2006-06-12 Thread Luca Colantonio
ok,
I successfully sent a 183 (it was setted the AUTOALLERT parameter to 1)
but now I send a 183 session Progress in reply but it doesn't send an
offer in this message.
I can't find who calls the generate_answer and generate_offer in sofsip_cli.

luca2006/6/12, Luca Colantonio [EMAIL PROTECTED]:
hi,
sorry but i have a further question :)
in the sofsip_cli when does the client sends the 180 RINGING?
my goal is to send a 183 instead. I've looked for a while at ssc_sip.c and found that it should be sent at line 

nua_respond(nh, SIP_180_RINGING, TAG_END());

I have put a printf before this line and even run the program via gdb
and setting a break point at nua_respond call, but it seems that never
calls this function.
thank you
luca




___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] 180 RINGING

2006-06-12 Thread Kai Vehmanen
Hello again,

On Mon, 12 Jun 2006, Luca Colantonio wrote:

 in the sofsip_cli when does the client sends the 180 RINGING?
 my goal is to send a 183 instead. I've looked for a while at ssc_sip.c and
 found that it should be sent at line

 nua_respond(nh, SIP_180_RINGING, TAG_END());

this is controlled by the NUTAG_AUTOALERT() tag (given to nua_create() or 
nua_set_params()). If disabled, you have to send the 180 response 
yourself, otherwise the stack will do it for you.

See:
- 
http://sofia-sip.sourceforge.net/refdocs/nua/nua__tag_8h.html#127d671bca2e2fd8d3844b55243dc695

Also, on how to send a 183, see (go to 3gpp call model)
- http://sofia-sip.sourceforge.net/refdocs/nua/nua_event_diagrams.html

-- 
  under work: Sofia-SIP at http://sofia-sip.sf.net


___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel