[asterisk-users] IAX port 4569

Christopher van de Sande cvandesande at opendmz.com
Mon Jun 5 20:15:54 CDT 2017


>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, thelma at sys-concept.com wrote:
> yes it does.
> netstat -nap | grep 4569 
> udp        0      0 0.0.0.0:4569            0.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.
>>
>> udp        0      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.junior at safetrend.com.br
>>
>> Em 05/06/2017 17:22, thelma at 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, <thelma at sys-concept.com> 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, thelma at sys-concept.com wrote:
>>>>>>> I'm getting:
>>>>>>> netstat -a |grep 4569
>>>>>>> udp        0      0 0.0.0.0:4569            0.0.0.0:*
>>>>>>>
>>>>>>> Should I be getting localhost IP?
>>>>>>>
>>>>>>> Thelma
>>>>>>>
>>>>>>> On 06/05/2017 06:48 AM, thelma at 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
>>>>>
>>>>
>>



More information about the asterisk-users mailing list