[Kamailio-Users] Registration Timeout Retransmission

Daniel-Constantin Mierla miconda at gmail.com
Fri Feb 12 13:23:05 CET 2010


Hello,

On 2/12/10 1:09 PM, Klaus Darilion wrote:
>
>
> Am 12.02.2010 11:23, schrieb Hemanshu Patel:
>> What kamailio is doing is what normally any rfc 3261 should do.
>> But in my case i dont want once used nonce and response to be 
>> reused.... i
>> think i left with only one solution, and which is that i am not 
>> suppose to
>> entertain retransmission of REGISTER request till say around 2 sec 
>> once i
>> send 200 OK.
>
> In this case you have handle the REGISTER stateful.
>
> Daniel, haven't you extended save() to send the reply stateful if a 
> transaction was created?

yes, the registrar sends stateful reply if transaction exists. Make sure 
sl module is loaded after tm so it can binds to tm api properly.


Cheers,
Daniel

>
> regards
> klaus
>
>
>> This will give ample amount of time to client phone to receive 200OK and
>> once phone will receive 200OK it wont send another REGISTER request, and
>> from server end first REGISTER retransmission i am dropping.that servers
>> my purpose.
>>
>> Can anyone suggest me the easiest way to implement the same.
>> Can i do it with already available flags or function or i need to hack a
>> code a bit.
>>

-- 
Daniel-Constantin Mierla
SIP Server Professional Solutions
* http://www.asipto.com/





More information about the sr-users mailing list