How to solve the port disallowed in XXX IP

All installation and configuration problems and questions

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

How to solve the port disallowed in XXX IP

Postby medomen » Sun May 22, 2016 3:32 am

Hi to All,

I have been trying to setup Vicibox from sometime and I have managed to get a call from vicibox at the end. Thats great for myself. Cheeers!!! Thanks for everyone who contributed in the development of the software.

Now the problem: I want to use "77.72.174.130 on port 6000" as it has a lower latency than the main sip server(77.72.174.129 on port 5060).
When I check the asterisk screen I got the warnings below which says
"Port disallowed in 77.72.174.130:6000"
When I check the sip show peers command:
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
" testcarrier/xxx*xxx (Unspecified) Yes Yes 0 UNKNOWN"

I get this.
How could I solve this?

Trunk Setup:
register =>xx*xxx:xxxx@77.72.174.130:6000
[testcarrier]
disallow=all
allow=ulaw
type=friend
username=xxx*xxxx
secret=xxxx
host=77.72.174.130
port:6000
dtmfmode=rfc2833
context=trunkinbound

Dialplan:

exten => _91XXXXXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXXXXXX,2,Dial(${TESTSIPTRUNK}/${EXTEN:2},,Tor)
exten => _91XXXXXXXXXXXXXX,3,Hangup


Asterisk CLI Output:
vicibox7*CLI> sip show registry
Host dnsmgr Username Refresh State Reg.Time
77.72.174.130:6000 N xxx*xx 105 Registered Sun, 22 May 2016 10:00:16
1 SIP registrations.
vicibox7*CLI> sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
gs102/gs102 151.250.124.214 D Yes Yes 24499 OK (220 ms)
testcarrier/xxx*xxx (Unspecified) Yes Yes 0 UNKNOWN
2 sip peers [Monitored: 1 online, 1 offline Unmonitored: 0 online, 0 offline]
[May 22 10:01:02] WARNING[1732]: config.c:1653 process_text_line: No '=' (equal sign) in line 12 of /etc/asterisk/sip-vicidial.conf
[May 22 10:01:02] == Parsing '/etc/asterisk/users.conf': Found
[May 22 10:01:02] WARNING[1732]: sip/config_parser.c:815 sip_parse_nat_option: nat=yes is deprecated, use nat=force_rport,comedia instead
[May 22 10:01:02] == Using SIP CoS mark 4
[May 22 10:01:03] WARNING[1732]: netsock2.c:182 ast_sockaddr_split_hostport: Port disallowed in 77.72.174.130:6000
[May 22 10:01:03] WARNING[1732]: acl.c:833 resolve_first: Unable to lookup '77.72.174.130:6000'



My Vicidial version:

VERSION: 2.12-555a
BUILD: 160508-1948
© 2016 ViciDial Group


It would be great if you can help me about this.
Thanks for all in Advance.
medomen
 
Posts: 1
Joined: Sun May 22, 2016 2:51 am

Re: How to solve the port disallowed in XXX IP

Postby williamconley » Sun Jul 10, 2016 1:02 pm

This is an asterisk question. Entirely unrelated to Vicidial. Also be aware that the other side of the call may refuse to use that port and/or that port may be in use by another process. In any event, this is not an error caused by Vicidial scripts. It also seems likely to be something you're trying to do that will not ultimately help your cause. I suspect you're having call quality issues and are looking for a way to improve the call quality ... switching to port 6000 is unlikely to bring you joy in that regard. 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

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