[SR-Users] Diversion header authentication

phillman25 phillman25 at gmail.com
Tue Apr 9 11:12:49 CEST 2013


Dear List

I am currently using the group module to authenticate inbound calls using
the From header using the below code:

         if (!is_user_in("From", "1")) {
         sl_send_reply("403", "NOT ALLOWED");
         exit;
         };
         };

I want to now authenticate the Diversion header, when the call is diverted,
the same way as above using the group module how could i proceed with this?

thanking you in advance
Phillip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130409/eff09fc9/attachment.htm>


More information about the sr-users mailing list