Hello,

if you know the ip address associated with the network interfaces, you
can use keyword dst_ip to check which of the ip addresses was used to
receive the packet (or use $Ri instead of dst_ip).

Cheers,
Daniel


On 05/08/16 08:41, Marino Mileti wrote:
>
> Hi guys,
>
>  
>
> I've my Kamailio box that works great J
>
>  
>
> Now I would like to enable wifi on the board (in AP mode) in order to
> allow mobile devices to connect and receive and place calls.
>
> Is it possible? Is it possible to configure Kama like a "gateway"
> between two network cards?
>
>  
>
> I've find a guide regarding gateway between IPv4 and IPV6 but i can't
> use "af"  to discriminate message between eth0 or wlan0. Is there a
> command to detect if a message is received from a specific interface card?
>
>  
>
> Any help or any cfg example is very appreciate J
>
>  
>
> /Marino Maria Mileti///
>
> /marino.mil...@alice.it <mailto:marino.mil...@alice.it>/
>
> / /
>
> /cid:006a01cb6b0e$67eecdae$_CDOSYS2.0//Reduce your energy consumption
> and keep polar bears on ice!/ 
>
>  
>
>
>
> ------------------------------------------------------------------------
> Avast logo
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>       
>
> Questa e-mail รจ stata controllata per individuare virus con Avast
> antivirus.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
>
>
>
>
> _______________________________________________
> 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

-- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

_______________________________________________
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

Reply via email to