[Spce-user] New: cant figure out some things

Stefan Sayer stefan.sayer at googlemail.com
Wed Sep 7 07:44:22 EDT 2011

o Andreas Granig on 09/07/2011 01:33 PM:
> Hi,
> On 09/07/2011 01:20 PM, Stefan Sayer wrote:
>>> To=$H(My-New-To)
>> why not setting it directly here, like
>>   To="<sip:$rU at your.desired.domain>"
> Because the domain part usually depends on where the call should go to,
> and this could be difficult to decide in Sems.

ah ok. but if you use a static domain in the My-New-To header, you'd 
have the same I guess.

> In the proxy, you know that the call goes to the peer or to a local
> user, so you can easily set the domain part accordingly. Yes, it'd be
> possible to just hard-code it for every call (and most of the sip
> clients won't care), but it's not clean either.
> Anyways, beside the To header, the OP also needs to set the Contact to a
> specific format (which is outright stupid as well), and this can't be
> fixed easily, unless you also change
> /etc/ngcp-config/templates/etc/kamailio/lb/kamailio.cfg.tt2, which maps
> the internal contact sip:user at to sip:ngcp-lb at public.ip to
> prevent far-end nat handling due to the private ip in the contact.
would it help to fix the Contact in the SBC profile? (you can do that).


> So all in all, the sip peering provider in question is really not suited
> to connect a class5 to it. It'd be possible, but not easy.
> Andreas


More information about the Spce-user mailing list