[SR-Users] Forwarding Emergency calls based on caller IP address

M. Salman msalman212 at gmail.com
Thu Dec 15 13:11:03 CET 2016


Hi João,

Refer to kamailio cookbooks:
https://www.kamailio.org/wiki/cookbooks/4.3.x/pseudovariables

You can get source IP: $si

Try test/log most of the pseudo variables in the docs to develop better
understanding.


Regards,
Salman

On Thu, Dec 15, 2016 at 4:52 PM, João Vitor Torres <torres.jv at gmail.com>
wrote:

> Hello all,
>
>
> I am looking for a solution to forward emergency calls inside an
> enterprise network.
>
> Is there any way to forward calls based on the IP address of caller
> device?
>
> The requirement is that calls to a unique emergency number must be
> forwarded to specific local numbers in each building, and the IP address of
> the caller is the criteria for choosing the destination. A table maps IP
> nets to specific local numbers.
>
> The SIP contact header has the caller IP address, but I am new to Kamailio
> and I am not sure where to start. Any suggestions?
>
>
> Thanks in advance.
>
> João Vitor.
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>


-- 
Regards

M. Salman
VoIP Professional
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161215/07c205ff/attachment.html>


More information about the sr-users mailing list