Re: [asterisk-users] IAX port 4569

2017-06-06 Thread Helvio Junior

Run this command:

tcpdump -pni any -s0 -vvv port 4569 -w /tmp/iax.pcap

Try to authenticate and do calls, after that stop the command and send 
to us the file /tmp/iax.pcap that i can see and help you.


If you want add-me at whatsapp

Att,
Hélvio Junior
dCAA - Digium Certified Asterisk Administrator
SafeId - Gestão de identidades e Acessos
+55 41 | 9 9855-9300, single-sign-on.com.br
helvio.jun...@safetrend.com.br

Em 05/06/2017 20:35, the...@sys-concept.com escreveu:

yes it does.
netstat -nap | grep 4569
udp0  0 0.0.0.0:45690.0.0.0:*   
17375/asterisk


Thelma
On 06/05/2017 03:10 PM, Helvio Junior wrote:

Use the command bellow to check if is Asterisk opening the port.

netstat -nap | grep 4569

You need to see something like this output, otherwise your asterisk is
not opening the port.

udp0  0 0.0.0.0:4569 0.0.0.0:*
10244/asterisk

Att,
Hélvio Junior
dCAA - Digium Certified Asterisk Administrator
SafeId - Gestão de identidades e Acessos
+55 41 | 9 9855-9300, single-sign-on.com.br
helvio.jun...@safetrend.com.br

Em 05/06/2017 17:22, the...@sys-concept.com escreveu:

Yes, it is working!

tcpdump -ni any port 4569
dropped privs to tcpdump
tcpdump: verbose output suppressed, use -v or -vv for full protocol
decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size
262144 bytes
14:20:42.184521 IP 10.0.0.108.4569 > 10.0.0.100.4569: UDP, length 53
14:20:42.184921 IP 10.0.0.100.4569 > 10.0.0.108.4569: UDP, length 37
14:20:42.190529 IP 10.0.0.108.4569 > 10.0.0.100.4569: UDP, length 83
14:20:42.190639 IP 10.0.0.100.4569 > 10.0.0.108.4569: UDP, length 71
14:20:42.191378 IP 10.0.0.108.4569 > 10.0.0.100.4569: UDP, length 12
14:20:45.320191 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP,
length 31
14:20:45.338718 IP 192.168.141.1.4569 > 192.168.141.7.4569: UDP,
length 65
14:20:45.338875 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP,
length 82
14:20:45.357173 IP 192.168.141.1.4569 > 192.168.141.7.4569: UDP,
length 40
14:20:45.357331 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP,
length 65
14:20:45.376559 IP 192.168.141.1.4569 > 192.168.141.7.4569: UDP,
length 53
14:20:45.376630 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP,
length 12
^C
12 packets captured
12 packets received by filter
0 packets dropped by kernel


Thelma
On 06/05/2017 02:17 PM, Marcelo Terres wrote:

You can use tcpdump in your server to verify if it is receiving the
packets.

tcpdump -ni any port 4569

So you have more than one ip in the server?

On 5 Jun 2017 9:13 pm,  wrote:


No, I don't think it is IP table issue, I've not upgraded dd-wrt for a
while and it was zoiper was working OK with my previous version of
asterisk.

After upgrade to 11.25.1 it stop working.
I'm sure port forwarding on dd-wrt is working OK as I have port 80 and
443 open.


Thelma
On 06/05/2017 07:12 AM, Christopher van de Sande wrote:

Another might be to make sure iptables isn't blocking the connection.

You can run
iptables -L -n -v
To see if its set to block any ports.


On June 5, 2017 9:06:55 AM EDT, the...@sys-concept.com wrote:

I'm getting:
netstat -a |grep 4569
udp0  0 0.0.0.0:45690.0.0.0:*

Should I be getting localhost IP?

Thelma

On 06/05/2017 06:48 AM, the...@sys-concept.com wrote:

Does asterisk listen on port 4569 by default?

I'm running version Asterisk 11.25.1 and have a problem registering
Zoiper (IAX) to Asterisk.
I'm getting an error:
Registration refused


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at:
https://community.asterisk.org/

New to Asterisk? Start here:
   https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at:
https://community.asterisk.
org/

New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users








--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] IAX port 4569

2017-06-06 Thread Tony Mountifield
In article <87af2f00-9973-f338-1cbc-9ce0a5bf7...@sys-concept.com>,
  wrote:
> Doesn't matter how much I increase the verbose output
> asterisk -vvr
> asterisk will not even print a single line.

Check the settings in /etc/asterisk/logger.conf, for example:

...
;debug => debug
;security => security
;console => notice,warning,error
;console => notice,warning,error,debug
console => notice,warning,error,debug,verbose(5)
messages => notice,warning,error
full => notice,warning,error,debug,verbose,dtmf,fax
...

If you don't have verbose listed for console, then AFAIK, you won't
see verbose messages however many -v options you give it!

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IAX port 4569

2017-06-05 Thread Christopher van de Sande
From the tcpdump I'd say your asterisk server is talking to Zoiper.

I think Victor suggested turning on "iax2 set debug on". You should see
the raw the messages there. You might even see why Asterisk is refusing
the registration.

Chris
On 05/06/17 07:35 PM, the...@sys-concept.com wrote:
> yes it does.
> netstat -nap | grep 4569 
> udp0  0 0.0.0.0:45690.0.0.0:* 
>   17375/asterisk
>
>
> Thelma
> On 06/05/2017 03:10 PM, Helvio Junior wrote:
>> Use the command bellow to check if is Asterisk opening the port.
>>
>> netstat -nap | grep 4569
>>
>> You need to see something like this output, otherwise your asterisk is
>> not opening the port.
>>
>> udp0  0 0.0.0.0:4569 0.0.0.0:*  
>> 10244/asterisk
>>
>> Att,
>> Hélvio Junior
>> dCAA - Digium Certified Asterisk Administrator
>> SafeId - Gestão de identidades e Acessos
>> +55 41 | 9 9855-9300, single-sign-on.com.br
>> helvio.jun...@safetrend.com.br
>>
>> Em 05/06/2017 17:22, the...@sys-concept.com escreveu:
>>> Yes, it is working!
>>>
>>> tcpdump -ni any port 4569
>>> dropped privs to tcpdump
>>> tcpdump: verbose output suppressed, use -v or -vv for full protocol
>>> decode
>>> listening on any, link-type LINUX_SLL (Linux cooked), capture size
>>> 262144 bytes
>>> 14:20:42.184521 IP 10.0.0.108.4569 > 10.0.0.100.4569: UDP, length 53
>>> 14:20:42.184921 IP 10.0.0.100.4569 > 10.0.0.108.4569: UDP, length 37
>>> 14:20:42.190529 IP 10.0.0.108.4569 > 10.0.0.100.4569: UDP, length 83
>>> 14:20:42.190639 IP 10.0.0.100.4569 > 10.0.0.108.4569: UDP, length 71
>>> 14:20:42.191378 IP 10.0.0.108.4569 > 10.0.0.100.4569: UDP, length 12
>>> 14:20:45.320191 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP,
>>> length 31
>>> 14:20:45.338718 IP 192.168.141.1.4569 > 192.168.141.7.4569: UDP,
>>> length 65
>>> 14:20:45.338875 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP,
>>> length 82
>>> 14:20:45.357173 IP 192.168.141.1.4569 > 192.168.141.7.4569: UDP,
>>> length 40
>>> 14:20:45.357331 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP,
>>> length 65
>>> 14:20:45.376559 IP 192.168.141.1.4569 > 192.168.141.7.4569: UDP,
>>> length 53
>>> 14:20:45.376630 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP,
>>> length 12
>>> ^C
>>> 12 packets captured
>>> 12 packets received by filter
>>> 0 packets dropped by kernel
>>>
>>>
>>> Thelma
>>> On 06/05/2017 02:17 PM, Marcelo Terres wrote:
 You can use tcpdump in your server to verify if it is receiving the
 packets.

 tcpdump -ni any port 4569

 So you have more than one ip in the server?

 On 5 Jun 2017 9:13 pm,  wrote:

> No, I don't think it is IP table issue, I've not upgraded dd-wrt for a
> while and it was zoiper was working OK with my previous version of
> asterisk.
>
> After upgrade to 11.25.1 it stop working.
> I'm sure port forwarding on dd-wrt is working OK as I have port 80 and
> 443 open.
>
>
> Thelma
> On 06/05/2017 07:12 AM, Christopher van de Sande wrote:
>> Another might be to make sure iptables isn't blocking the connection.
>>
>> You can run
>> iptables -L -n -v
>> To see if its set to block any ports.
>>
>>
>> On June 5, 2017 9:06:55 AM EDT, the...@sys-concept.com wrote:
>>> I'm getting:
>>> netstat -a |grep 4569
>>> udp0  0 0.0.0.0:45690.0.0.0:*
>>>
>>> Should I be getting localhost IP?
>>>
>>> Thelma
>>>
>>> On 06/05/2017 06:48 AM, the...@sys-concept.com wrote:
 Does asterisk listen on port 4569 by default?

 I'm running version Asterisk 11.25.1 and have a problem registering
 Zoiper (IAX) to Asterisk.
 I'm getting an error:
 Registration refused

>>> -- 
>>> _
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>
>>> Check out the new Asterisk community forum at:
>>> https://community.asterisk.org/
>>>
>>> New to Asterisk? Start here:
>>>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>
> -- 
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.
> org/
>
> New to Asterisk? Start here:
>https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>

>>

-- 

Re: [asterisk-users] IAX port 4569

2017-06-05 Thread thelma
yes it does.
netstat -nap | grep 4569 
udp0  0 0.0.0.0:45690.0.0.0:*   
17375/asterisk


Thelma
On 06/05/2017 03:10 PM, Helvio Junior wrote:
> Use the command bellow to check if is Asterisk opening the port.
> 
> netstat -nap | grep 4569
> 
> You need to see something like this output, otherwise your asterisk is
> not opening the port.
> 
> udp0  0 0.0.0.0:4569 0.0.0.0:*  
> 10244/asterisk
> 
> Att,
> Hélvio Junior
> dCAA - Digium Certified Asterisk Administrator
> SafeId - Gestão de identidades e Acessos
> +55 41 | 9 9855-9300, single-sign-on.com.br
> helvio.jun...@safetrend.com.br
> 
> Em 05/06/2017 17:22, the...@sys-concept.com escreveu:
>> Yes, it is working!
>>
>> tcpdump -ni any port 4569
>> dropped privs to tcpdump
>> tcpdump: verbose output suppressed, use -v or -vv for full protocol
>> decode
>> listening on any, link-type LINUX_SLL (Linux cooked), capture size
>> 262144 bytes
>> 14:20:42.184521 IP 10.0.0.108.4569 > 10.0.0.100.4569: UDP, length 53
>> 14:20:42.184921 IP 10.0.0.100.4569 > 10.0.0.108.4569: UDP, length 37
>> 14:20:42.190529 IP 10.0.0.108.4569 > 10.0.0.100.4569: UDP, length 83
>> 14:20:42.190639 IP 10.0.0.100.4569 > 10.0.0.108.4569: UDP, length 71
>> 14:20:42.191378 IP 10.0.0.108.4569 > 10.0.0.100.4569: UDP, length 12
>> 14:20:45.320191 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP,
>> length 31
>> 14:20:45.338718 IP 192.168.141.1.4569 > 192.168.141.7.4569: UDP,
>> length 65
>> 14:20:45.338875 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP,
>> length 82
>> 14:20:45.357173 IP 192.168.141.1.4569 > 192.168.141.7.4569: UDP,
>> length 40
>> 14:20:45.357331 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP,
>> length 65
>> 14:20:45.376559 IP 192.168.141.1.4569 > 192.168.141.7.4569: UDP,
>> length 53
>> 14:20:45.376630 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP,
>> length 12
>> ^C
>> 12 packets captured
>> 12 packets received by filter
>> 0 packets dropped by kernel
>>
>>
>> Thelma
>> On 06/05/2017 02:17 PM, Marcelo Terres wrote:
>>> You can use tcpdump in your server to verify if it is receiving the
>>> packets.
>>>
>>> tcpdump -ni any port 4569
>>>
>>> So you have more than one ip in the server?
>>>
>>> On 5 Jun 2017 9:13 pm,  wrote:
>>>
 No, I don't think it is IP table issue, I've not upgraded dd-wrt for a
 while and it was zoiper was working OK with my previous version of
 asterisk.

 After upgrade to 11.25.1 it stop working.
 I'm sure port forwarding on dd-wrt is working OK as I have port 80 and
 443 open.


 Thelma
 On 06/05/2017 07:12 AM, Christopher van de Sande wrote:
> Another might be to make sure iptables isn't blocking the connection.
>
> You can run
> iptables -L -n -v
> To see if its set to block any ports.
>
>
> On June 5, 2017 9:06:55 AM EDT, the...@sys-concept.com wrote:
>> I'm getting:
>> netstat -a |grep 4569
>> udp0  0 0.0.0.0:45690.0.0.0:*
>>
>> Should I be getting localhost IP?
>>
>> Thelma
>>
>> On 06/05/2017 06:48 AM, the...@sys-concept.com wrote:
>>> Does asterisk listen on port 4569 by default?
>>>
>>> I'm running version Asterisk 11.25.1 and have a problem registering
>>> Zoiper (IAX) to Asterisk.
>>> I'm getting an error:
>>> Registration refused
>>>
>> -- 
>> _
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> Check out the new Asterisk community forum at:
>> https://community.asterisk.org/
>>
>> New to Asterisk? Start here:
>>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
 -- 
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 Check out the new Asterisk community forum at:
 https://community.asterisk.
 org/

 New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users

>>>
>>>
> 
> 

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] IAX port 4569

2017-06-05 Thread Marcelo Terres
There are two different networks connecting in the tcpdump, 10 and 192.

In this example that you send, are you trying to connect from different ips
in different server ips?

Regards,




On 5 Jun 2017 9:23 pm,  wrote:

Yes, it is working!

tcpdump -ni any port 4569
dropped privs to tcpdump
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144
bytes
14:20:42.184521 IP 10.0.0.108.4569 > 10.0.0.100.4569: UDP, length 53
14:20:42.184921 IP 10.0.0.100.4569 > 10.0.0.108.4569: UDP, length 37
14:20:42.190529 IP 10.0.0.108.4569 > 10.0.0.100.4569: UDP, length 83
14:20:42.190639 IP 10.0.0.100.4569 > 10.0.0.108.4569: UDP, length 71
14:20:42.191378 IP 10.0.0.108.4569 > 10.0.0.100.4569: UDP, length 12
14:20:45.320191 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP, length 31
14:20:45.338718 IP 192.168.141.1.4569 > 192.168.141.7.4569: UDP, length 65
14:20:45.338875 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP, length 82
14:20:45.357173 IP 192.168.141.1.4569 > 192.168.141.7.4569: UDP, length 40
14:20:45.357331 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP, length 65
14:20:45.376559 IP 192.168.141.1.4569 > 192.168.141.7.4569: UDP, length 53
14:20:45.376630 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP, length 12
^C
12 packets captured
12 packets received by filter
0 packets dropped by kernel


Thelma
On 06/05/2017 02:17 PM, Marcelo Terres wrote:
> You can use tcpdump in your server to verify if it is receiving the
> packets.
>
> tcpdump -ni any port 4569
>
> So you have more than one ip in the server?
>
> On 5 Jun 2017 9:13 pm,  wrote:
>
>> No, I don't think it is IP table issue, I've not upgraded dd-wrt for a
>> while and it was zoiper was working OK with my previous version of
>> asterisk.
>>
>> After upgrade to 11.25.1 it stop working.
>> I'm sure port forwarding on dd-wrt is working OK as I have port 80 and
>> 443 open.
>>
>>
>> Thelma
>> On 06/05/2017 07:12 AM, Christopher van de Sande wrote:
>>> Another might be to make sure iptables isn't blocking the connection.
>>>
>>> You can run
>>> iptables -L -n -v
>>> To see if its set to block any ports.
>>>
>>>
>>> On June 5, 2017 9:06:55 AM EDT, the...@sys-concept.com wrote:
 I'm getting:
 netstat -a |grep 4569
 udp0  0 0.0.0.0:45690.0.0.0:*

 Should I be getting localhost IP?

 Thelma

 On 06/05/2017 06:48 AM, the...@sys-concept.com wrote:
> Does asterisk listen on port 4569 by default?
>
> I'm running version Asterisk 11.25.1 and have a problem registering
> Zoiper (IAX) to Asterisk.
> I'm getting an error:
> Registration refused
>

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 Check out the new Asterisk community forum at:
 https://community.asterisk.org/

 New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>>
>>>
>>
>> --
>> _
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> Check out the new Asterisk community forum at: https://community.asterisk
.
>> org/
>>
>> New to Asterisk? Start here:
>>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
>

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.
org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] IAX port 4569

2017-06-05 Thread Helvio Junior

Use the command bellow to check if is Asterisk opening the port.

netstat -nap | grep 4569

You need to see something like this output, otherwise your asterisk is 
not opening the port.


udp0  0 0.0.0.0:4569 0.0.0.0:*   
10244/asterisk


Att,
Hélvio Junior
dCAA - Digium Certified Asterisk Administrator
SafeId - Gestão de identidades e Acessos
+55 41 | 9 9855-9300, single-sign-on.com.br
helvio.jun...@safetrend.com.br

Em 05/06/2017 17:22, the...@sys-concept.com escreveu:

Yes, it is working!

tcpdump -ni any port 4569
dropped privs to tcpdump
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes
14:20:42.184521 IP 10.0.0.108.4569 > 10.0.0.100.4569: UDP, length 53
14:20:42.184921 IP 10.0.0.100.4569 > 10.0.0.108.4569: UDP, length 37
14:20:42.190529 IP 10.0.0.108.4569 > 10.0.0.100.4569: UDP, length 83
14:20:42.190639 IP 10.0.0.100.4569 > 10.0.0.108.4569: UDP, length 71
14:20:42.191378 IP 10.0.0.108.4569 > 10.0.0.100.4569: UDP, length 12
14:20:45.320191 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP, length 31
14:20:45.338718 IP 192.168.141.1.4569 > 192.168.141.7.4569: UDP, length 65
14:20:45.338875 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP, length 82
14:20:45.357173 IP 192.168.141.1.4569 > 192.168.141.7.4569: UDP, length 40
14:20:45.357331 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP, length 65
14:20:45.376559 IP 192.168.141.1.4569 > 192.168.141.7.4569: UDP, length 53
14:20:45.376630 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP, length 12
^C
12 packets captured
12 packets received by filter
0 packets dropped by kernel


Thelma
On 06/05/2017 02:17 PM, Marcelo Terres wrote:

You can use tcpdump in your server to verify if it is receiving the
packets.

tcpdump -ni any port 4569

So you have more than one ip in the server?

On 5 Jun 2017 9:13 pm,  wrote:


No, I don't think it is IP table issue, I've not upgraded dd-wrt for a
while and it was zoiper was working OK with my previous version of
asterisk.

After upgrade to 11.25.1 it stop working.
I'm sure port forwarding on dd-wrt is working OK as I have port 80 and
443 open.


Thelma
On 06/05/2017 07:12 AM, Christopher van de Sande wrote:

Another might be to make sure iptables isn't blocking the connection.

You can run
iptables -L -n -v
To see if its set to block any ports.


On June 5, 2017 9:06:55 AM EDT, the...@sys-concept.com wrote:

I'm getting:
netstat -a |grep 4569
udp0  0 0.0.0.0:45690.0.0.0:*

Should I be getting localhost IP?

Thelma

On 06/05/2017 06:48 AM, the...@sys-concept.com wrote:

Does asterisk listen on port 4569 by default?

I'm running version Asterisk 11.25.1 and have a problem registering
Zoiper (IAX) to Asterisk.
I'm getting an error:
Registration refused


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at:
https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.
org/

New to Asterisk? Start here:
   https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users







--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IAX port 4569

2017-06-05 Thread thelma
Yes, it is working!

tcpdump -ni any port 4569
dropped privs to tcpdump
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes
14:20:42.184521 IP 10.0.0.108.4569 > 10.0.0.100.4569: UDP, length 53
14:20:42.184921 IP 10.0.0.100.4569 > 10.0.0.108.4569: UDP, length 37
14:20:42.190529 IP 10.0.0.108.4569 > 10.0.0.100.4569: UDP, length 83
14:20:42.190639 IP 10.0.0.100.4569 > 10.0.0.108.4569: UDP, length 71
14:20:42.191378 IP 10.0.0.108.4569 > 10.0.0.100.4569: UDP, length 12
14:20:45.320191 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP, length 31
14:20:45.338718 IP 192.168.141.1.4569 > 192.168.141.7.4569: UDP, length 65
14:20:45.338875 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP, length 82
14:20:45.357173 IP 192.168.141.1.4569 > 192.168.141.7.4569: UDP, length 40
14:20:45.357331 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP, length 65
14:20:45.376559 IP 192.168.141.1.4569 > 192.168.141.7.4569: UDP, length 53
14:20:45.376630 IP 192.168.141.7.4569 > 192.168.141.1.4569: UDP, length 12
^C
12 packets captured
12 packets received by filter
0 packets dropped by kernel


Thelma
On 06/05/2017 02:17 PM, Marcelo Terres wrote:
> You can use tcpdump in your server to verify if it is receiving the
> packets.
> 
> tcpdump -ni any port 4569
> 
> So you have more than one ip in the server?
> 
> On 5 Jun 2017 9:13 pm,  wrote:
> 
>> No, I don't think it is IP table issue, I've not upgraded dd-wrt for a
>> while and it was zoiper was working OK with my previous version of
>> asterisk.
>>
>> After upgrade to 11.25.1 it stop working.
>> I'm sure port forwarding on dd-wrt is working OK as I have port 80 and
>> 443 open.
>>
>>
>> Thelma
>> On 06/05/2017 07:12 AM, Christopher van de Sande wrote:
>>> Another might be to make sure iptables isn't blocking the connection.
>>>
>>> You can run
>>> iptables -L -n -v
>>> To see if its set to block any ports.
>>>
>>>
>>> On June 5, 2017 9:06:55 AM EDT, the...@sys-concept.com wrote:
 I'm getting:
 netstat -a |grep 4569
 udp0  0 0.0.0.0:45690.0.0.0:*

 Should I be getting localhost IP?

 Thelma

 On 06/05/2017 06:48 AM, the...@sys-concept.com wrote:
> Does asterisk listen on port 4569 by default?
>
> I'm running version Asterisk 11.25.1 and have a problem registering
> Zoiper (IAX) to Asterisk.
> I'm getting an error:
> Registration refused
>

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 Check out the new Asterisk community forum at:
 https://community.asterisk.org/

 New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>>
>>>
>>
>> --
>> _
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> Check out the new Asterisk community forum at: https://community.asterisk.
>> org/
>>
>> New to Asterisk? Start here:
>>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>
> 
> 
> 

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IAX port 4569

2017-06-05 Thread Victor Villarreal
I think you need to increase verbose output and search in
/var/log/asterisk/full for any error message related to IAX2 registration
or simil.

2017-06-05 17:12 GMT-03:00 :

> No, I don't think it is IP table issue, I've not upgraded dd-wrt for a
> while and it was zoiper was working OK with my previous version of
> asterisk.
>
> After upgrade to 11.25.1 it stop working.
> I'm sure port forwarding on dd-wrt is working OK as I have port 80 and
> 443 open.
>
>
> Thelma
> On 06/05/2017 07:12 AM, Christopher van de Sande wrote:
> > Another might be to make sure iptables isn't blocking the connection.
> >
> > You can run
> > iptables -L -n -v
> > To see if its set to block any ports.
> >
> >
> > On June 5, 2017 9:06:55 AM EDT, the...@sys-concept.com wrote:
> >> I'm getting:
> >> netstat -a |grep 4569
> >> udp0  0 0.0.0.0:45690.0.0.0:*
> >>
> >> Should I be getting localhost IP?
> >>
> >> Thelma
> >>
> >> On 06/05/2017 06:48 AM, the...@sys-concept.com wrote:
> >>> Does asterisk listen on port 4569 by default?
> >>>
> >>> I'm running version Asterisk 11.25.1 and have a problem registering
> >>> Zoiper (IAX) to Asterisk.
> >>> I'm getting an error:
> >>> Registration refused
> >>>
> >>
> >> --
> >> _
> >> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >>
> >> Check out the new Asterisk community forum at:
> >> https://community.asterisk.org/
> >>
> >> New to Asterisk? Start here:
> >>  https://wiki.asterisk.org/wiki/display/AST/Getting+Started
> >>
> >> asterisk-users mailing list
> >> To UNSUBSCRIBE or update options visit:
> >>   http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> >
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
GnuPG Key ID: 0x39BCA9D8
https://www.github.com/mefhigoseth
...:::[ God Rulz ! ]:::...
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] IAX port 4569

2017-06-05 Thread Marcelo Terres
You can use tcpdump in your server to verify if it is receiving the
packets.

tcpdump -ni any port 4569

So you have more than one ip in the server?

On 5 Jun 2017 9:13 pm,  wrote:

> No, I don't think it is IP table issue, I've not upgraded dd-wrt for a
> while and it was zoiper was working OK with my previous version of
> asterisk.
>
> After upgrade to 11.25.1 it stop working.
> I'm sure port forwarding on dd-wrt is working OK as I have port 80 and
> 443 open.
>
>
> Thelma
> On 06/05/2017 07:12 AM, Christopher van de Sande wrote:
> > Another might be to make sure iptables isn't blocking the connection.
> >
> > You can run
> > iptables -L -n -v
> > To see if its set to block any ports.
> >
> >
> > On June 5, 2017 9:06:55 AM EDT, the...@sys-concept.com wrote:
> >> I'm getting:
> >> netstat -a |grep 4569
> >> udp0  0 0.0.0.0:45690.0.0.0:*
> >>
> >> Should I be getting localhost IP?
> >>
> >> Thelma
> >>
> >> On 06/05/2017 06:48 AM, the...@sys-concept.com wrote:
> >>> Does asterisk listen on port 4569 by default?
> >>>
> >>> I'm running version Asterisk 11.25.1 and have a problem registering
> >>> Zoiper (IAX) to Asterisk.
> >>> I'm getting an error:
> >>> Registration refused
> >>>
> >>
> >> --
> >> _
> >> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >>
> >> Check out the new Asterisk community forum at:
> >> https://community.asterisk.org/
> >>
> >> New to Asterisk? Start here:
> >>  https://wiki.asterisk.org/wiki/display/AST/Getting+Started
> >>
> >> asterisk-users mailing list
> >> To UNSUBSCRIBE or update options visit:
> >>   http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> >
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] IAX port 4569

2017-06-05 Thread thelma
No, I don't think it is IP table issue, I've not upgraded dd-wrt for a
while and it was zoiper was working OK with my previous version of asterisk.

After upgrade to 11.25.1 it stop working.
I'm sure port forwarding on dd-wrt is working OK as I have port 80 and
443 open.


Thelma
On 06/05/2017 07:12 AM, Christopher van de Sande wrote:
> Another might be to make sure iptables isn't blocking the connection.
> 
> You can run 
> iptables -L -n -v 
> To see if its set to block any ports.
> 
> 
> On June 5, 2017 9:06:55 AM EDT, the...@sys-concept.com wrote:
>> I'm getting:
>> netstat -a |grep 4569
>> udp0  0 0.0.0.0:45690.0.0.0:*
>>
>> Should I be getting localhost IP?
>>
>> Thelma
>>
>> On 06/05/2017 06:48 AM, the...@sys-concept.com wrote:
>>> Does asterisk listen on port 4569 by default?
>>>
>>> I'm running version Asterisk 11.25.1 and have a problem registering
>>> Zoiper (IAX) to Asterisk.
>>> I'm getting an error:
>>> Registration refused
>>>
>>
>> -- 
>> _
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> Check out the new Asterisk community forum at:
>> https://community.asterisk.org/
>>
>> New to Asterisk? Start here:
>>  https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> 

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IAX port 4569

2017-06-05 Thread Christopher van de Sande
Another might be to make sure iptables isn't blocking the connection.

You can run 
iptables -L -n -v 
To see if its set to block any ports.


On June 5, 2017 9:06:55 AM EDT, the...@sys-concept.com wrote:
>I'm getting:
>netstat -a |grep 4569
>udp0  0 0.0.0.0:45690.0.0.0:*
>
>Should I be getting localhost IP?
>
>Thelma
>
>On 06/05/2017 06:48 AM, the...@sys-concept.com wrote:
>> Does asterisk listen on port 4569 by default?
>> 
>> I'm running version Asterisk 11.25.1 and have a problem registering
>> Zoiper (IAX) to Asterisk.
>> I'm getting an error:
>> Registration refused
>> 
>
>-- 
>_
>-- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
>Check out the new Asterisk community forum at:
>https://community.asterisk.org/
>
>New to Asterisk? Start here:
>  https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
>asterisk-users mailing list
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] IAX port 4569

2017-06-05 Thread Victor Villarreal
No. The 0.0.0.0 listen address is fine.

El 5 jun. 2017 10:06,  escribió:

> I'm getting:
> netstat -a |grep 4569
> udp0  0 0.0.0.0:45690.0.0.0:*
>
> Should I be getting localhost IP?
>
> Thelma
>
> On 06/05/2017 06:48 AM, the...@sys-concept.com wrote:
> > Does asterisk listen on port 4569 by default?
> >
> > I'm running version Asterisk 11.25.1 and have a problem registering
> > Zoiper (IAX) to Asterisk.
> > I'm getting an error:
> > Registration refused
> >
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] IAX port 4569

2017-06-05 Thread thelma
I'm getting:
netstat -a |grep 4569
udp0  0 0.0.0.0:45690.0.0.0:*

Should I be getting localhost IP?

Thelma

On 06/05/2017 06:48 AM, the...@sys-concept.com wrote:
> Does asterisk listen on port 4569 by default?
> 
> I'm running version Asterisk 11.25.1 and have a problem registering
> Zoiper (IAX) to Asterisk.
> I'm getting an error:
> Registration refused
> 

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IAX port 4569

2017-06-05 Thread Victor Villarreal
Another idea:

* Run netstat -tulpn command on Linux box AND look if there are an Asterisk
process listening on 4569 UDP port on 0.0.0.0

El 5 jun. 2017 10:00, "Victor Villarreal"  escribió:

> Dear Thelma,
>
> Yes. Asterisk listen on port 4569 UDP on default config.
>
> Please, look at the Asterisk logfile, for clues about your issue. Or
> enable IAX2 debug vía Asterisk CLI.
>
> Other ideas:
>
> * Check that your server firewall permit UDP port 4569 incoming traffic.
>
> * Run tcpdump over the network interface of your server where the
> registration packets suppose come in. Look ir at least the softphone
> registration request are reaching the server.
>
> * Check if the credentials configured un the softphone mach the
> credentials configured on the server.
>
> Cheers
>
> El 5 jun. 2017 9:48,  escribió:
>
>> Does asterisk listen on port 4569 by default?
>>
>> I'm running version Asterisk 11.25.1 and have a problem registering
>> Zoiper (IAX) to Asterisk.
>> I'm getting an error:
>> Registration refused
>>
>> --
>> Thelma
>>
>> --
>> _
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> Check out the new Asterisk community forum at:
>> https://community.asterisk.org/
>>
>> New to Asterisk? Start here:
>>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] IAX port 4569

2017-06-05 Thread Victor Villarreal
Dear Thelma,

Yes. Asterisk listen on port 4569 UDP on default config.

Please, look at the Asterisk logfile, for clues about your issue. Or enable
IAX2 debug vía Asterisk CLI.

Other ideas:

* Check that your server firewall permit UDP port 4569 incoming traffic.

* Run tcpdump over the network interface of your server where the
registration packets suppose come in. Look ir at least the softphone
registration request are reaching the server.

* Check if the credentials configured un the softphone mach the credentials
configured on the server.

Cheers

El 5 jun. 2017 9:48,  escribió:

> Does asterisk listen on port 4569 by default?
>
> I'm running version Asterisk 11.25.1 and have a problem registering
> Zoiper (IAX) to Asterisk.
> I'm getting an error:
> Registration refused
>
> --
> Thelma
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] IAX port 4569

2017-06-05 Thread Marcelo Terres
Is it enabled in the iax.conf file?

Regards,
Marcelo H. Terres 
IM: mhter...@jabber.mundoopensource.com.br
https://www.mundoopensource.com.br
https://twitter.com/mhterres
https://linkedin.com/in/marceloterres


On 5 June 2017 at 13:48,   wrote:
> Does asterisk listen on port 4569 by default?
>
> I'm running version Asterisk 11.25.1 and have a problem registering
> Zoiper (IAX) to Asterisk.
> I'm getting an error:
> Registration refused
>
> --
> Thelma
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] IAX port 4569

2017-06-05 Thread thelma
Does asterisk listen on port 4569 by default?

I'm running version Asterisk 11.25.1 and have a problem registering
Zoiper (IAX) to Asterisk.
I'm getting an error:
Registration refused

-- 
Thelma

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IAX port

2015-02-10 Thread jg





I get an occasional similar problem, we have Mikrotik firewalls and from tcpdump monitoring on 
the asterisk boxes I can see that the firewall (unbidden) has changed the IAX port. Usually a 
firewall reset and sometimes PBX reset combination fixes it.


Its odd as its only one direction, occurs rarely and with no obvious driver. So IAX is happy 
in one direction but not the other. And I can see packets in the unhappy point arriving on the 
wrong port.


I couldn't fix it without kicking the router/firewall so I would say its a router problem in 
the Destination NAT process.


Cheers Duncan



Port is changed when NAT is applied from LAN to WAN.
While UDP session is maintained as ESTABLISHED, that port should not change.

If your peer changes constantly of session port could be UDP session
is too short in NAT table on routers.
You can try setting qualify=1000 (which is in ms. Default is 2000),
and see if peer keeps same port.

Regards.


voip-info.org also has an entry about general NAT related issues, which could 
be relevant here

I do not seem to have problems with Netgear firewalls, but other firewalls show this effect. So 
far it happened only on a single side, such that calls work from the other side. I already 
checked the open ports with nc/ncat/netcat as UDP sender and receiver on the other end. The 
ports are open, even when the arbitrary ports are used by Asterisk.


I'll need to read a bit more and evaluate my pcap traces and possibly ask the 
router vendors.

Thank you for your efforts.

jg


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IAX port

2015-02-10 Thread Ishfaq Malik
On 10 February 2015 at 09:02, jg webaccounts...@jgoettgens.de wrote:




 I get an occasional similar problem, we have Mikrotik firewalls and from
 tcpdump monitoring on the asterisk boxes I can see that the firewall
 (unbidden) has changed the IAX port. Usually a firewall reset and sometimes
 PBX reset combination fixes it.

 Its odd as its only one direction, occurs rarely and with no obvious
 driver. So IAX is happy in one direction but not the other. And I can see
 packets in the unhappy point arriving on the wrong port.

 I couldn't fix it without kicking the router/firewall so I would say its
 a router problem in the Destination NAT process.

 Cheers Duncan


 Port is changed when NAT is applied from LAN to WAN.
 While UDP session is maintained as ESTABLISHED, that port should not
 change.

 If your peer changes constantly of session port could be UDP session
 is too short in NAT table on routers.
 You can try setting qualify=1000 (which is in ms. Default is 2000),
 and see if peer keeps same port.

 Regards.

  voip-info.org also has an entry about general NAT related issues,
 which could be relevant here

 I do not seem to have problems with Netgear firewalls, but other firewalls
 show this effect. So far it happened only on a single side, such that calls
 work from the other side. I already checked the open ports with
 nc/ncat/netcat as UDP sender and receiver on the other end. The ports are
 open, even when the arbitrary ports are used by Asterisk.

 I'll need to read a bit more and evaluate my pcap traces and possibly ask
 the router vendors.

 Thank you for your efforts.

 jg





Some firewalls have a 'consistent NAT' option that needs to be enabled,
otherwise you get the symptoms described.



-- 

Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: i...@pack-net.co.uk
w: http://www.pack-net.co.uk

Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] IAX port

2015-02-10 Thread Ishfaq Malik
On 10 February 2015 at 12:55, jg webaccounts...@jgoettgens.de wrote:


 Some firewalls have a 'consistent NAT' option that needs to be enabled,
 otherwise you get the symptoms described.

  While reading about NAT, I came across this web site:
 http://nattest.net.in.tum.de/
 The test tool looks at various NAT related properties and prints the
 results related to TCP/UDP binding properties, TCP/UDP hole punching, etc.

 In my case a very short value was reported for the UDP timeout, such that
 depending on the sequence of packets, the entry in the mapping table might
 already have been deleted. This could explain the random nature of my
 connection problem. Port predictability does not seem to be a problem.

 Does that make any sense?

 jg


Yes

UDP timeout being too short is another thing I've experience with firewalls
(admittedly limited and once removed experience). Actually, this one can be
a (mild) problem on Draytek routers and can be resolved by telnetting into
the router and using the portmaptime command.

Also, turn of stateful packet inspection if it is an option.


-- 

Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: i...@pack-net.co.uk
w: http://www.pack-net.co.uk

Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] IAX port

2015-02-10 Thread jg




UDP timeout being too short is another thing I've experience with firewalls (admittedly 
limited and once removed experience). Actually, this one can be a (mild) problem on Draytek 
routers and can be resolved by telnetting into the router and using the portmaptime command.


Also, turn of stateful packet inspection if it is an option.




In this case it is a TP-Link VPN router (TL-ER6...).
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] IAX port

2015-02-10 Thread jg


Some firewalls have a 'consistent NAT' option that needs to be enabled, otherwise you get the 
symptoms described.



While reading about NAT, I came across this web site:
http://nattest.net.in.tum.de/
The test tool looks at various NAT related properties and prints the results related to TCP/UDP 
binding properties, TCP/UDP hole punching, etc.


In my case a very short value was reported for the UDP timeout, such that depending on the 
sequence of packets, the entry in the mapping table might already have been deleted. This could 
explain the random nature of my  connection problem. Port predictability does not seem to be a 
problem.


Does that make any sense?
jg

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] IAX port

2015-02-09 Thread jg

Hi!

Sometimes IAX peers are not reachable and with iax2 set debug on I get 
something like this

Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG
   Timestamp: 00014ms  SCall: 1  DCall: 01200 79.233.155.174:49153
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK
   Timestamp: 00014ms  SCall: 01200  DCall: 1 79.233.155.174:49153

I am not sure what causes port 4569 to be replaced an an arbitrary port, which could be the 
reason for my problem. Does someone know whether this is a router related problem?


jg

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IAX port

2015-02-09 Thread Jose Flores Galicia
2015-02-09 14:36 GMT-06:00 jg webaccounts...@jgoettgens.de:
 Hi!

 Sometimes IAX peers are not reachable and with iax2 set debug on I get
 something like this

 Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG
Timestamp: 00014ms  SCall: 1  DCall: 01200 79.233.155.174:49153
 Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00014ms  SCall: 01200  DCall: 1 79.233.155.174:49153

 I am not sure what causes port 4569 to be replaced an an arbitrary port,
 which could be the reason for my problem. Does someone know whether this is
 a router related problem?

 jg

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Hi.

Port is changed when NAT is applied from LAN to WAN.
While UDP session is maintained as ESTABLISHED, that port should not change.

If your peer changes constantly of session port could be UDP session
is too short in NAT table on routers.
You can try setting qualify=1000 (which is in ms. Default is 2000),
and see if peer keeps same port.

Regards.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IAX port

2015-02-09 Thread Duncan Turnbull



On 10 Feb 2015, at 12:22, Jose Flores Galicia wrote:


2015-02-09 14:36 GMT-06:00 jg webaccounts...@jgoettgens.de:

Hi!

Sometimes IAX peers are not reachable and with iax2 set debug on I 
get

something like this

Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: 
PONG

Timestamp: 00014ms  SCall: 1  DCall: 01200 79.233.155.174:49153
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX 
Subclass: ACK

Timestamp: 00014ms  SCall: 01200  DCall: 1 79.233.155.174:49153

I am not sure what causes port 4569 to be replaced an an arbitrary 
port,
which could be the reason for my problem. Does someone know whether 
this is

a router related problem?

jg


I get an occasional similar problem, we have Mikrotik firewalls and from 
tcpdump monitoring on the asterisk boxes I can see that the firewall 
(unbidden) has changed the IAX port. Usually a firewall reset and 
sometimes PBX reset combination fixes it.


Its odd as its only one direction, occurs rarely and with no obvious 
driver. So IAX is happy in one direction but not the other. And I can 
see packets in the unhappy point arriving on the wrong port.


I couldn't fix it without kicking the router/firewall so I would say its 
a router problem in the Destination NAT process.


Cheers Duncan




--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


Hi.

Port is changed when NAT is applied from LAN to WAN.
While UDP session is maintained as ESTABLISHED, that port should not 
change.


If your peer changes constantly of session port could be UDP session
is too short in NAT table on routers.
You can try setting qualify=1000 (which is in ms. Default is 2000),
and see if peer keeps same port.

Regards.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] IAX port

2004-11-30 Thread mohammad



HI ALL:I am newbie to IAX, my 
iax.conf is as follows:

[general]
port=5036
.


but I donot why it doesnot listen on UDP PROT 5035, 
instead it listens on 4569

Asterisk CLI debug says:

 [chan_iax2.so] 
= (Inter Asterisk eXchange (Ver 2)) == Manager registered action 
IAXpeers == Parsing '/etc/asterisk/iax.conf': FoundNov 30 11:52:12 
WARNING[1076220544]: chan_iax2.c:6537 set_config: Ignoring port for nowNov 
30 11:52:12 WARNING[1076220544]: chan_iax2.c:6537 set_config: Ignoring port for 
nowNov 30 11:52:12 DEBUG[1076220544]: db.c:163 ast_db_get: Unable to find 
key '9053265824' in family 'IAX/Registry' == Registered channel type 
'IAX2' (Inter Asterisk eXchange Driver (Ver 2)) == Using TOS bits 
16 == IAX Ready and Listening on 0.0.0.0 port 4569 == Loaded 
firmware 'iaxy.bin' == Parsing '/etc/asterisk/iaxprov.conf': 
Found -- Loaded provisioning template 
'default'

Any Suggestion
mohammad
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] IAX port

2004-11-30 Thread Eric Wieling aka ManxPower
mohammad wrote:
HI ALL:

I am newbie to IAX, my iax.conf is as follows:
 

[general]
port=5036
 .
 

 

but I donot why it doesnot listen on UDP PROT 5035, instead it listens 
on 4569
Port 4569 is hard ocded into chan_iax.c.  There is no reason I can think 
of to change it.

--
I am seeking part or full time employment in Toronto, The Netherlands,
or Belgium.  My preference is part time employment in Toronto with
some telecommuting. Currently located in New Orleans, Louisiana and am
happy to relocate. Contact eric at fnords.org.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] IAX port numbers?

2003-12-03 Thread Roy Sigurd Karlsbakk
 I thought the origin of outbound connections were random, but the
 destination was always the port of the service you're attempting to acquire?

That's the case with TCP.
Not UDP.

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] IAX port numbers?

2003-12-02 Thread Matt Lawson
I see that when an Asterisk connects to another one via IAX, it seems to 
use port 4569 for the first one.  But if it has multiple IAX connections 
the additional ports seem to be chosen at random.

Is there anyway to predict, or specify which ports or range of ports to 
use, for the sake of setting up a firewall?  Thanks.



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] IAX port numbers?

2003-12-02 Thread Alastair Maw
On 02/12/03 16:32, Matt Lawson wrote:
I see that when an Asterisk connects to another one via IAX, it seems to 
use port 4569 for the first one.  But if it has multiple IAX connections 
the additional ports seem to be chosen at random.

Is there anyway to predict, or specify which ports or range of ports to 
use, for the sake of setting up a firewall?  Thanks.
Asterisk binds to port 4569 to listen for IAX2 packets. It should send 
from that same socket on port 4569, whether it's sending to a single 
machine or many. If it's sending from random ports, that means Asterisk 
can't bind to port 4569 initially. You should see this in your logs.

Are you sure you're not trying to run multiple asterisks on one machine?

Alastair

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] IAX port numbers?

2003-12-02 Thread Andrew Thompson
- Original Message -
From: Matt Lawson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 11:32 AM
Subject: [Asterisk-Users] IAX port numbers?


 I see that when an Asterisk connects to another one via IAX, it seems to
 use port 4569 for the first one.  But if it has multiple IAX connections
 the additional ports seem to be chosen at random.

 Is there anyway to predict, or specify which ports or range of ports to
 use, for the sake of setting up a firewall?  Thanks.

I thought the origin of outbound connections were random, but the
destination was always the port of the service you're attempting to acquire?

Example: Opera to www.google.com
192.168.0.2:(insert next random port number) -- www.google.com:80

In this situation, any port would be valid going out of a firewall, if it's
going to an acceptable destination port.

-
Andrew Thompson
NetResults, Inc.
(910) 215-9991 x301



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users