Hello Fabrizio,

I suspect something wrong with the 200 OK you receive back from your registrar server.

Before the log you mentioned, do you have any other error messages from the same process (it may give some clues on what is wrong with the incoming reply).

Or you could post the 200 reply (get a ngrep or pcap capture).

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 07.07.2014 20:02, Fabrizio Pappolla, Brainy Forge S.r.l. wrote:
Hi i'm trying to use the uac_registrant module but i have this error in syslog:

uac_registrant:run_reg_tm_cback: failed to parse Contact body

here a registrant dump

root@proxysip:~# opensipsctl registrant dump
AOR:: sip:[email protected] expires=300
        state:: INTERNAL_ERROR_STATE
        last_register_sent:: Mon Jul  7 16:46:42 2014
        registration_t_out:: Mon Jul  7 16:51:42 2014
        registrar:: sip:voip.eutelia.it
        binding:: sip:[email protected]
        dst_IP:: IPv4 ip=83.211.227.21


root@proxysip:~# opensipsctl registrant show
registrant table
+----+---------------------+-------+---------------------------------+------------------------+-------------+--------------+---------------------------------+----------------+--------+---------------+ | id | registrar | proxy | aor | third_party_registrant | username | password | binding_URI | binding_params | expiry | forced_socket | +----+---------------------+-------+---------------------------------+------------------------+-------------+--------------+---------------------------------+----------------+--------+---------------+ | 1 | sip:voip.eutelia.it | | sip:[email protected] | | xxxxxxxxxxxxx | passwordvoip | sip:[email protected] | transport=UDP | 300 | | +----+---------------------+-------+---------------------------------+------------------------+-------------+--------------+---------------------------------+----------------+--------+---------------+

in binding uri i've tried to put internal ip of server and it's external ip, but it is the same.

## some useful sections of opensips.cfg###

loadmodule "uac.so"
loadmodule "uac_auth.so"

loadmodule "uac_registrant.so"
modparam("uac_registrant", "hash_size", 2)
modparam("uac_registrant", "timer_interval", 120)
modparam("uac_registrant", "db_url", "mysql://opensips:password@localhost/opensips")

loadmodule "auth.so"
loadmodule "auth_db.so"

[... other module load...]


#### Routing Logic####


standard, no change
## end file##

version: opensips 1.10.0-tls

There's something wrong or incomplete in my configuration to simply register to another server?

_______________________________________________
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

Reply via email to