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.
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/r...
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/registrar/s...
thanks for the links ;)
best regards,
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users