need to change IAX port - what about ASTblind and ASTloop

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

need to change IAX port - what about ASTblind and ASTloop

Postby ZibiX » Tue Aug 26, 2014 5:26 pm

Hi.

I want to change default port 4569 for IAX that is used for my agents to connect to system.

When I change this port in etc/asterisk/iax.conf and then rebooted the system (why iax2 reload command in CLI doesent work?) my agents can connect to system using new port.

But ASTblind and ASTloop are unregistered. Also when i change this port (4 diferent ports) on my all 4 dialers thy also are unregistered.

Where can i change the port for ASTblind and ASTloop and IAX2 sesions for my dialers?
ZibiX
 
Posts: 107
Joined: Wed Jul 03, 2013 5:36 am
Location: Poland

Re: need to change IAX port - what about ASTblind and ASTloo

Postby mflorell » Tue Aug 26, 2014 10:33 pm

You would have to alter the code of the relay control script that forwards the different ports to the IAX2 ports for those trunks.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: need to change IAX port - what about ASTblind and ASTloo

Postby ZibiX » Wed Aug 27, 2014 2:40 am

Thank you very much mflorell for answer. Tell me where can i find this script and what data should be altered. Lets just say that my my IAX part should be 44569.

I'm really looking forward for your answer.
ZibiX
 
Posts: 107
Joined: Wed Jul 03, 2013 5:36 am
Location: Poland

Re: need to change IAX port - what about ASTblind and ASTloo

Postby ZibiX » Wed Aug 27, 2014 3:08 am

Ok, I have found this script. It is located in: /usr/share/astguiclient/ip_relay/relay_control

Now the second part:

vici1:~ # asterisk -rx "iax2 show peers"
Name/Username Host Mask Port Status
vici2 192.168.0.210 (D) 255.255.255.255 4569 OK (3 ms)
vici3 192.168.0.205 (D) 255.255.255.255 4569 OK (3 ms)
vici4 192.168.0.204 (D) 255.255.255.255 4569 OK (3 ms)

and

vici1:~ # asterisk -rx "iax2 show registry"
Host dnsmgr Username Perceived Refresh State
192.168.0.210:4569 N vici1 192.168.0.215:4569 60 Registered
192.168.0.205:4569 N vici1 192.168.0.215:4569 60 Registered
192.168.0.204:4569 N vici1 192.168.0.215:4569 60 Registered

When i change IAX port my dialers get unregistered. I believe this is for load balancing. I did not find information in relay control script about this IAX connection.

Where can I change this option to prevent dialers from unregistered?
ZibiX
 
Posts: 107
Joined: Wed Jul 03, 2013 5:36 am
Location: Poland


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 66 guests