[SR-Users] uac module incoming INVITE become wrong dst_ip address

Karsten Horsmann khorsmann at gmail.com
Tue Apr 17 11:44:08 CEST 2012


Hello List,


i am nearly finishing my multihomed config (public ip/internal ip)
with kamailio.
For incoming calls i want to use the uac module too.
Then i want to locate an permanet entry and dispatch it to ivr system
behind kamailio.

i tried something like this:
        if (lookup("location") && (dst_ip==222.222.222.222)) {
                if(ds_select_domain("1", "4")) {

Okay for registerd UAC this works perfect - but if made an call to the
uac registerd
number i got as $Ri the 172.20.100.74 - and thats is the private ip address.

Why that???

Any hints to check "if its internal or external" call???

-- 
Mit freundlichen Grüßen
*Karsten Horsmann*



More information about the sr-users mailing list