On 05/30/07 14:32, Klaus Darilion wrote:
What about copying the contact in the REGISTER
into an AVP. Then we
would need a function which stores AVP into location table - e.g.
save($avp(s:contacts));
This function should be useable in request and reply route.
there is also the
expires that should be taken in consideration. Also,
in reply, the server can add all the registered contacts, with the
afferent expiration times. What is also important, for nat traversal,
are the received ip and port, source ip and port, which must be taken
from request.
Yes, thats right. My idea was to store all the relevant data into AVP
during request processing and reuse the AVPs when storing in reply route
(only check if response code is 200)
regards
klaus
Cheers,
Daniel
>
> regards
> klaus
>
> Jean-Michel Foucher wrote:
>> Hello,
>>> It looks like Maxim has committed an enhancement to SER to allow save
>>> of contacts in on_reply route, but I don't think that addresses your
>>> specific issue.
>> no, unfortunately it does not.
>> Event though save_noreply would be called when a 200 OK is received,
>> save_noreply should use the original REGISTER in order to gather
>> contact information.
>>>
>>> You can check it out here:
>>>
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/registrar/…
>>>
>>>
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/registrar/…
>>>
>> thanks for the links ;)
>>
>> best regards,
>>
>
> _______________________________________________
> Users mailing list
> Users(a)openser.org
>
http://openser.org/cgi-bin/mailman/listinfo/users
>