[OpenSIPS-Users] uac registrant module issue

J E H A N Z A I B jehanzaib.kiani at gmail.com
Mon Feb 18 03:11:19 EST 2019


Hi folks,

I am facing a weird issue. can anyone help me please?

opensips 2.2.2 with the below config. Trying to register my sip provider
trunk on our opensips.

loadmodule "uac_registrant.so"
modparam("uac_registrant", "hash_size", 2)
modparam("uac_registrant", "timer_interval", 120)
modparam("uac_registrant", "db_url", "mysql://mydbuser:pass@databasename
/mydb")
modparam("uac_registrant", "table_name", "registrant")
modparam("uac_registrant", "username_column", "username")
modparam("uac_registrant", "password_column", "password")
modparam("uac_registrant", "expiry_column", "expiry")
modparam("uac_registrant", "aor_column", "aor")
modparam("uac_registrant", "proxy_column", "proxy")

Here is the table structure.
| id | registrar | proxy   | aor | third_party_registrant | username |
password| binding_URI | binding_params | expiry | forced_socket
When i reload: opensipsctl fifo reg_reload
Feb 18 20:39:56 sbc1 /usr/sbin/opensips[14223]:
DBG:db_mysql:db_mysql_str2val: converting INT [180]
Feb 18 20:39:56 sbc1 /usr/sbin/opensips[14223]:
INFO:uac_registrant:load_reg_info_from_db: loading [1] records from db
Feb 18 20:39:56 sbc1 /usr/sbin/opensips[14223]: ERROR:core:parse_uri: bad
uri, state 0 parsed: <test01> (4) / <test0102-p01.mytestprovider.com> (22)
Feb 18 20:39:56 sbc1 /usr/sbin/opensips[14223]:
ERROR:uac_registrant:load_reg_info_from_db: cannot parse registrar uri [
test0102-p01.mytestprovider.com]


Regards,
Jehanzaib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190218/68ac95b8/attachment.html>


More information about the Users mailing list