In my sip.conf, I've got :
[general](+)
; register=>tcp://trunk4ipbx:password@192.168.100.129 ([email]trunk4ipbx%3Apassword@192.168.100.129[/email])
register=>trunk4ipbx:password@192.168.100.129 ([email]trunk4ipbx%3Apassword@192.168.100.129[/email])
When I'm using the TCP line instead of the other, I've got :
[May 26 17:58:42] NOTICE[2859]: chan_sip.c:20169 sip_parse_host: '/' is not a valid port number on line 25 of sip.conf. using default.
[May 26 17:58:42] WARNING[2859]: chan_sip.c:6560 sip_register: Format for registration is [transport://]user[:secret[:authuser]]@domain[:port][/extension][~expiry] at line 25
Is this "register=>tcp://trunk4ipbx:password@192.168.100.129 ([email]trunk4ipbx%3Apassword@192.168.100.129[/email])" statement correct ?
Regards
I read in chan_sip.c that block inside sip_register :