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

Giacomo Vacca Giacomo.Vacca at truphone.com
Thu Feb 7 10:46:08 CET 2013


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20130207/2cbc96e1/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-registrar-Fixed-typo-in-event_route-name-usrloc-expi.patch
Type: application/octet-stream
Size: 994 bytes
Desc: 0001-registrar-Fixed-typo-in-event_route-name-usrloc-expi.patch
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20130207/2cbc96e1/attachment-0001.obj>


More information about the sr-dev mailing list