[Spce-user] Extra socket for subcriber

Serge Yuriev me at nevian.org
Sat Jun 6 04:12:13 EDT 2015


id	username	domain	contact	received	path	expires	q	callid	cseq	last_modified	flags	cflags	user_agent	socket	methods	ruid	reg_id	instance
247	cucmuser	10.0.64.100	sip:cucmuser at 10.0.64.64:5060	NULL	<sip:127.0.0.1:5060;lr;socket=sip:10.0.64.100:5060>	1970-01-01 03:00:00	1.00	dfjrewr12386fd6-343 at kamailio.mi	1	1970-01-01 03:00:00	0	0	SIP Router MI Server	udp:127.0.0.1:5062	NULL	ulcx-5571b07f-ac8c-2	0	NULL
17	cucmuser	83.143.192.142	sip:cucmuser at 10.0.64.66:5060	NULL	<sip:127.0.0.1:5060;lr;socket=sip:10.0.64.100:5060>	1970-01-01 03:00:00	1.00	dfjrewr12386fd6-343 at kamailio.mi	1	1970-01-01 03:00:00	0	0	SIP Router MI Server	NULL	NULL	ulcx-5531093a-ad3f-d	0	NULL

Path and socket fields for 247 modified by me.

On 6 Jun  2015, at 11:07, Daniel Grotti <dgrotti at sipwise.com> wrote:

> Yeah,
> Right, it should use and recover the socket from the location table.
> Can you check the status of the registration of the PBX in the location table?
> 
> 
> On Jun 6, 2015 9:58 AM, Serge Yuriev <me at nevian.org> wrote:
>> 
>> Daniel, 
>> 
>> I can’t find this setting for subscriber :( 
>> Looks like this only for peers 
>> 
>> On 6 Jun  2015, at 10:55, Daniel Grotti <dgrotti at sipwise.com> wrote: 
>> 
>>> Sergey, 
>>> Did you set the outbound_socket in you PBX subscriber's preferences? 
>>> 
>>> Daniel 
>>> 
>>> On Jun 6, 2015 8:10 AM, Serge Yuriev <me at nevian.org> wrote: 
>>>> 
>>>> Hello, 
>>>> 
>>>> I tried to manually fix path in location table in kamailio DB in following way 
>>>> <sip:127.0.0.1:5060;lr;socket=sip:10.0.64.100:5060> 
>>>> 
>>>> Nothing changes :( 
>>>> 
>>>> On 5 Jun  2015, at 20:40, Jon Bonilla (Manwe) <manwe at sipdoc.net> wrote: 
>>>> 
>>>>> El Fri, 05 Jun 2015 19:45:51 +0300 
>>>>> "Serge S. Yuriev" <me at nevian.org> escribió: 
>>>>> 
>>>>>> Hello, 
>>>>>> 
>>>>>> We have multi-homed installation. 
>>>>>> Our default domain == external IP (x.x.x.x) 
>>>>>> Our PBX on network 10.0.64.0 
>>>>>> PBX registered as subscriber with permanent registration and trusted 
>>>>>> devices. 
>>>>>> 
>>>>>> We configured extra_socket 10.0.64.100 and extra RTP interface for this IP. 
>>>>>> Outbound calls from PBX works perfectly via extra IP. 
>>>>>> Incoming calls doesn't work as NGCP originates from default IP (x.x.x.x) 
>>>>>> and PBX denies such calls from unknown source. 
>>>>>> 
>>>>>> I made extra domain 10.0.64.100 and moved PBX records here but no luck - 
>>>>>> NGCP uses default IP :( 
>>>>>> How to manage this? 
>>>>>> 
>>>>> 
>>>>> 
>>>>> NGCP will use the received socket as originating socket. This means that if you 
>>>>> received a SUBCRIBE in the extra socket, NGCP should use it when sending the 
>>>>> call to that subscriber too. 
>>>>> 
>>>>> In this case you have a permanent contact which means, I'm afraid, that you 
>>>>> don't have the socket information in the location table. I think you'll have 
>>>>> to manually add it in the DB. 
>>>>> 
>>>>> 
>>>>> 
>>>>> cheers, 
>>>>> 
>>>>> Jon 
>>>> 
>>>> -- 
>>>> Serge S. Yuriev 
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________ 
>>>> Spce-user mailing list 
>>>> Spce-user at lists.sipwise.com 
>>>> https://lists.sipwise.com/listinfo/spce-user 
>> 
>> -- 
>> Serge S. Yuriev 
>> 
>> 
>> 
>> _______________________________________________ 
>> Spce-user mailing list 
>> Spce-user at lists.sipwise.com 
>> https://lists.sipwise.com/listinfo/spce-user 

-- 
Serge S. Yuriev






More information about the Spce-user mailing list