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
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:[email protected]: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" <[email protected]>
*To: *"OpenSIPS users mailling list" <[email protected]>
*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@") 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@) multi home
2018/10/29 08:50:30.061342 190.240.46.242:36868 -> 190.248.157.3:5084
SUBSCRIBE sip:[email protected]:5160 SIP/2.0
Via: SIP/2.0/TCP 192.168.1.65:19464;branch=z9hG4bK1855278236;rport;alias
From: <sip:[email protected]:5160>;tag=473433483
To: <sip:[email protected]:5160>
Call-ID: [email protected]
CSeq: 21200 SUBSCRIBE
Contact: <sip:[email protected]: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:[email protected]:5160>;tag=473433483
To: <sip:[email protected]:5160>;tag=a3f6a7240e26af61ce52d7ac2261cc82.ee28
Call-ID: [email protected]
CSeq: 21200 SUBSCRIBE
Server: OpenSIPS (3.0.0-dev (x86_64/linux))
Content-Length: 0
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users