[OpenSIPS-Users] opensips $Revision: 4448 $

2017-01-14 Thread Khalil Khamlichi
Hi,
I am testing opensips 2.2, 2.3 I have tried to configure acc module to save
to db failed calls on drouting configuration, I have found that it does
save only the first failed call (that is the first gateway) it does not
save to database any other failures on second and third gateways that are
tried for the call.
is this the expected behavioure ?
Thanks for your help.

regards,
kh
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Binary replication errors

2017-01-14 Thread Schneur Rosenberg
Hi, I tried to implement binary replication with OpenSIPS ver 2.2.2 and it
floods my logs with the following errors on both servers

Jan 14 21:12:20 sips /sbin/opensips[4484]:
WARNING:dialog:receive_dlg_binary_packet: Invalid dialog binary packet
command: 4 (from XXX.XXX.XXX.XXX:45107)
Jan 14 21:12:20 sip /sbin/opensips[4484]:
ERROR:dialog:receive_dlg_binary_packet: Failed to process a binary packet!

when I do a ngrep its flooding with messsage

T XXX.XXX.XXX.01:46514 -> XXX.XXX.XXX.02:5799 [AP]
P4CKdialog

T XXX.XXX.XXX.02:45107 -> XXX.XXX.XXX.01:5799 [AP]
P4CKdialog

Here are the relevant lines in my config file

listen=bin:xxx.xxx.xxx.01:5799 and on server 2
 listen=bin:xxx.xxx.xxx.02:5799

loadmodule "proto_bin.so"

loadmodule "clusterer.so"
modparam("clusterer", "server_id", 1) and the second server is
modparam("clusterer", "server_id", 2)

modparam("dialog", "accept_replicated_dialogs", 1)
modparam("dialog", "replicate_dialogs_to", 1)
modparam("dialog", "replicate_profiles_to", 1)

modparam("usrloc", "accept_replicated_contacts", 1)
modparam("usrloc", "replicate_contacts_to", 1)
modparam("usrloc", "skip_replicated_db_ops", 1)

I entered both servers in the clusterer table and of course I have
the "db_url" set
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users