[Users] save("location") on reply

Klaus Darilion klaus.mailinglists at pernau.at
Wed May 30 13:32:52 CEST 2007


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.

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/reg_mod.c.diff?r1=1.49&r2=1.50 
>>
>> http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/registrar/save.c.diff?r1=1.53&r2=1.54 
>>
> thanks for the links ;)
> 
> best regards,
> 




More information about the Users mailing list