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] Extensions of sip trunk

2017-06-05 Thread Steve Edwards

On Tue, 6 Jun 2017, Hans-Peter Jansen wrote:


I wonder, if I really need to grab the extension with
Set(DN=${SIP_HEADER(TO):5}) or something similar?


Yes, something like if they can't fix the R-URI:
exten => X_.,n,Set(TO=${CUT(SIP_HEADER(To),@,1)})
exten => X_.,n,Set(TO=${CUT(TO,:,2)})
exten => X_.,n,Goto(somewhereelsetopreventloops${TO},1)


Sorry for the silly question, but how do I feed the TO variable back to the
usual pattern matching? Assign to $EXTEN?


same = n,   goto(${CONTEXT},${TO},1)

--
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
https://www.linkedin.com/in/steve-edwards-4244281

--
_
-- 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] Extensions of sip trunk

2017-06-05 Thread Hans-Peter Jansen
Hi Daniel,

On Montag, 5. Juni 2017 21:45:01 Daniel Tryba wrote:
> On Mon, Jun 05, 2017 at 06:10:50PM +0200, Hans-Peter Jansen wrote:
> > ; matches 12345678099, too
> > exten => _1234567800,1,Dial(SIP/int)
> > 
> > Except from SIP invite with tcpdump:
> > 
> > INVITE sip:12345678@provider:5060 SIP/2.0
> > From: ;tag=as6bc7cbbc
> > To: 
> 
> 12345678099 doesn't match _1234567800. The problem is the other side is
> setting the R-URI to sip:12345678@provider for any number, so the
> EXTEN matched in the dialplan is 12345678. Ask them to fix this
> problem.

Will do.

> > I wonder, if I really need to grab the extension with
> > Set(DN=${SIP_HEADER(TO):5}) or something similar?
> 
> Yes, something like if they can't fix the R-URI:
> exten => X_.,n,Set(TO=${CUT(SIP_HEADER(To),@,1)})
> exten => X_.,n,Set(TO=${CUT(TO,:,2)})
> exten => X_.,n,Goto(somewhereelsetopreventloops${TO},1)

Sorry for the silly question, but how do I feed the TO variable back to the 
usual pattern matching? Assign to $EXTEN?

> > Another issue is, that I don't like asterisk to decline foreign INVITE
> > requests. Any best practices from within asterisk on how to ignore SIP
> > invitations, that don't match certain criteria (neither local nor from sip
> > provider)?
> 
> Don't enable guest access, or send any unknown/guest to a context that
> will just hangup.

Hmm, tried allowguest=no in general sip.conf section, but this results in 
asterisk responding with  on INVITE from provider, 
and (valid) calls get blocked.

Thanks,
Pete

-- 
_
-- 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] *****SPAM***** Re: IAX port 4569

2017-06-05 Thread Marcelo Terres
Try tcpdump

On 5 Jun 2017 9:41 pm,  wrote:

Doesn't matter how much I increase the verbose output
asterisk -vvr
asterisk will not even print a single line.

How to find out if my firewall has this port open?
https://www.grc.com
is reporting that my port is 4569 is in Stealth mode (so it is closed) :-/


Thelma
On 06/05/2017 02:19 PM, Victor Villarreal wrote:
> 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
>>
>
>
>
>
>

--
_
-- 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] *****SPAM***** Re: IAX port 4569

2017-06-05 Thread Victor Villarreal
Ok..

Maybe you can try with this command, from the Asterisk cli:

cli> core set verbose 5
cli> core set debug 5
cli> iax2 set debug on

And then, try to register with your softphone.

At the end of the test, execute:

cli> iax2 set debug off

And finally, review the logfiles.

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

> Doesn't matter how much I increase the verbose output
> asterisk -vvr
> asterisk will not even print a single line.
>
> How to find out if my firewall has this port open?
> https://www.grc.com
> is reporting that my port is 4569 is in Stealth mode (so it is closed) :-/
>
>
> Thelma
> On 06/05/2017 02:19 PM, Victor Villarreal wrote:
> > 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
> >>
> >
> >
> >
> >
> >
>
> --
> _
> -- 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] *****SPAM***** Re: IAX port 4569

2017-06-05 Thread thelma
Doesn't matter how much I increase the verbose output
asterisk -vvr
asterisk will not even print a single line.

How to find out if my firewall has this port open?
https://www.grc.com
is reporting that my port is 4569 is in Stealth mode (so it is closed) :-/


Thelma
On 06/05/2017 02:19 PM, Victor Villarreal wrote:
> 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
>>
> 
> 
> 
> 
> 

-- 
_
-- 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] Extensions of sip trunk

2017-06-05 Thread Daniel Tryba
On Mon, Jun 05, 2017 at 06:10:50PM +0200, Hans-Peter Jansen wrote:
> ; matches 12345678099, too
> exten => _1234567800,1,Dial(SIP/int)
> 
> Except from SIP invite with tcpdump:
> 
> INVITE sip:12345678@provider:5060 SIP/2.0
> From: ;tag=as6bc7cbbc
> To: 

12345678099 doesn't match _1234567800. The problem is the other side is
setting the R-URI to sip:12345678@provider for any number, so the
EXTEN matched in the dialplan is 12345678. Ask them to fix this
problem.

> I wonder, if I really need to grab the extension with 
> Set(DN=${SIP_HEADER(TO):5}) or something similar?

Yes, something like if they can't fix the R-URI:
exten => X_.,n,Set(TO=${CUT(SIP_HEADER(To),@,1)})
exten => X_.,n,Set(TO=${CUT(TO,:,2)})
exten => X_.,n,Goto(somewhereelsetopreventloops${TO},1)

> Another issue is, that I don't like asterisk to decline foreign INVITE 
> requests. Any best practices from within asterisk on how to ignore SIP 
> invitations, that don't match certain criteria (neither local nor from sip 
> provider)?

Don't enable guest access, or send any unknown/guest to a context that
will just hangup.

-- 
_
-- 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] asterisk 13.16 / pjsip / t.38: res_pjsip_t38.c:207 t38_automatic_reject: Automatically rejecting T.38 request on channel 'PJSIP/91-00000007'

2017-06-05 Thread Joshua Colp
On Mon, Jun 5, 2017, at 04:26 PM, Michael Maier wrote:
> On 06/05/2017 at 06:29 PM, Joshua Colp wrote:
> > On Mon, Jun 5, 2017, at 01:22 PM, Michael Maier wrote:
> >>
> >> Do you have any idea where to start to look at? Adding additional output
> >> in the source code? Which functions could be interesting? I may add own
> >> debug code to see why things are happening as they happen here.
> > 
> > The logic for T.38 negotiation lives all in the res_pjsip_t38 module and
> > the request to negotiate works using a control frame which is handled by
> > the t38_interpret_parameters function. It's up to that to initialize
> > things and then request that a session refresh occurs (which sends the
> > re-invite). That'd be the place to look.
> 
> I added a debug output at the beginning of the function to see if it's
> ever 
> been called.
> 
> t38_interpret_parameters is never been called ... .

That would likely mean that the frame is not getting sent (this also
happens in that module) or that it is getting lost in the bridging
framework. Digging into that is not something that can be expressed in
general terms in email...

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.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] OT: DMARC enabled domains on this list

2017-06-05 Thread Daniel Tryba
On Mon, Jun 05, 2017 at 01:08:17PM -0400, James B. Byrne wrote:
> This is likely the issue surrounding mailing lists rewriting headers
> and/or modifying messages bodies or simply re-transmitting messages as
> the original sender from an unapproved domain. This was discussed at
> length on the ITEF mailing list.  Without seeing your headers and
> those of a recipient it is impossible to be sure but my spidy sense
> tells me this is so.

Subjects (atleast) are being rewritten, a recipient can't verify the
original (signed) hash to match the received message (replay
protection).  Only thing that is needed is a valid DKIM signature after
the subject (and maybe others) has "[asterisk-users]" prepended.

It appears exim 4.76 is being used, that version is recent enough to add
DKIM on sending via smtp.

begin transports

remote_smtp:
driver  = smtp
dkim_domain = lists.digium.com
dkim_selector   = auniqueid
dkim_private_key= /etc/exim4/dkim/list.digium.com-private.pem
dkim_canon  = relaxed

More info for example from:
https://debian-administration.org/article/718/DKIM-signing_outgoing_mail_with_exim4
The hints to do this for only 1 domain if the smtpd is used for others
are all there.
 
> You can manage this in your DNS forward zone by turning off the DMARC
> reporting request. No, I no longer recall the details.  Or you can
> simply direct the incoming reports to /dev/null.

The reports are there to tell you something isn't right (like on this
mailing list). Disabling them is only hiding the problem, people might
be replying with the correct answer to a problem, but the OP might never
gets that message.


-- 
_
-- 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] asterisk 13.16 / pjsip / t.38: res_pjsip_t38.c:207 t38_automatic_reject: Automatically rejecting T.38 request on channel 'PJSIP/91-00000007'

2017-06-05 Thread Michael Maier
On 06/05/2017 at 06:29 PM, Joshua Colp wrote:
> On Mon, Jun 5, 2017, at 01:22 PM, Michael Maier wrote:
>>
>> Do you have any idea where to start to look at? Adding additional output
>> in the source code? Which functions could be interesting? I may add own
>> debug code to see why things are happening as they happen here.
> 
> The logic for T.38 negotiation lives all in the res_pjsip_t38 module and
> the request to negotiate works using a control frame which is handled by
> the t38_interpret_parameters function. It's up to that to initialize
> things and then request that a session refresh occurs (which sends the
> re-invite). That'd be the place to look.

I added a debug output at the beginning of the function to see if it's ever 
been called.

t38_interpret_parameters is never been called ... .


[2017-06-05 20:52:21] DEBUG[719]: res_pjsip_t38.c:772 
create_outgoing_sdp_stream: Not creating outgoing SDP stream: T.38 not enabled
[2017-06-05 20:52:22] DEBUG[719]: res_pjsip_t38.c:772 
create_outgoing_sdp_stream: Not creating outgoing SDP stream: T.38 not enabled
[2017-06-05 20:52:22] DEBUG[719]: res_pjsip_t38.c:768 
create_outgoing_sdp_stream: Not creating outgoing SDP stream: T.38 not enabled
[2017-06-05 20:52:23] DEBUG[719]: res_pjsip_t38.c:772 
create_outgoing_sdp_stream: Not creating outgoing SDP stream: T.38 not enabled
[2017-06-05 20:52:23] DEBUG[921]: res_pjsip_t38.c:772 
create_outgoing_sdp_stream: Not creating outgoing SDP stream: T.38 not enabled
[2017-06-05 20:52:24] DEBUG[719]: res_pjsip_t38.c:268 t38_initialize_session: 
UDPTL initialized on session for PJSIP/91-0003
[2017-06-05 20:52:24] DEBUG[719]: res_pjsip_t38.c:138 t38_change_state: T.38 
state changed to '2' from '0' on channel 'PJSIP/91-0003'
[2017-06-05 20:52:24] DEBUG[719]: res_pjsip_t38.c:696 
defer_incoming_sdp_stream: Deferring incoming SDP stream on PJSIP/91-0003 
for peer re-invite
[2017-06-05 20:52:29] DEBUG[719]: res_pjsip_t38.c:207 t38_automatic_reject: 
Automatically rejecting T.38 request on channel 'PJSIP/91-0003'
[2017-06-05 20:52:29] DEBUG[719]: res_pjsip_t38.c:138 t38_change_state: T.38 
state changed to '4' from '2' on channel 'PJSIP/91-0003'
[2017-06-05 20:52:29] DEBUG[719]: res_pjsip_t38.c:721 
negotiate_incoming_sdp_stream: Declining; T.38 state is rejected or declined
[2017-06-05 20:52:29] DEBUG[719]: res_pjsip_t38.c:138 t38_change_state: T.38 
state changed to '0' from '4' on channel 'PJSIP/91-0003'
[2017-06-05 20:52:29] DEBUG[719]: res_pjsip_t38.c:772 
create_outgoing_sdp_stream: Not creating outgoing SDP stream: T.38 not enabled



Thanks,
regards,
Michael

-- 
_
-- 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] Conference bridge profile does not exist

2017-06-05 Thread Thomas
Hello,

I have ab profile in /etc/asterisk/confbridge.conf but in my dialplan this 
profile is not found
I tried a lot, but did no solution.
What can be wrong?


[out_bridge]
type=bridge


exten => ,n,ConfBridge(${conf_room},out_bridge)

[Jun  5 19:27:09] WARNING[11008][C-0468]: app_confbridge.c:1612 
confbridge_exec: Conference bridge profile out_bridge does not exist

The Dialplan is in the same directory and changes will be working, so the 
directory for confbridge.conf should be OK.

version is Asterisk 11.13.1~dfsg-2+deb8u1 built by pbuilder @ compile on a 
x86_64 running Linux on 2016-10-24 19:32:53 UTC

best regards
Thomas

-- 
_
-- 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] OT: DMARC enabled domains on this list

2017-06-05 Thread James B. Byrne

On Fri, June 2, 2017 16:30, Doug Lytle wrote:


This is likely the issue surrounding mailing lists rewriting headers
and/or modifying messages bodies or simply re-transmitting messages as
the original sender from an unapproved domain. This was discussed at
length on the ITEF mailing list.  Without seeing your headers and
those of a recipient it is impossible to be sure but my spidy sense
tells me this is so.

You can manage this in your DNS forward zone by turning off the DMARC
reporting request. No, I no longer recall the details.  Or you can
simply direct the incoming reports to /dev/null.

As I get the digest version of the list the message sender and domain
match DMARC provisions, if any are set for digium.com.

HTH.


-- 
***  e-Mail is NOT a SECURE channel  ***
Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3


-- 
_
-- 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] asterisk 13.16 / pjsip / t.38: res_pjsip_t38.c:207 t38_automatic_reject: Automatically rejecting T.38 request on channel 'PJSIP/91-00000007'

2017-06-05 Thread Joshua Colp
On Mon, Jun 5, 2017, at 01:22 PM, Michael Maier wrote:
> 
> Do you have any idea where to start to look at? Adding additional output
> in the source code? Which functions could be interesting? I may add own
> debug code to see why things are happening as they happen here.

The logic for T.38 negotiation lives all in the res_pjsip_t38 module and
the request to negotiate works using a control frame which is handled by
the t38_interpret_parameters function. It's up to that to initialize
things and then request that a session refresh occurs (which sends the
re-invite). That'd be the place to look.

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.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] asterisk 13.16 / pjsip / t.38: res_pjsip_t38.c:207 t38_automatic_reject: Automatically rejecting T.38 request on channel 'PJSIP/91-00000007'

2017-06-05 Thread Michael Maier
On 06/05/2017 at 06:10 PM, Joshua Colp wrote:
> On Mon, Jun 5, 2017, at 12:00 PM, Joshua Colp wrote:
>> On Mon, Jun 5, 2017, at 11:49 AM, Michael Maier wrote:
>>> On 06/05/2017 at 11:30 AM, Joshua Colp wrote:
 On Sun, Jun 4, 2017, at 10:40 AM, Michael Maier wrote:
> On 06/04/2017 at 01:41 PM Telium Technical Support wrote:
>> Just a guess (without knowing about your network), but are the two ends
>> points on public networks and visible to one another?  If not the 
>> reinvite
>> may be passing an internal (nat'ed) address to the other and the 
>> connection
>> will fail...just a though
>
> t38modem -tt -o /var/log/t38modem.log --no-h323 -u 91 --sip-listen
> udp\$127.0.0.1:6060 --ptty +/dev/ttyT380,+/dev/ttyT381 --route
> 'modem:.*=sip:@127.0.0.1:5061' --route 'sip:.*=modem:'
> --sip-register 91@127.0.0.1:5061,password
>
> I tried it with a global IP (instead of 127.0.0.1) - same behavior.
>
> The point is, that the receiving part, which initiates the t.38 switch,
> doesn't sent the switch to the ISP. It is blocked / ignored by asterisk
> at all - don't know why it isn't sent to the ISP.

 I'd suggest providing the console output and SIP traffic (pjsip set
 logger on) so we can see exactly what is going on.

>>>
>>> I attached the debug output I already created before.
>>>
>>> Interesting part starts around line 2740.
>>>
>>>
>>> 91 -> local pjsip fax-extension
>>>
>>> 127.0.0.1:5061 -> asterisk server local connect for fax-extension (->
>>> not encrypted even if it is port 5061!)
>>>
>>> external fax number at easybell (195.185.37.60), which is called and
>>> which is answered here: 122
>>
>> And the pjsip.conf endpoint entry for easybellPJSIP_FAX?
> 
> I plugged the provided configuration into an existing testsuite test
> quickly and things still worked as expected, so it's something outside
> of that but nothing stands out in the debug log.

Do you have any idea where to start to look at? Adding additional output
in the source code? Which functions could be interesting? I may add own
debug code to see why things are happening as they happen here.


Thanks,
Michael

-- 
_
-- 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] Extensions of sip trunk

2017-06-05 Thread Hans-Peter Jansen
Hi,

I just started with setting up a new asterisk system, that will operate on a 
sip trunk, but I wonder, how to transfer the calls to different extensions, 
because all calls appear as being send to the base number of the trunk.

E.g. given the trunk range of 1234567800-12345678099, a call to 1234567800 is 
matched by the same pattern as a call to 12345678099.

; matches 12345678099, too
exten => _1234567800,1,Dial(SIP/int)

Except from SIP invite with tcpdump:

INVITE sip:12345678@provider:5060 SIP/2.0
From: ;tag=as6bc7cbbc
To: 

I wonder, if I really need to grab the extension with 
Set(DN=${SIP_HEADER(TO):5}) or something similar?

Another issue is, that I don't like asterisk to decline foreign INVITE 
requests. Any best practices from within asterisk on how to ignore SIP 
invitations, that don't match certain criteria (neither local nor from sip 
provider)?

System: openSUSE 42.2, Asterisk 14.5.0

Thanks in advance,
Pete

-- 
_
-- 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] asterisk 13.16 / pjsip / t.38: res_pjsip_t38.c:207 t38_automatic_reject: Automatically rejecting T.38 request on channel 'PJSIP/91-00000007'

2017-06-05 Thread Joshua Colp
On Mon, Jun 5, 2017, at 12:00 PM, Joshua Colp wrote:
> On Mon, Jun 5, 2017, at 11:49 AM, Michael Maier wrote:
> > On 06/05/2017 at 11:30 AM, Joshua Colp wrote:
> > > On Sun, Jun 4, 2017, at 10:40 AM, Michael Maier wrote:
> > >> On 06/04/2017 at 01:41 PM Telium Technical Support wrote:
> > >>> Just a guess (without knowing about your network), but are the two ends
> > >>> points on public networks and visible to one another?  If not the 
> > >>> reinvite
> > >>> may be passing an internal (nat'ed) address to the other and the 
> > >>> connection
> > >>> will fail...just a though
> > >>
> > >> t38modem -tt -o /var/log/t38modem.log --no-h323 -u 91 --sip-listen
> > >> udp\$127.0.0.1:6060 --ptty +/dev/ttyT380,+/dev/ttyT381 --route
> > >> 'modem:.*=sip:@127.0.0.1:5061' --route 'sip:.*=modem:'
> > >> --sip-register 91@127.0.0.1:5061,password
> > >>
> > >> I tried it with a global IP (instead of 127.0.0.1) - same behavior.
> > >>
> > >> The point is, that the receiving part, which initiates the t.38 switch,
> > >> doesn't sent the switch to the ISP. It is blocked / ignored by asterisk
> > >> at all - don't know why it isn't sent to the ISP.
> > > 
> > > I'd suggest providing the console output and SIP traffic (pjsip set
> > > logger on) so we can see exactly what is going on.
> > > 
> > 
> > I attached the debug output I already created before.
> > 
> > Interesting part starts around line 2740.
> > 
> > 
> > 91 -> local pjsip fax-extension
> > 
> > 127.0.0.1:5061 -> asterisk server local connect for fax-extension (->
> > not encrypted even if it is port 5061!)
> > 
> > external fax number at easybell (195.185.37.60), which is called and
> > which is answered here: 122
> 
> And the pjsip.conf endpoint entry for easybellPJSIP_FAX?

I plugged the provided configuration into an existing testsuite test
quickly and things still worked as expected, so it's something outside
of that but nothing stands out in the debug log. I'd suggest filing an
issue[1] with all the logs and such, it'll allow whomever works on the
issue to write a specific testsuite test and hopefully recreate it in a
controlled environment.

[1] https://issues.asterisk.org/jira

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.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] asterisk 13.16 / pjsip / t.38: res_pjsip_t38.c:207 t38_automatic_reject: Automatically rejecting T.38 request on channel 'PJSIP/91-00000007'

2017-06-05 Thread Michael Maier
On 06/05/2017 at 05:00 PM, Joshua Colp wrote:
> On Mon, Jun 5, 2017, at 11:49 AM, Michael Maier wrote:
>> On 06/05/2017 at 11:30 AM, Joshua Colp wrote:
>>> On Sun, Jun 4, 2017, at 10:40 AM, Michael Maier wrote:
 On 06/04/2017 at 01:41 PM Telium Technical Support wrote:
> Just a guess (without knowing about your network), but are the two ends
> points on public networks and visible to one another?  If not the reinvite
> may be passing an internal (nat'ed) address to the other and the 
> connection
> will fail...just a though

 t38modem -tt -o /var/log/t38modem.log --no-h323 -u 91 --sip-listen
 udp\$127.0.0.1:6060 --ptty +/dev/ttyT380,+/dev/ttyT381 --route
 'modem:.*=sip:@127.0.0.1:5061' --route 'sip:.*=modem:'
 --sip-register 91@127.0.0.1:5061,password

 I tried it with a global IP (instead of 127.0.0.1) - same behavior.

 The point is, that the receiving part, which initiates the t.38 switch,
 doesn't sent the switch to the ISP. It is blocked / ignored by asterisk
 at all - don't know why it isn't sent to the ISP.
>>>
>>> I'd suggest providing the console output and SIP traffic (pjsip set
>>> logger on) so we can see exactly what is going on.
>>>
>>
>> I attached the debug output I already created before.
>>
>> Interesting part starts around line 2740.
>>
>>
>> 91 -> local pjsip fax-extension
>>
>> 127.0.0.1:5061 -> asterisk server local connect for fax-extension (->
>> not encrypted even if it is port 5061!)
>>
>> external fax number at easybell (195.185.37.60), which is called and
>> which is answered here: 122
> 
> And the pjsip.conf endpoint entry for easybellPJSIP_FAX?
> 

[easybellPJSIP_FAX]
type=endpoint
transport=0.0.0.0-udp
context=from-trunk
disallow=all
allow=alaw,ulaw
aors=easybellPJSIP_FAX
language=de
outbound_auth=easybellPJSIP_FAX
from_domain=sip.easybell.de
from_user=+49222
t38_udptl=yes
t38_udptl_ec=redundancy
fax_detect=no
t38_udptl_nat=no
send_rpid=yes
send_pai=yes
dtmf_mode=rfc4733
tos_audio=0xb8
direct_media=yes
rewrite_contact=no
force_rport=yes



 ParameterName  : ParameterValue
 =
 100rel : yes
 accountcode:
 acl:
 aggregate_mwi  : true
 allow  : (alaw|ulaw)
 allow_overlap  : true
 allow_subscribe: true
 allow_transfer : true
 aors   : easybellPJSIP_FAX
 asymmetric_rtp_codec   : false
 auth   :
 bind_rtp_to_media_address  : false
 call_group :
 callerid   : 
 callerid_privacy   : allowed_not_screened
 callerid_tag   :
 connected_line_method  : invite
 contact_acl:
 context: from-trunk
 cos_audio  : 0
 cos_video  : 0
 device_state_busy_at   : 0
 direct_media   : true
 direct_media_glare_mitigation  : none
 direct_media_method: invite
 disable_direct_media_on_nat: false
 dtls_ca_file   :
 dtls_ca_path   :
 dtls_cert_file :
 dtls_cipher:
 dtls_fingerprint   : SHA-256
 dtls_private_key   :
 dtls_rekey : 0
 dtls_setup : active
 dtls_verify: No
 dtmf_mode  : rfc4733
 fax_detect : false
 fax_detect_timeout : 0
 force_avp  : false
 force_rport: true
 from_domain: sip.easybell.de
 from_user  : +49222
 g726_non_standard  : false
 ice_support: false
 identify_by: username
 inband_progress: false
 language   : de
 mailboxes  :
 media_address  :
 media_encryption   : no
 media_encryption_optimistic: false
 media_use_received_transport   : false
 message_context:
 moh_suggest: default
 mwi_from_user  :
 mwi_subscribe_replaces_unsolicited : false
 named_call_group   :
 named_pickup_group :
 one_touch_recording: false
 outbound_auth  : easybellPJSIP_FAX
 outbound_proxy :
 pickup_group   :
 record_off_feature : automixmon
 record_on_feature  : automixmon
 rewrite_contact: false
 

Re: [asterisk-users] asterisk 13.16 / pjsip / t.38: res_pjsip_t38.c:207 t38_automatic_reject: Automatically rejecting T.38 request on channel 'PJSIP/91-00000007'

2017-06-05 Thread Joshua Colp
On Mon, Jun 5, 2017, at 11:49 AM, Michael Maier wrote:
> On 06/05/2017 at 11:30 AM, Joshua Colp wrote:
> > On Sun, Jun 4, 2017, at 10:40 AM, Michael Maier wrote:
> >> On 06/04/2017 at 01:41 PM Telium Technical Support wrote:
> >>> Just a guess (without knowing about your network), but are the two ends
> >>> points on public networks and visible to one another?  If not the reinvite
> >>> may be passing an internal (nat'ed) address to the other and the 
> >>> connection
> >>> will fail...just a though
> >>
> >> t38modem -tt -o /var/log/t38modem.log --no-h323 -u 91 --sip-listen
> >> udp\$127.0.0.1:6060 --ptty +/dev/ttyT380,+/dev/ttyT381 --route
> >> 'modem:.*=sip:@127.0.0.1:5061' --route 'sip:.*=modem:'
> >> --sip-register 91@127.0.0.1:5061,password
> >>
> >> I tried it with a global IP (instead of 127.0.0.1) - same behavior.
> >>
> >> The point is, that the receiving part, which initiates the t.38 switch,
> >> doesn't sent the switch to the ISP. It is blocked / ignored by asterisk
> >> at all - don't know why it isn't sent to the ISP.
> > 
> > I'd suggest providing the console output and SIP traffic (pjsip set
> > logger on) so we can see exactly what is going on.
> > 
> 
> I attached the debug output I already created before.
> 
> Interesting part starts around line 2740.
> 
> 
> 91 -> local pjsip fax-extension
> 
> 127.0.0.1:5061 -> asterisk server local connect for fax-extension (->
> not encrypted even if it is port 5061!)
> 
> external fax number at easybell (195.185.37.60), which is called and
> which is answered here: 122

And the pjsip.conf endpoint entry for easybellPJSIP_FAX?

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.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] asterisk 13.16 / pjsip / t.38: res_pjsip_t38.c:207 t38_automatic_reject: Automatically rejecting T.38 request on channel 'PJSIP/91-00000007'

2017-06-05 Thread Michael Maier
On 06/05/2017 at 11:30 AM, Joshua Colp wrote:
> On Sun, Jun 4, 2017, at 10:40 AM, Michael Maier wrote:
>> On 06/04/2017 at 01:41 PM Telium Technical Support wrote:
>>> Just a guess (without knowing about your network), but are the two ends
>>> points on public networks and visible to one another?  If not the reinvite
>>> may be passing an internal (nat'ed) address to the other and the connection
>>> will fail...just a though
>>
>> t38modem -tt -o /var/log/t38modem.log --no-h323 -u 91 --sip-listen
>> udp\$127.0.0.1:6060 --ptty +/dev/ttyT380,+/dev/ttyT381 --route
>> 'modem:.*=sip:@127.0.0.1:5061' --route 'sip:.*=modem:'
>> --sip-register 91@127.0.0.1:5061,password
>>
>> I tried it with a global IP (instead of 127.0.0.1) - same behavior.
>>
>> The point is, that the receiving part, which initiates the t.38 switch,
>> doesn't sent the switch to the ISP. It is blocked / ignored by asterisk
>> at all - don't know why it isn't sent to the ISP.
> 
> I'd suggest providing the console output and SIP traffic (pjsip set
> logger on) so we can see exactly what is going on.
> 

I attached the debug output I already created before.

Interesting part starts around line 2740.


91 -> local pjsip fax-extension

127.0.0.1:5061 -> asterisk server local connect for fax-extension (->
not encrypted even if it is port 5061!)

external fax number at easybell (195.185.37.60), which is called and
which is answered here: 122




Thanks,
Michael


t38.debug.bz2
Description: application/bzip
-- 
_
-- 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] asterisk 13.16 / pjsip / t.38: res_pjsip_t38.c:207 t38_automatic_reject: Automatically rejecting T.38 request on channel 'PJSIP/91-00000007'

2017-06-05 Thread Joshua Colp
On Sun, Jun 4, 2017, at 10:40 AM, Michael Maier wrote:
> On 06/04/2017 at 01:41 PM Telium Technical Support wrote:
> > Just a guess (without knowing about your network), but are the two ends
> > points on public networks and visible to one another?  If not the reinvite
> > may be passing an internal (nat'ed) address to the other and the connection
> > will fail...just a though
> 
> t38modem -tt -o /var/log/t38modem.log --no-h323 -u 91 --sip-listen
> udp\$127.0.0.1:6060 --ptty +/dev/ttyT380,+/dev/ttyT381 --route
> 'modem:.*=sip:@127.0.0.1:5061' --route 'sip:.*=modem:'
> --sip-register 91@127.0.0.1:5061,password
> 
> I tried it with a global IP (instead of 127.0.0.1) - same behavior.
> 
> The point is, that the receiving part, which initiates the t.38 switch,
> doesn't sent the switch to the ISP. It is blocked / ignored by asterisk
> at all - don't know why it isn't sent to the ISP.

I'd suggest providing the console output and SIP traffic (pjsip set
logger on) so we can see exactly what is going on.

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.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