[OpenSIPS-Users] Failed to Replicate Dialog - Dialog in DB doesn't match any listening sockets

Kneeoh kneeoh at yahoo.com
Mon Apr 6 16:38:23 CEST 2015


Hello, I'm getting a stream of errors in my log when using binary replication. The error at log level 0 is "Dialog in DB doesn't match any listening sockets". However, opensips is infact listening on the socket. I've got non-local-bind set to 1 and opensips is listening on the shared IP. If I tail the log in real time on the standby host, I'm just getting a flood of these socket errors.

# opensipsctl fifo version
Server:: OpenSIPS (1.11.3-notls (x86_64/linux))

Apr  6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: DBG:dialog:build_new_dlg: new dialog 0x7f5d4706f5f0 (c=f066826adc6711e49fb3842b2b73de7a at 192.168.0.174,f=sip:192.168.0.174:5062,t=sip:17272428528 at 192.168.80.2;user=phone,ft=Jxe3T+HAqACuE8bhwKgArhPEe+Ap9QAq) on hash 968 
Apr  6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: DBG:dialog:dlg_replicated_create: Received replicated dialog! 
Apr  6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: DBG:core:bin_pop_str: Popped: 'udp:192.168.80.2:5060' [22] 
Apr  6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: DBG:core:grep_sock_info: checking if host==us: 13==13 &&  [192.168.80.2] == [192.168.80.2] 
Apr  6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: DBG:core:grep_sock_info: checking if port 5060 matches port 5060 
Apr  6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: DBG:core:bin_pop_str: Popped: '' [0] 
Apr  6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: ERROR:dialog:dlg_replicated_create: Dialog in DB doesn't match any listening sockets 


# netstat -nlp | grep opensips
udp        0      0 192.168.80.2:5060      0.0.0.0:*                           18101/opensips  
udp        0      0 10.1.0.42:5092           0.0.0.0:*                           18101/opensips  

osips-lb-02 config:


# Binary Interface Settings
bin_listen=10.1.0.42:5092
bin_children=4


listen=udp:192.168.80.2:5060
modparam("dialog", "accept_replicated_dialogs", 1)
modparam("dialog", "replicate_dialogs_to", "10.1.0.41:5092")


osips-lb-01 config:
# Binary Interface Settings
bin_listen=10.1.0.41:5092

listen=udp:192.168.80.2:5060
modparam("dialog", "accept_replicated_dialogs", 1)
modparam("dialog", "replicate_dialogs_to", "10.1.0.42:5092")
# netstat -nlp | grep opensips
udp        0      0 192.168.80.2:5060       0.0.0.0:*                           31940/opensips  
udp        0      0 10.1.0.41:5092             0.0.0.0:*                           31940/opensips  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150406/18759ee2/attachment.htm>


More information about the Users mailing list