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.mileti@alice.it

 

cid:006a01cb6b0e$67eecdae$_CDOSYS2.0Reduce your energy consumption and keep polar bears on ice! 

 




Avast logo

Questa e-mail è stata controllata per individuare virus con Avast antivirus.
www.avast.com




_______________________________________________
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