No luck with getting to work with zoiper

Hi, i am absolutely new to VoIP, FreePBX and asterisk, but i have some experiences with other systems so…

I downloaded the RPI image flashed, etc… next logged in to freepbx administration, noticed that pages are loading quite slowly, changed admin name/password, setted up first extension, tried to register in zoiper on pc, aaand… it does not work. Since then i added/removed extensions, tried different settings on the extensions changed default port from 5160 to 5060… And it is driving me crazy. I am absolutely desperate! - this took me arround a half of day (and i am pretty sure that it is because of the slow loading) I hope that i am trying to register with right credencials ( login: number@IP pass: secret )

I will get error 403 / forbidden - every time i try to register any number at any extension. Also zoiper does not automacially find any configuration ( sip tls / sip tcp / sip udp / iax udp )

Loading time depends on the CPU, what is your pi? , less than a pi 3+ and you WILL have to wait significantly, even a pi3+ is underpowered for asterisk+apache+FreePBX+ anything else

But that has nothing to do with your registrations, all things asterisk will be exposed in your /var/log/asterisk/full log

Using rpi 3. Also, the /var/log/asterisk/full is here: https:// paste .ee/p/gdMmE (remove spaces, bacause i cannot make post with url.)

The default PJSIP port is 5060.

Please explain a bit more your setup.
You are using ChanSIP or PJSIP? Which port? Is there a firewall between the SIP client and server?
Did you check if you already got banned by fail2ban?

Where does port 4569 come inaywhere for chan_sip or chan_pjsip,

[2018-08-18 22:03:14] VERBOSE[1189] asterisk.c: Remote UNIX connection
[2018-08-18 22:03:14] VERBOSE[13619] asterisk.c: Remote UNIX connection disconnected
[2018-08-18 22:03:35] NOTICE[1257] chan_sip.c: Registration from ‘sip:[email protected]:5160;transport=UDP’ failed for ‘192.168.0.114:63741’ - Wrong password
[2018-08-18 22:03:52] ERROR[1226] pjproject: sip_transport. Error processing 42 bytes packet from UDP 192.168.0.114:4569 : PJSIP syntax error exception when parsing ‘Request Line’ header on line 1 col 1:
\80
– end of packet.
[2018-08-18 22:03:52] ERROR[1226] pjproject: sip_transport. Error processing 42 bytes packet from UDP 192.168.0.114:4569 : PJSIP syntax error exception when parsing ‘Request Line’ header on line 1 col 1:
\80\80
– end of packet.
[2018-08-18 22:03:52] ERROR[1226] pjproject: sip_transport. Error processing 42 bytes packet from UDP 192.168.0.114:4569 : PJSIP syntax error exception when parsing ‘Request Line’ header on line 1 col 1:
\80\80
– end of packet.
[2018-08-18 22:03:53] ERROR[1226] pjproject: sip_transport. Error processing 42 bytes packet from UDP 192.168.0.114:4569 : PJSIP syntax error exception when parsing ‘Request Line’ header on line 1 col 1:
\80\80
– end of packet.
[2018-08-18 22:03:53] WARNING[13659] res_pjsip_registrar.c: Endpoint ‘anonymous’ has no configured AORs
[2018-08-18 22:03:53] ERROR[1226] pjproject: sip_transport. Error processing 42 bytes packet from UDP 192.168.0.114:4569 : PJSIP syntax error exception when parsing ‘Request Line’ header on line 1 col 1:
\80\80
– end of packet.
[2018-08-18 22:03:55] ERROR[1226] pjproject: sip_transport. Error processing 42 bytes packet from UDP 192.168.0.114:4569 : PJSIP syntax error exception when parsing ‘Request Line’ header on line 1 col 1:
\80\80
– end of packet.
[2018-08-18 22:03:58] ERROR[1226] pjproject: sip_transport. Error processing 42 bytes packet from UDP 192.168.0.114:4569 : PJSIP syntax error exception when parsing ‘Request Line’ header on line 1 col 1:
\80\80
– end of packet.
[2018-08-18 22:04:05] ERROR[1226] pjproject: sip_transport. Error processing 42 bytes packet from UDP 192.168.0.114:4569 : PJSIP syntax error exception when parsing ‘Request Line’ header on line 1 col 1:
\80\80
– end of packet.
[2018-08-18 22:04:12] VERBOSE[1189] asterisk.c: Remote UNIX connection
[2018-08-18 22:04:12] ERROR[13684] config_options.c: Unable to load config file ‘acl.conf’
[2018-08-18 22:04:12] WARNING[13684] named_acl.c: Could not reload ACL config

You need to properly configure your zoiper client

Well I am using chan_sip extensions. Ports are: bind port 5160, TLS bind port 5161.

I tried to configure zoiper to register to port 5060 or 5160 both returned 403

So you are probably blocked because you have tried 5060 when you are actually using 5160

Check if you are banned.

You need to choose sip not iax2 if you want to use 5060 (or 5160) , RTFM :wink:

4569 is the port that IAX2 uses, you can create an IAX2 extension if you want . . .

Huh? I didn’t said a word about iax2 and port 4569. I am not using that. As far asi know.

Read your own post :slight_smile:

Error processing 42 bytes packet from UDP 192.168.0.114:4569 : PJSIP syntax error exception when parsing ‘Request Line’ header on line 1 col 1:

acually, that was in the log, so… not in post, so… But i still do not remember that i´ve been trying iax2 but it is possible, because i was desperate, so i started to trying “everything”. Neverless, it looks like i fixed it, but it is a bit wierd… i setted the bind port to 9500 and used the same in the zoiper… and it works, wierd part is, that if i return it to port 5160, it does not work again.

And yet you did, remembered or not. You can’t register an IAX2 extension against any form of SIP channel.

Apparently you just needed to check your work :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.