I've finaly found the issue. Indeed, there was 2 issues:
1: I had to add option --no-tcp. My configuration is now as follows:
--registrar sip:freephonie.net
--realm freephonie.net
--username 0954xxxxxx
--password xxxxxxxx
--reg-timeout=1800
--no-tcp
==> registration problem solved.
2: I cannot register and make the call with a single command line, because the INVITE message is sent by pjsua before we receive the REGISTERED message from the server, so the server rejects the call. Is it possible to add a delay before sending the INVITE message?
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org