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

Dave Massey dave at optionsdsl.ca
Wed Sep 7 07:50:27 EDT 2011


I attached a tcpdump of a phone call from a softphone registered to SPCE and attempted call from that phone to the SIP provider/PSTN

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump
Type: application/octet-stream
Size: 21329 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20110907/025a61fb/attachment-0001.obj>
-------------- next part --------------



On 2011-09-07, at 7:44 AM, Stefan Sayer wrote:

> 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 127.0.0.1:5080 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).
> 
> Stefan
> 
>> 
>> 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
>> 
> 
> 
> -- 
> frafos.com
> 
> _______________________________________________
> 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