[sr-dev] registrar: Fixed event_route name, 'usrloc:expired-contact'

Daniel-Constantin Mierla miconda at gmail.com
Thu Feb 7 11:11:14 CET 2013


Hello,

thanks, patch pushed to master branch.

Cheers,
Daniel

On 2/7/13 10:46 AM, Giacomo Vacca wrote:
>
> Hi,
>
> Just a small patch to synchronize the name of the expired contact 
> event to the documentation.
>
> Documentation refers to 'usrloc:contact-expired', the registrar code 
> to 'usrloc:expired-contact'.
>
> I thought it was easier to update the code rather than all the 
> documentation.
>
>                 if(ul.register_ulcb != NULL)
>
>                {
>
> - reg_expire_event_rt = route_lookup(&event_rt, "usrloc:expired-contact");
>
> + reg_expire_event_rt = route_lookup(&event_rt, "usrloc:contact-expired");
>
>                                if (reg_expire_event_rt>=0 && 
> event_rt.rlist[reg_expire_event_rt]==0)
>
> reg_expire_event_rt=-1; /* disable */
>
> Regards,
>
> Giacomo
>
> Truphone Limited, registered in England and Wales (registered company 
> number: 04187081). Registered office: 4 Royal Mint Court, London EC3N 
> 4HJ. VAT No. GB 851 5278 19
>
> This e-mail, and any attachment(s), may contain information which is 
> confidential and/or privileged, and is intended for the addressee 
> only. If you are not the intended recipient, you may not use, 
> disclose, copy or distribute this information in any manner 
> whatsoever. If you have received this e-mail in error, please contact 
> the sender immediately and delete it.
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
  - http://conference.kamailio.com -

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20130207/e54e3806/attachment-0001.htm>


More information about the sr-dev mailing list