Hi;
I think you can use NTA_TAGS like:

NTATAG_SIP_T1X64 to set the timeout of the REGISTER transaction.
Setting this value will still use the other Tx timers and send  
retransmissions but you
will have control of the timeout value the stack will return a timeout  
response.

Regards

Inca R


On Jan 8, 2009, at 10:14 AM, Stefano Sabatini wrote:

> On date Wednesday 2009-01-07 19:49:38 +0200, Pekka Pessi phoned this:
>> 2009/1/7 Stefano Sabatini <ssabat...@reilabs.com>:
>>> I wonder if it is actually possible to catch somehow a REGISTER
>>> timeout condition. Currently the behaviour of the sofia-sip stack
>>> seems to try the REGISTER again and again when it fails.
>>>
>>> Is it possible to set a timeout (either setting it in the nua handle
>>> either in some operation handle) or do I need to set a timeout in  
>>> the
>>> application?
>>
>> There are plenty. What kind of error condition you have, like, you  
>> get
>> no response, or does the response trigger a new request to be sent?
>
> Sorry, I didn't explain myself.
>
> I mean that when the REGISTER recipient doesn't reply, sofia-sip sends
> again and again the REGISTER. I would like to catch this condition say
> after N tries and when a certain timeout expires, and notify the
> sofia-sip stack of this.
>
> Currently I see no way to say to the stack to stop to send the
> REGISTER requests.
>
> Thanks, regards.
>
> ------------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It is the best place to buy or sell services for
> just about anything Open Source.
> http://p.sf.net/sfu/Xq1LFB
> _______________________________________________
> Sofia-sip-devel mailing list
> Sofia-sip-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to