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.
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@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@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users