[Spce-user] inbound PSTN peer routing to local sip uri

Andreas Granig agranig at sipwise.com
Fri Mar 1 06:21:14 EST 2013


Another way would be to disable multi-domain handling at all by setting 
kamailio.proxy.ignore_auth_realm to "yes" in config.yml.

That way, the domain part will be ignored completely for authentication 
and also for looking up the callee.

Not sure if you want that though, it's actually a work-around for 
scenarios where lots of subscribers with arbitrary domains are deployed 
in your environment, and you still want to handle all of them on the 
platform without provisioning them within these arbitrary domains.

Andreas

On 03/01/2013 12:11 PM, Andreas Granig wrote:
> Hi,
> On 03/01/2013 10:52 AM, John Murray wrote:
>> SIP URI: a001002 at skyrack.net
>
> Well, the problem here is that the call comes in as
> sip:a001002 at 100.100.100.182, but the subscriber is sip:a001002 at skyrack.net.
>
> There is currently no way to also change the domain part via rewrite
> rules, so you'd have to do that hardcoded in the kamailio-lb config,
> like this:
>
> # after the whole loose-route block:
> if($rd == "100.100.100.182") {
>    $rd = "skyrack.net";
> }
>
> You can use it more elegantly of course by using the template values of
> network.yml, but that's basically the idea for now.
>
> Andreas
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user




More information about the Spce-user mailing list