[OpenSIPS-Users] SUBSCRIBE

Slava Bendersky volga629 at networklab.ca
Mon Oct 29 13:16:12 EDT 2018


In that setup freeswitch boxes directly connected to opensips LAN side and opensips listen for for two interfaces internal and external. UDP and TCP. 

volga629 


From: "Bogdan-Andrei Iancu" <bogdan at opensips.org> 
To: "OpenSIPS users mailling list" <users at lists.opensips.org>, "Slava Bendersky" <volga629 at networklab.ca> 
Sent: Monday, October 29, 2018 2:13:06 PM 
Subject: Re: [OpenSIPS-Users] SUBSCRIBE 

Hi Slava, 

Maybe the same destination may be reached (from the IP routing table perspective) via multiple interfaces like via interface A and interface B - and OS (via mhomed) selected interface A , but OpenSIPS listen only on B. 

Such a setup may lead to the error you listed - OS picking up for routing a local interface that is not used by OpenSIPS. 

Regards, 
Bogdan-Andrei Iancu

OpenSIPS Founder and Developer [ http://www.opensips-solutions.com/ | http://www.opensips-solutions.com ] OpenSIPS Bootcamp 2018 [ http://opensips.org/training/OpenSIPS_Bootcamp_2018/ | http://opensips.org/training/OpenSIPS_Bootcamp_2018/ ] 
On 10/29/2018 04:10 PM, Slava Bendersky wrote: 



That error message in log 

Oct 29 09:00:16 vprx00 /usr/sbin/opensips[1506]: ERROR:core:get_out_socket: no socket found 
Oct 29 09:00:16 vprx00 /usr/sbin/opensips[1506]: ERROR:tm:t_uac: no corresponding socket for af 2 
Oct 29 09:00:16 vprx00 /usr/sbin/opensips[1506]: ERROR:pua:send_publish_int: failed to send PUBLISH 
Oct 29 09:00:16 vprx00 /usr/sbin/opensips[1506]: ERROR:pua_dialoginfo:dialog_publish: sending publish failed for pres_uri [ [ sip:106 at domain.com:5160 | sip:106 at domain.com:5160 ] ] to server [] 
Oct 29 09:00:16 vprx00 /usr/sbin/opensips[1506]: ERROR:core:get_out_socket: no socket found 
Oct 29 09:00:16 vprx00 /usr/sbin/opensips[1506]: ERROR:tm:t_uac: no corresponding socket for af 2 

LAN side is UDP and WAN side TCP. Multi home environment. 
volga629 

From: "Slava Bendersky" [ mailto:volga629 at networklab.ca | <volga629 at networklab.ca> ] 
To: "OpenSIPS users mailling list" [ mailto:users at lists.opensips.org | <users at lists.opensips.org> ] 
Sent: Monday, October 29, 2018 11:01:42 AM 
Subject: [OpenSIPS-Users] SUBSCRIBE 

Hello Everyone, 
What possible cause that opensips generate 500 error on SUBSCRIBE 

#### Presence 
loadmodule "presence.so" 
loadmodule "presence_mwi.so" 
loadmodule "presence_xml.so" 
loadmodule "presence_dialoginfo.so" 
loadmodule "presence_callinfo.so" 
loadmodule "pua.so" 
loadmodule "pua_dialoginfo.so" 
loadmodule "xcap.so" 
modparam("presence|xcap|pua","db_url",") 
#modparam("presence","server_address", [ sip:proxy@ | "sip:proxy@" ] ) multi home 
modparam("presence", "clean_period", 30) 
modparam("presence", "mix_dialog_presence", 1) 
modparam("presence_xml", "force_active", 1) 
#modparam("pua_dialoginfo", "presence_server", " [ sip:sbc@ | sip:sbc@ ] ) multi home 


2018/10/29 08:50:30.061342 190.240.46.242:36868 -> 190.248.157.3:5084 
SUBSCRIBE [ sip:101 at domain.tld:5160 | sip:101 at domain.tld:5160 ] SIP/2.0 
Via: SIP/2.0/TCP 192.168.1.65:19464;branch=z9hG4bK1855278236;rport;alias 
From: [ sip:101 at domain.tld:5160 | <sip:101 at domain.tld:5160> ] ;tag=473433483 
To: [ sip:101 at domain.tld:5160 | <sip:101 at domain.tld:5160> ] 
Call-ID: [ mailto:733815006-19464-119 at BJC.BGI.B.GF | 733815006-19464-119 at BJC.BGI.B.GF ] 
CSeq: 21200 SUBSCRIBE 
Contact: [ sip:101 at 192.168.1.65:19464;transport=tcp | <sip:101 at 192.168.1.65:19464;transport=tcp> ] 
X-Grandstream-PBX: true 
Max-Forwards: 70 
User-Agent: Grandstream GXP1760W 1.0.1.74 
Expires: 432000 
Supported: replaces, path, timer 
Event: message-summary 
Accept: application/simple-message-summary 
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE 
Content-Length: 0 



2018/10/29 08:50:30.062338 190.248.157.3:5084 -> 190.240.46.242:36868 
SIP/2.0 500 Server error occurred (1/SL) 
Via: SIP/2.0/TCP 192.168.1.65:19464;received=190.240.46.242;branch=z9hG4bK1855278236;rport=36868;alias 
From: [ sip:101 at domain.tld:5160 | <sip:101 at domain.tld:5160> ] ;tag=473433483 
To: [ sip:101 at domain.tld:5160 | <sip:101 at domain.tld:5160> ] ;tag=a3f6a7240e26af61ce52d7ac2261cc82.ee28 
Call-ID: [ mailto:733815006-19464-119 at BJC.BGI.B.GF | 733815006-19464-119 at BJC.BGI.B.GF ] 
CSeq: 21200 SUBSCRIBE 
Server: OpenSIPS (3.0.0-dev (x86_64/linux)) 
Content-Length: 0 


_______________________________________________ 
Users mailing list 
[ mailto:Users at lists.opensips.org | Users at lists.opensips.org ] 
[ http://lists.opensips.org/cgi-bin/mailman/listinfo/users | http://lists.opensips.org/cgi-bin/mailman/listinfo/users ] 


_______________________________________________
Users mailing list [ mailto:Users at lists.opensips.org | Users at lists.opensips.org ] [ http://lists.opensips.org/cgi-bin/mailman/listinfo/users | http://lists.opensips.org/cgi-bin/mailman/listinfo/users ] 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20181029/b3808df0/attachment-0001.html>


More information about the Users mailing list