[asterisk-users] IAX2 via IPv6, no packets being sent!

2017-09-25 Thread Benoit Panizzon
Hello List

I have two IAX2 peers reachable with IPv6. They consider them self
unreachable.

If I do a 'iax2 set debug on', I see asterisk pretending to send POKE
packets to the IPv6 address of the peer.

If I sniff on the interface, I don't see those packets.

Is there a known issue?

Version 13.14.1 in use.

-Benoît Panizzon-
-- 
I m p r o W a r e   A G-Leiter Commerce Kunden
__

Zurlindenstrasse 29 Tel  +41 61 826 93 00
CH-4133 PrattelnFax  +41 61 826 93 01
Schweiz Web  http://www.imp.ch
__

-- 
_
-- 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] IAX2 getting stuck

2017-04-20 Thread Kseniya Blashchuk
Hmmm.. So if you are sure that the poke packets leave the network interface
(I would still check with tcpdump as well, maybe a firewall issue?) then it
makes sense to check the other side to make sure the poke packets reach
other servers.
I mean with tcpdump you may see if there are incoming packets from your
peers on the interface. If there are, then they are dropped or ignored by
your servers. If no, then it's better to check the other side.
you may try smth like 'tcpdump -npi  host  and port 4569'
Do you have a firewall configured on this server?

On Fri, Apr 21, 2017, 12:36 AM Carlos Chavez  wrote:

> On 4/20/17 2:37 PM, Kseniya Blashchuk wrote:
>
> If SIP goes to the same provider then yes. Still I would check a packet
> capture for better understanding. BTW, did you try iax debug?
>
> чт, 20 апр. 2017 г. в 19:46, Carlos Chavez :
>
>> On 4/20/17 12:45 AM, Kseniya Blashchuk wrote:
>>
>> Can it happen that the routes lead the traffic through another interface?
>> Did you try a packet capture with tcpdump? Do the packets really leave the
>> usb adapter? Can asymmetric routing be in effect?
>> Maybe there were some static routes that disappeared when the adapter was
>> unplugged...
>>
>> On Thu, Apr 20, 2017, 12:41 AM Antony Stone <
>> antony.st...@asterisk.open.source.it> wrote:
>>
>>> On Wednesday 19 April 2017 at 23:35:24, Carlos Chavez wrote:
>>>
>>> > On 4/19/17 4:23 PM, Antony Stone wrote:
>>> > >
>>> > > You say the USB ethernet adapter got unplugged and then
>>> reconnected...
>>> > >
>>> > > 1. What's the name of the network device for this adapter?  Is it the
>>> > > same name as it previously had?
>>> > >
>>> > > 2. What does 'ifconfig' say the IP address is for this adapter?
>>> > >
>>> > > 3. What do you have in /etc/asterisk/iax.conf for 'bindaddr' and
>>> > > 'bindport'?
>>> > >
>>> > > 4. Do you have SIP connections on the same network interface, and are
>>> > > those working as normal?
>>> > >
>>> > >
>>> > > Antony.
>>> >
>>> > 1- No changes to device names.  eth0 is the main link to the network,
>>> > eth1 (also internal) goes to a SIP provider and eth2 (the USB adapter)
>>> > goes to another SIP provider.  All IAX trunks use eth0
>>> >
>>> > 2- ifconfig gives the proper IP and netmask for all interfaces
>>> >
>>> > 3- We do not specify bindaddr or bindport in the config file as the
>>> > default is to bind to 0.0.0.0
>>> >
>>> > 4- We had to make new SIP trunks to replace the IAX2 trunks to all
>>> > servers.  The SIP trunk is working with no problems.  Except for two
>>> SIP
>>> > links to PSTN all internal extensions use the same network interface.
>>>
>>> Ugh :(
>>>
>>> Sorry, I have no more ideas, then.
>>>
>>> I hope someone else comes into this thread with a helpful suggestion.
>>>
>>>
>>> If routing was the problem then the SIP trunk would not work.
>> Usually IAX2 is a little more forgiving about routing than SIP.
>>
>> The new SIP trunks are replacing the IAX2 trunks to our other
> Asterisk servers and use exactly the same network paths, that is why I know
> it is not a network infrastructure issue.  We did turn on IAX debug and we
> only se the server trying to poke the other servers but there is not
> response or any incoming traffic.
>
> --
> Telecomunicaciones Abiertas de México S.A. de C.V.
> Carlos Chávez
> +52 (55)8116-9161
>
> --
> _
> -- 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] IAX2 getting stuck

2017-04-20 Thread Carlos Chavez

On 4/20/17 2:37 PM, Kseniya Blashchuk wrote:

If SIP goes to the same provider then yes. Still I would check a 
packet capture for better understanding. BTW, did you try iax debug?


чт, 20 апр. 2017 г. в 19:46, Carlos Chavez >:


On 4/20/17 12:45 AM, Kseniya Blashchuk wrote:


Can it happen that the routes lead the traffic through another
interface? Did you try a packet capture with tcpdump? Do the
packets really leave the usb adapter? Can asymmetric routing be
in effect?
Maybe there were some static routes that disappeared when the
adapter was unplugged...


On Thu, Apr 20, 2017, 12:41 AM Antony Stone
mailto:antony.st...@asterisk.open.source.it>> wrote:

On Wednesday 19 April 2017 at 23:35:24, Carlos Chavez wrote:

> On 4/19/17 4:23 PM, Antony Stone wrote:
> >
> > You say the USB ethernet adapter got unplugged and then
reconnected...
> >
> > 1. What's the name of the network device for this
adapter?  Is it the
> > same name as it previously had?
> >
> > 2. What does 'ifconfig' say the IP address is for this
adapter?
> >
> > 3. What do you have in /etc/asterisk/iax.conf for
'bindaddr' and
> > 'bindport'?
> >
> > 4. Do you have SIP connections on the same network
interface, and are
> > those working as normal?
> >
> >
> > Antony.
>
> 1- No changes to device names.  eth0 is the main link to
the network,
> eth1 (also internal) goes to a SIP provider and eth2 (the
USB adapter)
> goes to another SIP provider.  All IAX trunks use eth0
>
> 2- ifconfig gives the proper IP and netmask for all interfaces
>
> 3- We do not specify bindaddr or bindport in the config
file as the
> default is to bind to 0.0.0.0
>
> 4- We had to make new SIP trunks to replace the IAX2 trunks
to all
> servers.  The SIP trunk is working with no problems. 
Except for two SIP

> links to PSTN all internal extensions use the same network
interface.

Ugh :(

Sorry, I have no more ideas, then.

I hope someone else comes into this thread with a helpful
suggestion.


If routing was the problem then the SIP trunk would not work. 
Usually IAX2 is a little more forgiving about routing than SIP.


The new SIP trunks are replacing the IAX2 trunks to our other 
Asterisk servers and use exactly the same network paths, that is why I 
know it is not a network infrastructure issue.  We did turn on IAX debug 
and we only se the server trying to poke the other servers but there is 
not response or any incoming traffic.


--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)8116-9161

-- 
_
-- 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] IAX2 getting stuck

2017-04-20 Thread Kseniya Blashchuk
If SIP goes to the same provider then yes. Still I would check a packet
capture for better understanding. BTW, did you try iax debug?

чт, 20 апр. 2017 г. в 19:46, Carlos Chavez :

> On 4/20/17 12:45 AM, Kseniya Blashchuk wrote:
>
> Can it happen that the routes lead the traffic through another interface?
> Did you try a packet capture with tcpdump? Do the packets really leave the
> usb adapter? Can asymmetric routing be in effect?
> Maybe there were some static routes that disappeared when the adapter was
> unplugged...
>
> On Thu, Apr 20, 2017, 12:41 AM Antony Stone <
> antony.st...@asterisk.open.source.it> wrote:
>
>> On Wednesday 19 April 2017 at 23:35:24, Carlos Chavez wrote:
>>
>> > On 4/19/17 4:23 PM, Antony Stone wrote:
>> > >
>> > > You say the USB ethernet adapter got unplugged and then reconnected...
>> > >
>> > > 1. What's the name of the network device for this adapter?  Is it the
>> > > same name as it previously had?
>> > >
>> > > 2. What does 'ifconfig' say the IP address is for this adapter?
>> > >
>> > > 3. What do you have in /etc/asterisk/iax.conf for 'bindaddr' and
>> > > 'bindport'?
>> > >
>> > > 4. Do you have SIP connections on the same network interface, and are
>> > > those working as normal?
>> > >
>> > >
>> > > Antony.
>> >
>> > 1- No changes to device names.  eth0 is the main link to the network,
>> > eth1 (also internal) goes to a SIP provider and eth2 (the USB adapter)
>> > goes to another SIP provider.  All IAX trunks use eth0
>> >
>> > 2- ifconfig gives the proper IP and netmask for all interfaces
>> >
>> > 3- We do not specify bindaddr or bindport in the config file as the
>> > default is to bind to 0.0.0.0
>> >
>> > 4- We had to make new SIP trunks to replace the IAX2 trunks to all
>> > servers.  The SIP trunk is working with no problems.  Except for two SIP
>> > links to PSTN all internal extensions use the same network interface.
>>
>> Ugh :(
>>
>> Sorry, I have no more ideas, then.
>>
>> I hope someone else comes into this thread with a helpful suggestion.
>>
>>
>> If routing was the problem then the SIP trunk would not work.
> Usually IAX2 is a little more forgiving about routing than SIP.
>
> --
> Telecomunicaciones Abiertas de México S.A. de C.V.
> Carlos Chávez+52 (55)8116-9161 <+52%2055%208116%209161>
>
> --
> _
> -- 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] IAX2 getting stuck

2017-04-20 Thread Carlos Chavez

On 4/20/17 12:45 AM, Kseniya Blashchuk wrote:

Can it happen that the routes lead the traffic through another 
interface? Did you try a packet capture with tcpdump? Do the packets 
really leave the usb adapter? Can asymmetric routing be in effect?
Maybe there were some static routes that disappeared when the adapter 
was unplugged...



On Thu, Apr 20, 2017, 12:41 AM Antony Stone 
> wrote:


On Wednesday 19 April 2017 at 23:35:24, Carlos Chavez wrote:

> On 4/19/17 4:23 PM, Antony Stone wrote:
> >
> > You say the USB ethernet adapter got unplugged and then
reconnected...
> >
> > 1. What's the name of the network device for this adapter?  Is
it the
> > same name as it previously had?
> >
> > 2. What does 'ifconfig' say the IP address is for this adapter?
> >
> > 3. What do you have in /etc/asterisk/iax.conf for 'bindaddr' and
> > 'bindport'?
> >
> > 4. Do you have SIP connections on the same network interface,
and are
> > those working as normal?
> >
> >
> > Antony.
>
> 1- No changes to device names.  eth0 is the main link to the
network,
> eth1 (also internal) goes to a SIP provider and eth2 (the USB
adapter)
> goes to another SIP provider.  All IAX trunks use eth0
>
> 2- ifconfig gives the proper IP and netmask for all interfaces
>
> 3- We do not specify bindaddr or bindport in the config file as the
> default is to bind to 0.0.0.0
>
> 4- We had to make new SIP trunks to replace the IAX2 trunks to all
> servers.  The SIP trunk is working with no problems. Except for
two SIP
> links to PSTN all internal extensions use the same network
interface.

Ugh :(

Sorry, I have no more ideas, then.

I hope someone else comes into this thread with a helpful suggestion.


If routing was the problem then the SIP trunk would not work. 
Usually IAX2 is a little more forgiving about routing than SIP.


--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)8116-9161

-- 
_
-- 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] IAX2 getting stuck

2017-04-19 Thread Kseniya Blashchuk
Can it happen that the routes lead the traffic through another interface?
Did you try a packet capture with tcpdump? Do the packets really leave the
usb adapter? Can asymmetric routing be in effect?
Maybe there were some static routes that disappeared when the adapter was
unplugged...

On Thu, Apr 20, 2017, 12:41 AM Antony Stone <
antony.st...@asterisk.open.source.it> wrote:

> On Wednesday 19 April 2017 at 23:35:24, Carlos Chavez wrote:
>
> > On 4/19/17 4:23 PM, Antony Stone wrote:
> > >
> > > You say the USB ethernet adapter got unplugged and then reconnected...
> > >
> > > 1. What's the name of the network device for this adapter?  Is it the
> > > same name as it previously had?
> > >
> > > 2. What does 'ifconfig' say the IP address is for this adapter?
> > >
> > > 3. What do you have in /etc/asterisk/iax.conf for 'bindaddr' and
> > > 'bindport'?
> > >
> > > 4. Do you have SIP connections on the same network interface, and are
> > > those working as normal?
> > >
> > >
> > > Antony.
> >
> > 1- No changes to device names.  eth0 is the main link to the network,
> > eth1 (also internal) goes to a SIP provider and eth2 (the USB adapter)
> > goes to another SIP provider.  All IAX trunks use eth0
> >
> > 2- ifconfig gives the proper IP and netmask for all interfaces
> >
> > 3- We do not specify bindaddr or bindport in the config file as the
> > default is to bind to 0.0.0.0
> >
> > 4- We had to make new SIP trunks to replace the IAX2 trunks to all
> > servers.  The SIP trunk is working with no problems.  Except for two SIP
> > links to PSTN all internal extensions use the same network interface.
>
> Ugh :(
>
> Sorry, I have no more ideas, then.
>
> I hope someone else comes into this thread with a helpful suggestion.
>
>
> Antony.
>
> --
> The first fifty percent of an engineering project takes ninety percent of
> the
> time, and the remaining fifty percent takes another ninety percent of the
> time.
>
>Please reply to the
> list;
>  please *don't* CC
> me.
>
> --
> _
> -- 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] IAX2 getting stuck

2017-04-19 Thread Antony Stone
On Wednesday 19 April 2017 at 23:35:24, Carlos Chavez wrote:

> On 4/19/17 4:23 PM, Antony Stone wrote:
> >
> > You say the USB ethernet adapter got unplugged and then reconnected...
> > 
> > 1. What's the name of the network device for this adapter?  Is it the
> > same name as it previously had?
> > 
> > 2. What does 'ifconfig' say the IP address is for this adapter?
> > 
> > 3. What do you have in /etc/asterisk/iax.conf for 'bindaddr' and
> > 'bindport'?
> > 
> > 4. Do you have SIP connections on the same network interface, and are
> > those working as normal?
> > 
> > 
> > Antony.
> 
> 1- No changes to device names.  eth0 is the main link to the network,
> eth1 (also internal) goes to a SIP provider and eth2 (the USB adapter)
> goes to another SIP provider.  All IAX trunks use eth0
> 
> 2- ifconfig gives the proper IP and netmask for all interfaces
> 
> 3- We do not specify bindaddr or bindport in the config file as the
> default is to bind to 0.0.0.0
> 
> 4- We had to make new SIP trunks to replace the IAX2 trunks to all
> servers.  The SIP trunk is working with no problems.  Except for two SIP
> links to PSTN all internal extensions use the same network interface.

Ugh :(

Sorry, I have no more ideas, then.

I hope someone else comes into this thread with a helpful suggestion.


Antony.

-- 
The first fifty percent of an engineering project takes ninety percent of the 
time, and the remaining fifty percent takes another ninety percent of the time.

   Please reply to the list;
 please *don't* CC me.

-- 
_
-- 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] IAX2 getting stuck

2017-04-19 Thread Carlos Chavez

On 4/19/17 4:23 PM, Antony Stone wrote:


On Wednesday 19 April 2017 at 23:14:46, Carlos Chavez wrote:


On 4/19/17 4:09 PM, Antony Stone wrote:

On Wednesday 19 April 2017 at 22:54:51, Carlos Chavez wrote:

I have a server that had been operating for a few years now with

IAX2 trunks to several other servers.  Since yesterday all IAX2 trunks
now say UNREACHABLE.

...snip...


So far the only thing different is that the receive queue for port 4569
is not zero like all the other servers:

udp   128760  0 0.0.0.0:45690.0.0.0:*

Basically all packets for IAX2 are getting stuck in the queue.
Any

suggestions?

Have you tried rebooting the router which connects this machine to the
Internet?

It sounds like a stale connection-tracking table entry to me.


Antony.

  We have already tried that.  One of the servers that has an IAX
trunk to this server is on the same local network so that eliminates any
firewall/router in the way.  We disabled iptables just in case too.

Hm :(

You say the USB ethernet adapter got unplugged and then reconnected...

1. What's the name of the network device for this adapter?  Is it the same
name as it previously had?

2. What does 'ifconfig' say the IP address is for this adapter?

3. What do you have in /etc/asterisk/iax.conf for 'bindaddr' and 'bindport'?

4. Do you have SIP connections on the same network interface, and are those
working as normal?


Antony.

1- No changes to device names.  eth0 is the main link to the network, 
eth1 (also internal) goes to a SIP provider and eth2 (the USB adapter) 
goes to another SIP provider.  All IAX trunks use eth0


2- ifconfig gives the proper IP and netmask for all interfaces

3- We do not specify bindaddr or bindport in the config file as the 
default is to bind to 0.0.0.0


4- We had to make new SIP trunks to replace the IAX2 trunks to all 
servers.  The SIP trunk is working with no problems.  Except for two SIP 
links to PSTN all internal extensions use the same network interface.


--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)8116-9161


--
_
-- 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] IAX2 getting stuck

2017-04-19 Thread Antony Stone
On Wednesday 19 April 2017 at 23:14:46, Carlos Chavez wrote:

> On 4/19/17 4:09 PM, Antony Stone wrote:
> > On Wednesday 19 April 2017 at 22:54:51, Carlos Chavez wrote:
> >>I have a server that had been operating for a few years now with
> >> 
> >> IAX2 trunks to several other servers.  Since yesterday all IAX2 trunks
> >> now say UNREACHABLE.
> > 
> > ...snip...
> > 
> >> So far the only thing different is that the receive queue for port 4569
> >> is not zero like all the other servers:
> >> 
> >> udp   128760  0 0.0.0.0:45690.0.0.0:*
> >> 
> >>Basically all packets for IAX2 are getting stuck in the queue.
> >>Any
> >> 
> >> suggestions?
> > 
> > Have you tried rebooting the router which connects this machine to the
> > Internet?
> > 
> > It sounds like a stale connection-tracking table entry to me.
> > 
> > 
> > Antony.
> 
>  We have already tried that.  One of the servers that has an IAX
> trunk to this server is on the same local network so that eliminates any
> firewall/router in the way.  We disabled iptables just in case too.

Hm :(

You say the USB ethernet adapter got unplugged and then reconnected...

1. What's the name of the network device for this adapter?  Is it the same 
name as it previously had?

2. What does 'ifconfig' say the IP address is for this adapter?

3. What do you have in /etc/asterisk/iax.conf for 'bindaddr' and 'bindport'?

4. Do you have SIP connections on the same network interface, and are those 
working as normal?


Antony.

-- 
"It would appear we have reached the limits of what it is possible to achieve 
with computer technology, although one should be careful with such statements; 
they tend to sound pretty silly in five years."

 - John von Neumann (1949)

   Please reply to the list;
 please *don't* CC me.

-- 
_
-- 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] IAX2 getting stuck

2017-04-19 Thread Carlos Chavez

On 4/19/17 4:09 PM, Antony Stone wrote:


On Wednesday 19 April 2017 at 22:54:51, Carlos Chavez wrote:


   I have a server that had been operating for a few years now with
IAX2 trunks to several other servers.  Since yesterday all IAX2 trunks
now say UNREACHABLE.

...snip...


So far the only thing different is that the receive queue for port 4569 is
not zero like all the other servers:

udp   128760  0 0.0.0.0:45690.0.0.0:*

   Basically all packets for IAX2 are getting stuck in the queue. Any
suggestions?

Have you tried rebooting the router which connects this machine to the
Internet?

It sounds like a stale connection-tracking table entry to me.


Antony.

We have already tried that.  One of the servers that has an IAX 
trunk to this server is on the same local network so that eliminates any 
firewall/router in the way.  We disabled iptables just in case too.


--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)8116-9161


--
_
-- 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] IAX2 getting stuck

2017-04-19 Thread Antony Stone
On Wednesday 19 April 2017 at 22:54:51, Carlos Chavez wrote:

>   I have a server that had been operating for a few years now with
> IAX2 trunks to several other servers.  Since yesterday all IAX2 trunks
> now say UNREACHABLE.

...snip...

> So far the only thing different is that the receive queue for port 4569 is
> not zero like all the other servers:
> 
> udp   128760  0 0.0.0.0:45690.0.0.0:*
> 
>   Basically all packets for IAX2 are getting stuck in the queue. Any
> suggestions?

Have you tried rebooting the router which connects this machine to the 
Internet?

It sounds like a stale connection-tracking table entry to me.


Antony.

-- 
"Linux is going to be part of the future. It's going to be like Unix was."

 - Peter Moore, Asia-Pacific general manager, Microsoft

   Please reply to the list;
 please *don't* CC me.

-- 
_
-- 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] IAX2 getting stuck

2017-04-19 Thread Carlos Chavez
 I have a server that had been operating for a few years now with 
IAX2 trunks to several other servers.  Since yesterday all IAX2 trunks 
now say UNREACHABLE.  No configuration changes have been made and no 
upgrades have been done.  The server is running 11.16.0 (yes, we are 
planning upgrades but lets solve this first).  The server has a USB 
ethernet adapter that got disconnected yesterday by accident and since 
it was reconnected we started having the problem.  We have rebooted many 
times and even replaced the USB adapter but still the same issue, and 
the USB adapter is not the main ethernet link to the local network, it 
is just for a link to a provider.  So far the only thing different is 
that the receive queue for port 4569 is not zero like all the other servers:


udp   128760  0 0.0.0.0:45690.0.0.0:*

 Basically all packets for IAX2 are getting stuck in the queue. Any 
suggestions?


--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
dCAP #1349
+52 (55)8116-9161

--
_
-- 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] Iax2 statistics in dialplan

2015-03-29 Thread Ethy H. Brito

Hi All

How to have access to the IAX2 call statistics inside the dialplan (not CLI)?

I have no IAX2 clients (yet) to test, but do RTPAUDIOQOS.* variables do the job?

Are they available to IAX2 calls as they are for SIP?

Stats like total packets sent and received, lost pkts, rtt, etc. would be nice.

cheers

Ethy

-- 
_
-- 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] IAX2 problem for WAN connections

2015-02-05 Thread jg
I found a way that works. Essentially, I deleted the register lines and added the hosts with 
deny all and specific permit specs. I don't know why it works, but it does.


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] IAX2 problem for WAN connections

2015-02-05 Thread jg

On Thursday 05 Feb 2015, jg wrote:

Calling from ServerB to ServerA works, but not vice versa. The only odd
thing that appears to me is the different perceived port on ServerA.

Does someone have an idea at what to look in detail?


Look in /etc/asterisk/iax.conf in the first instance.



Basically I used the example from the Asterisk book "Connecting Two Asterisk Boxes Together via 
IAX" and there is not a lot to see:



; Server A
[general]
;   this boxremote IP
register => ServerA:very_sec...@80.152.xxx.xxx

disallow=all
allow=alaw
allow=ulaw
allow=gsm

jitterbuffer=no
forcejitterbuffer=no
autokill=yes


; the other box
[ServerB]
type=friend
trunk=no
auth=md5
encryption=yes
secret=very_secret
context=from-ServerB
qualify=yes
host=dynamic
; end of Server A


; Server B
[general]
;   this boxremote IP
register => ServerB:very_sec...@79.233.yyy.yyy

disallow=all
allow=alaw
allow=ulaw
allow=gsm

jitterbuffer=no
forcejitterbuffer=no
autokill=yes

; the other box
[ServerA]
type=friend
trunk=no
auth=md5
encryption=yes
secret=very_secret
context=from-ServerA
qualify=yes
host=dynamic
; end of Server B

If I replace the WAN addresses of the two routers with addresses on the LAN, everything works. 
Currently, I am not sure whether it could be a NAT related or Asterisk configuration 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] IAX2 problem for WAN connections

2015-02-05 Thread A J Stiles
On Thursday 05 Feb 2015, jg wrote:
> Calling from ServerB to ServerA works, but not vice versa. The only odd
> thing that appears to me is the different perceived port on ServerA.
> 
> ServerA*CLI> iax2 show registry
> Host  dnsmgr  Username PerceivedRefresh  State
> 80.152.xxx.xxx:4569   N   ServerA 79.233.yyy.yyy:45697  60 
> Registered
> 
> ServerB*CLI> iax2 show registry
> Host  dnsmgr  Username Perceived   Refresh  State
> 79.233.yyy.yyy:4569   N   ServerB 79.233.yyy.yyy:4569  60  Request
> Sent
> 
> Does someone have an idea at what to look in detail?


Look in /etc/asterisk/iax.conf in the first instance.

-- 
AJS

Note:  Originating address only accepts e-mail from list!  If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

-- 
_
-- 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] IAX2 problem for WAN connections

2015-02-05 Thread jg

Hi,

I am trying to connect two Asterisk servers using IAX2. Everything works fine when I couple them 
within a LAN segment, but not when I connect them using WAN connections. I made sure that the 
routers' ports are mapped properly and checked this with additional ssh rules.


ServerA is a Raspberry box with the vendor's Asterisk version 1.8.13.1 and ServerB is normal 
CentOS 7 box with Asterisk 13.1.


Calling from ServerB to ServerA works, but not vice versa. The only odd thing that appears to me 
is the different perceived port on ServerA.


ServerA*CLI> iax2 show registry
Host  dnsmgr  Username PerceivedRefresh  State
80.152.xxx.xxx:4569   N   ServerA 79.233.yyy.yyy:45697  60  Registered


ServerB*CLI> iax2 show registry
Host  dnsmgr  Username Perceived   Refresh  State
79.233.yyy.yyy:4569   N   ServerB 79.233.yyy.yyy:4569  60  Request Sent

Does someone have an idea at what to look in detail?

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] IAX2 trunk with on demand Internet link

2015-02-02 Thread A J Stiles
On Monday 02 Feb 2015, spartan1...@hushmail.com wrote:
> Hi, I'm connecting 2 Asterisk servers with an IAX2 trunk. Trunk works
> fine in testing, no problems there but the Internet at server-A is an
> "on-demand" system that is based on the amount of http/https traffic
> going through it (or if the link is brought up manually/via scripting
> interface). As such there will be times that the link is
> downworkflow-wise this is not an issue (trunk for a specific
> purpose) but are there any issues with how IAX2 will behave?
> Specifically, when the link comes up will the IAX2 trunk reconnect
> automatically? If so, how long will it take for the trunk to reconnect
> (high-speed, low-latency link)? If it won't come up reliably, does
> anyone have suggestions on methods to force an IAX2 reload, etc.?

It should all just work fine.  We have two machines linked by an IAX2 trunk, 
one of which is a bit temperamental and keeps needing rebooting -- but it 
works fine, just coming up as and when it needs to.

-- 
AJS

Note:  Originating address only accepts e-mail from list!  If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

-- 
_
-- 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] IAX2 trunk with on demand Internet link

2015-02-01 Thread spartan1833
Hi, I'm connecting 2 Asterisk servers with an IAX2 trunk. Trunk works
fine in testing, no problems there but the Internet at server-A is an
"on-demand" system that is based on the amount of http/https traffic
going through it (or if the link is brought up manually/via scripting
interface). As such there will be times that the link is
downworkflow-wise this is not an issue (trunk for a specific
purpose) but are there any issues with how IAX2 will behave?
Specifically, when the link comes up will the IAX2 trunk reconnect
automatically? If so, how long will it take for the trunk to reconnect
(high-speed, low-latency link)? If it won't come up reliably, does
anyone have suggestions on methods to force an IAX2 reload, etc.?
Making the link full-time is not an option so I'm trying to work out
how to ensure that when the link is up, the trunk is up. I know, seems
a bit weird in today's Internet for an on-demand link but that's where
we stand - any help appreciated.  Thanks in advance-- 
_
-- 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] IAX2 trunk on IPV6

2014-04-29 Thread Matthew Jordan
On Tue, Apr 29, 2014 at 1:06 AM, Xengis Khan  wrote:

> Hi,
> I have installed asterisk-1.8.25.0 on an Ubuntu server which has both an
> ipv6 ip and ipv4 ip(real ip) assigned. And I have a client ubuntu with only
> ipv4 ip(local ip) installed asterisk-1.8.25.0 . I want to configure the
> client asterisk with the server asterisk as IAX2 peer and want to connect
> to the IPV6 ip. I bind the server with ipv6 and also sending the
> registration request from the client(peer) to the ipv6 address. But its not
> peering. following is the client's iax.conf
>
> register => peer1:peer1pass@[IPV6]:port
>
> [peer1]
> type=peer
> context=topeer
> username=peer1
> secret=peer1pass
> trunk=yes
> host=XXX.XXX.XXX.XXX
> port=
> disallow=all
> allow=g729:40,g723:30
> qualify=yes
>
> Also my confusion is what value will be in 'host' property. I assigned as
> host=[IPV6]...but it shows error.
> Can anyone help with this issue.
>
>
IAX2 does not support IPv6 in that version of Asterisk. IPv6 support was
added to chan_iax2 in Asterisk 12 [1].

[1] https://wiki.asterisk.org/wiki/display/AST/New+in+12

-- 
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
-- 
_
-- 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] IAX2 trunk on IPV6

2014-04-28 Thread Xengis Khan
Hi,
I have installed asterisk-1.8.25.0 on an Ubuntu server which has both an
ipv6 ip and ipv4 ip(real ip) assigned. And I have a client ubuntu with only
ipv4 ip(local ip) installed asterisk-1.8.25.0 . I want to configure the
client asterisk with the server asterisk as IAX2 peer and want to connect
to the IPV6 ip. I bind the server with ipv6 and also sending the
registration request from the client(peer) to the ipv6 address. But its not
peering. following is the client's iax.conf

register => peer1:peer1pass@[IPV6]:port

[peer1]
type=peer
context=topeer
username=peer1
secret=peer1pass
trunk=yes
host=XXX.XXX.XXX.XXX
port=
disallow=all
allow=g729:40,g723:30
qualify=yes

Also my confusion is what value will be in 'host' property. I assigned as
host=[IPV6]...but it shows error.
Can anyone help with this issue.

Thanks in advance
-- 
_
-- 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] IAX2 Trunk Encryption

2014-04-11 Thread Elliott W
I have some additional information, using wireshark and the IAX2 RFC I
walked through the handshaking of the call.  I did three different calls,
RSA Authentication WITHOUT forcing encryption, RSA Authentication WITH
forcing encryption, and "Clear Text" Authentication WITH forcing
encryption.  Keeping in mind that ALL setups have a secret set and it
complains if you don't when forcing encryption with RSA authentication.

The RFC speaks to when the encryption information element is included in
the NEW packed that following the AUTHREQ packet ALL communications are to
be encrypted.  When I used JUST a secret without RSA authentication I was
able to see this behavior.

In ALL cases whether using RSA or clear text secrets the Encryption format
(0x2b) in the NEW packet was 0x8001, the RFC doesn't tell me what that one
is.  It only lists 0x0001 as AES-128.  But it is consistent across all the
different calls.
Now there are differences at the AUTHREQ packet.  The Authorization method
(0x0e) is 0x0004 RSA for the RSA ones and 0x0003 which is not listed in the
spec but is likely clear text for the one not using RSA.  This is clearly
telling me that they are authorizing differently.

As I said, with clear text authentication all packets following the AUTHREQ
are encrypted, with RSA authentication they are NOT, I see the AUTHREP
packet, the ACK of that packet and then depending on whether I had
specified that encryption was required or not an ACCEPT (not required) or
REJECT (was required).  And I shouldn't see anything after AUTHREQ.

When it is accepted the call completes correctly, albeit without the
encryption I desire.  When it is rejected it gives me Cause (0x16) of "No
authority found" and a Hangup Cause (0x2a) of "Facility not subscribed
(0x32)

*I am starting to think that this is a defect with the IAX2 protocol
implementation, I have seen NOTHING indicating that you cannot use RSA
authentication with IAX2 encryption BUT that does seem to be what IS
happening.  Nor have I found anything indicating this was a conscious
design decision.*

So does anyone have anything to add?  How would I get this addressed as a
bug?



On Mon, Apr 7, 2014 at 11:54 AM, Elliott W wrote:

> Any ideas?  Still hoping..
>
>
> On Sun, Apr 6, 2014 at 12:03 AM, Elliott W wrote:
>
>> I have.
>>
>> On the receiving side I had gotten:
>> [2014-04-05 23:28:12] WARNING[1832] chan_iax2.c: Rejected connect
>> attempt. No secret present while force encrypt enabled.
>>
>> I had no secret because I was using RSA authentication and didn't think I
>> needed it, so I added EXACTLY the same line on both sides (copy/paste).
>> Now I get:
>> [2014-04-05 23:30:42] NOTICE[1832] chan_iax2.c: Call Terminated, Incoming
>> call is unencrypted while force encrypt is enabled.
>>
>> On the sending side I really get nothing useful:
>> [2014-04-05 23:30:42] VERBOSE[2795][C-0002] pbx.c: -- Executing
>> [s@macro-dialout-trunk:22] Dial("SIP/comp-in-ch01-0001", "
>> IAX2/ch01_ch02/1234,300,Ttr") in new stack
>> [2014-04-05 23:30:42] VERBOSE[2795][C-0002] app_dial.c: -- Called
>> IAX2/ch01_ch02/1234
>> [2014-04-05 23:30:43] VERBOSE[2795][C-0002] chan_iax2.c: -- Hungup
>> 'IAX2/ch01_ch02-17634'
>> [2014-04-05 23:30:43] VERBOSE[2795][C-0002] app_dial.c: == Everyone
>> is busy/congested at this time (1:0/0/1)
>> I modified the extension and the trunk name for security reasons, but
>> without force encryption calls flow back and forth easily.
>>
>> These three directives exist on both sides:
>> encryption=yes
>> forceencryption=yes
>> secret=mysecretcode
>>
>> So I'm kind of at a loss, I can see the options set, I can see:
>> [2014-04-05 23:59:32] VERBOSE[1832] chan_iax2.c: -- Accepting
>> AUTHENTICATED call from xxx.yyy.zzz.aaa:
>> when I DON'T have the force encryption set, so I can't see what else I
>> need to do..
>>
>> CEW
>>
>>
>>
>>
>> On Fri, Apr 4, 2014 at 7:07 PM, Steve Totaro <
>> stot...@totarotechnologies.com> wrote:
>>
>>> Have you enabled IAX2 debugging and tried some test calls?
>>>
>>> Thanks,
>>> Steve T
>>>
>>>
>>>
>>> On Fri, Apr 4, 2014 at 6:59 PM, Elliott W 
>>> wrote:
>>>
 That answered my question as to whether it WAS encrypted, I think, and
 the answer is no, the credentials are but all the rest is not.  That just
 leaves the question of what I need to do to get it encrypted..

 Thanks.


 On Fri, Apr 4, 2014 at 12:59 PM, Steve Totaro <
 stot...@totarotechnologies.com> wrote:

> Wireshark.
>
>
>
> On Fri, Apr 4, 2014 at 11:13 AM, Elliott W <
> dig...@private-address.info> wrote:
>
>> Ok, I think I am 90%+ there.
>>
>> Note: the configuration or status is the same on both sides unless
>> otherwise noted.
>>
>> I am using RSA keys for authentication and the calls are coming
>> through as authenticated so I'm sure that part works.
>>
>> The peer shows the "(E)" next to the status in Asterisk Info for the
>> IAX2 peers
>>

Re: [asterisk-users] IAX2 Trunk Encryption

2014-04-07 Thread Elliott W
Any ideas?  Still hoping..


On Sun, Apr 6, 2014 at 12:03 AM, Elliott W wrote:

> I have.
>
> On the receiving side I had gotten:
> [2014-04-05 23:28:12] WARNING[1832] chan_iax2.c: Rejected connect attempt.
> No secret present while force encrypt enabled.
>
> I had no secret because I was using RSA authentication and didn't think I
> needed it, so I added EXACTLY the same line on both sides (copy/paste).
> Now I get:
> [2014-04-05 23:30:42] NOTICE[1832] chan_iax2.c: Call Terminated, Incoming
> call is unencrypted while force encrypt is enabled.
>
> On the sending side I really get nothing useful:
> [2014-04-05 23:30:42] VERBOSE[2795][C-0002] pbx.c: -- Executing
> [s@macro-dialout-trunk:22] Dial("SIP/comp-in-ch01-0001", "
> IAX2/ch01_ch02/1234,300,Ttr") in new stack
> [2014-04-05 23:30:42] VERBOSE[2795][C-0002] app_dial.c: -- Called
> IAX2/ch01_ch02/1234
> [2014-04-05 23:30:43] VERBOSE[2795][C-0002] chan_iax2.c: -- Hungup
> 'IAX2/ch01_ch02-17634'
> [2014-04-05 23:30:43] VERBOSE[2795][C-0002] app_dial.c: == Everyone is
> busy/congested at this time (1:0/0/1)
> I modified the extension and the trunk name for security reasons, but
> without force encryption calls flow back and forth easily.
>
> These three directives exist on both sides:
> encryption=yes
> forceencryption=yes
> secret=mysecretcode
>
> So I'm kind of at a loss, I can see the options set, I can see:
> [2014-04-05 23:59:32] VERBOSE[1832] chan_iax2.c: -- Accepting
> AUTHENTICATED call from xxx.yyy.zzz.aaa:
> when I DON'T have the force encryption set, so I can't see what else I
> need to do..
>
> CEW
>
>
>
>
> On Fri, Apr 4, 2014 at 7:07 PM, Steve Totaro <
> stot...@totarotechnologies.com> wrote:
>
>> Have you enabled IAX2 debugging and tried some test calls?
>>
>> Thanks,
>> Steve T
>>
>>
>>
>> On Fri, Apr 4, 2014 at 6:59 PM, Elliott W wrote:
>>
>>> That answered my question as to whether it WAS encrypted, I think, and
>>> the answer is no, the credentials are but all the rest is not.  That just
>>> leaves the question of what I need to do to get it encrypted..
>>>
>>> Thanks.
>>>
>>>
>>> On Fri, Apr 4, 2014 at 12:59 PM, Steve Totaro <
>>> stot...@totarotechnologies.com> wrote:
>>>
 Wireshark.



 On Fri, Apr 4, 2014 at 11:13 AM, Elliott W >>> > wrote:

> Ok, I think I am 90%+ there.
>
> Note: the configuration or status is the same on both sides unless
> otherwise noted.
>
> I am using RSA keys for authentication and the calls are coming
> through as authenticated so I'm sure that part works.
>
> The peer shows the "(E)" next to the status in Asterisk Info for the
> IAX2 peers
>
> The trunk configuration contains:
> encryption=yes
>
> So here is my question, Calls stop flowing when I use the directive:
> forceencryption=yes
> At the trunk level or higher does not matter, same effect.
>
> So my question comes down to, are my calls getting encrypted and why
> does this directive cause them to fail, AND how can I tell.
>
> Thanks.
>
>


 --
 _
 -- 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
>>>
>>
>>
>> --
>> _
>> -- 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

Re: [asterisk-users] IAX2 Trunk Encryption

2014-04-05 Thread Elliott W
I have.

On the receiving side I had gotten:
[2014-04-05 23:28:12] WARNING[1832] chan_iax2.c: Rejected connect attempt.
No secret present while force encrypt enabled.

I had no secret because I was using RSA authentication and didn't think I
needed it, so I added EXACTLY the same line on both sides (copy/paste).
Now I get:
[2014-04-05 23:30:42] NOTICE[1832] chan_iax2.c: Call Terminated, Incoming
call is unencrypted while force encrypt is enabled.

On the sending side I really get nothing useful:
[2014-04-05 23:30:42] VERBOSE[2795][C-0002] pbx.c: -- Executing
[s@macro-dialout-trunk:22] Dial("SIP/comp-in-ch01-0001", "
IAX2/ch01_ch02/1234,300,Ttr") in new stack
[2014-04-05 23:30:42] VERBOSE[2795][C-0002] app_dial.c: -- Called
IAX2/ch01_ch02/1234
[2014-04-05 23:30:43] VERBOSE[2795][C-0002] chan_iax2.c: -- Hungup
'IAX2/ch01_ch02-17634'
[2014-04-05 23:30:43] VERBOSE[2795][C-0002] app_dial.c: == Everyone is
busy/congested at this time (1:0/0/1)
I modified the extension and the trunk name for security reasons, but
without force encryption calls flow back and forth easily.

These three directives exist on both sides:
encryption=yes
forceencryption=yes
secret=mysecretcode

So I'm kind of at a loss, I can see the options set, I can see:
[2014-04-05 23:59:32] VERBOSE[1832] chan_iax2.c: -- Accepting AUTHENTICATED
call from xxx.yyy.zzz.aaa:
when I DON'T have the force encryption set, so I can't see what else I need
to do..

CEW




On Fri, Apr 4, 2014 at 7:07 PM, Steve Totaro  wrote:

> Have you enabled IAX2 debugging and tried some test calls?
>
> Thanks,
> Steve T
>
>
>
> On Fri, Apr 4, 2014 at 6:59 PM, Elliott W wrote:
>
>> That answered my question as to whether it WAS encrypted, I think, and
>> the answer is no, the credentials are but all the rest is not.  That just
>> leaves the question of what I need to do to get it encrypted..
>>
>> Thanks.
>>
>>
>> On Fri, Apr 4, 2014 at 12:59 PM, Steve Totaro <
>> stot...@totarotechnologies.com> wrote:
>>
>>> Wireshark.
>>>
>>>
>>>
>>> On Fri, Apr 4, 2014 at 11:13 AM, Elliott W 
>>> wrote:
>>>
 Ok, I think I am 90%+ there.

 Note: the configuration or status is the same on both sides unless
 otherwise noted.

 I am using RSA keys for authentication and the calls are coming through
 as authenticated so I'm sure that part works.

 The peer shows the "(E)" next to the status in Asterisk Info for the
 IAX2 peers

 The trunk configuration contains:
 encryption=yes

 So here is my question, Calls stop flowing when I use the directive:
 forceencryption=yes
 At the trunk level or higher does not matter, same effect.

 So my question comes down to, are my calls getting encrypted and why
 does this directive cause them to fail, AND how can I tell.

 Thanks.


>>>
>>>
>>> --
>>> _
>>> -- 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
>>
>
>
> --
> _
> -- 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

Re: [asterisk-users] IAX2 Trunk Encryption

2014-04-04 Thread Steve Totaro
Have you enabled IAX2 debugging and tried some test calls?

Thanks,
Steve T


On Fri, Apr 4, 2014 at 6:59 PM, Elliott W wrote:

> That answered my question as to whether it WAS encrypted, I think, and the
> answer is no, the credentials are but all the rest is not.  That just
> leaves the question of what I need to do to get it encrypted..
>
> Thanks.
>
>
> On Fri, Apr 4, 2014 at 12:59 PM, Steve Totaro <
> stot...@totarotechnologies.com> wrote:
>
>> Wireshark.
>>
>>
>>
>> On Fri, Apr 4, 2014 at 11:13 AM, Elliott W 
>> wrote:
>>
>>> Ok, I think I am 90%+ there.
>>>
>>> Note: the configuration or status is the same on both sides unless
>>> otherwise noted.
>>>
>>> I am using RSA keys for authentication and the calls are coming through
>>> as authenticated so I'm sure that part works.
>>>
>>> The peer shows the "(E)" next to the status in Asterisk Info for the
>>> IAX2 peers
>>>
>>> The trunk configuration contains:
>>> encryption=yes
>>>
>>> So here is my question, Calls stop flowing when I use the directive:
>>> forceencryption=yes
>>> At the trunk level or higher does not matter, same effect.
>>>
>>> So my question comes down to, are my calls getting encrypted and why
>>> does this directive cause them to fail, AND how can I tell.
>>>
>>> Thanks.
>>>
>>>
>>
>>
>> --
>> _
>> -- 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
>
-- 
_
-- 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] IAX2 Trunk Encryption

2014-04-04 Thread Elliott W
That answered my question as to whether it WAS encrypted, I think, and the
answer is no, the credentials are but all the rest is not.  That just
leaves the question of what I need to do to get it encrypted..

Thanks.


On Fri, Apr 4, 2014 at 12:59 PM, Steve Totaro <
stot...@totarotechnologies.com> wrote:

> Wireshark.
>
>
>
> On Fri, Apr 4, 2014 at 11:13 AM, Elliott W wrote:
>
>> Ok, I think I am 90%+ there.
>>
>> Note: the configuration or status is the same on both sides unless
>> otherwise noted.
>>
>> I am using RSA keys for authentication and the calls are coming through
>> as authenticated so I'm sure that part works.
>>
>> The peer shows the "(E)" next to the status in Asterisk Info for the IAX2
>> peers
>>
>> The trunk configuration contains:
>> encryption=yes
>>
>> So here is my question, Calls stop flowing when I use the directive:
>> forceencryption=yes
>> At the trunk level or higher does not matter, same effect.
>>
>> So my question comes down to, are my calls getting encrypted and why does
>> this directive cause them to fail, AND how can I tell.
>>
>> Thanks.
>>
>>
>
>
> --
> _
> -- 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

Re: [asterisk-users] IAX2 Trunk Encryption

2014-04-04 Thread Steve Totaro
Wireshark.


On Fri, Apr 4, 2014 at 11:13 AM, Elliott W wrote:

> Ok, I think I am 90%+ there.
>
> Note: the configuration or status is the same on both sides unless
> otherwise noted.
>
> I am using RSA keys for authentication and the calls are coming through as
> authenticated so I'm sure that part works.
>
> The peer shows the "(E)" next to the status in Asterisk Info for the IAX2
> peers
>
> The trunk configuration contains:
> encryption=yes
>
> So here is my question, Calls stop flowing when I use the directive:
> forceencryption=yes
> At the trunk level or higher does not matter, same effect.
>
> So my question comes down to, are my calls getting encrypted and why does
> this directive cause them to fail, AND how can I tell.
>
> Thanks.
>
>
-- 
_
-- 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] IAX2 Trunk Encryption

2014-04-04 Thread Elliott W
Ok, I think I am 90%+ there.

Note: the configuration or status is the same on both sides unless
otherwise noted.

I am using RSA keys for authentication and the calls are coming through as
authenticated so I'm sure that part works.

The peer shows the "(E)" next to the status in Asterisk Info for the IAX2
peers

The trunk configuration contains:
encryption=yes

So here is my question, Calls stop flowing when I use the directive:
forceencryption=yes
At the trunk level or higher does not matter, same effect.

So my question comes down to, are my calls getting encrypted and why does
this directive cause them to fail, AND how can I tell.

Thanks.
-- 
_
-- 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] IAX2 bridge failing

2013-12-15 Thread Michelle Dupuis
No - but this is a new setup so I can't say it worked before...it just isn't 
working from the start.

I've found the call setup works and once bridged there is one way audio (to the 
ATA, none from the ATA).  And the the connection drops after 30 secs approx 
because something on the path (or endpoint) realizes something is wrong...


From: asterisk-users-boun...@lists.digium.com 
[asterisk-users-boun...@lists.digium.com] On Behalf Of Steven Davis 
[stda...@multiservice.com]
Sent: Sunday, December 15, 2013 12:41 AM
To: Asterisk Users List
Subject: Re: [asterisk-users] IAX2 bridge failing

Did you change your network switch recently?  Some Digium IAX ATAs do not 
behave well with Cisco equipment.


On Sat, Dec 14, 2013 at 10:26 PM, Michelle Dupuis 
mailto:mdup...@ocg.ca>> wrote:
meant to say restart didn't help either..


From: 
asterisk-users-boun...@lists.digium.com<mailto:asterisk-users-boun...@lists.digium.com>
 
[asterisk-users-boun...@lists.digium.com<mailto:asterisk-users-boun...@lists.digium.com>]
 On Behalf Of Michelle Dupuis [mdup...@ocg.ca<mailto:mdup...@ocg.ca>]
Sent: Saturday, December 14, 2013 11:20 PM
To: Asterisk Users List
Subject: Re: [asterisk-users] IAX2 bridge failing

Ok just restart

-Original Message-
From: 
asterisk-users-boun...@lists.digium.com<mailto:asterisk-users-boun...@lists.digium.com>
 
[mailto:asterisk-users-boun...@lists.digium.com<mailto:asterisk-users-boun...@lists.digium.com>]
 On Behalf Of Michelle Dupuis
Sent: Friday, December 13, 2013 11:46 AM
To: Asterisk Users List
Subject: Re: [asterisk-users] IAX2 bridge failing

I tried transfer=no, transfer=yer, and transfer=mediaonly (with a "reload" 
inbetween)same result

I agree it sounds like something either end is using the wrong IP/port address 
somewhere in the call (yet signalling works fine).

Anything else to suggest?  I was hoping for an externalip type setting but not 
in iax2 (at least not in 1.4.x.x) 
From: 
asterisk-users-boun...@lists.digium.com<mailto:asterisk-users-boun...@lists.digium.com>
 
[asterisk-users-boun...@lists.digium.com<mailto:asterisk-users-boun...@lists.digium.com>]
 On Behalf Of Joshua Colp [jc...@digium.com<mailto:jc...@digium.com>]
Sent: Friday, December 13, 2013 11:44 AM
To: Asterisk Users List
Subject: Re: [asterisk-users] IAX2 bridge failing

Michelle Dupuis wrote:
> Some more details...I noticed that the call is bridged, and audio goes
> one way. However, the dial command still times out after 35 seconds
> (approx), and exists non-zero.
> While the channels are up, I did an core show channel xxx and found
> Blocking in:
> ast_waitfor_nandfds
> Is this a bug? Or something I can fix through config?

Hola,

Set "transfer=no" under the entries in iax.conf for the peers/users/friends/etc 
in question, reload, retry, and see if that changes the behavior. If it does 
then something involved may not like
IAX2 native transfers.

Cheers,

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at:  
www.digium.com<http://www.digium.com>  & 
www.asterisk.org<http://www.asterisk.org>

--
_
-- 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

--
_
-- 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



--
Steven Davis
VoIP Engineer
Multi Service

+1-913-663-97

Re: [asterisk-users] IAX2 bridge failing

2013-12-14 Thread Steven Davis
Did you change your network switch recently?  Some Digium IAX ATAs do not
behave well with Cisco equipment.


On Sat, Dec 14, 2013 at 10:26 PM, Michelle Dupuis  wrote:

> meant to say restart didn't help either..
>
> 
> From: asterisk-users-boun...@lists.digium.com [
> asterisk-users-boun...@lists.digium.com] On Behalf Of Michelle Dupuis [
> mdup...@ocg.ca]
> Sent: Saturday, December 14, 2013 11:20 PM
> To: Asterisk Users List
> Subject: Re: [asterisk-users] IAX2 bridge failing
>
> Ok just restart
>
> -Original Message-
> From: asterisk-users-boun...@lists.digium.com [mailto:
> asterisk-users-boun...@lists.digium.com] On Behalf Of Michelle Dupuis
> Sent: Friday, December 13, 2013 11:46 AM
> To: Asterisk Users List
> Subject: Re: [asterisk-users] IAX2 bridge failing
>
> I tried transfer=no, transfer=yer, and transfer=mediaonly (with a "reload"
> inbetween)same result
>
> I agree it sounds like something either end is using the wrong IP/port
> address somewhere in the call (yet signalling works fine).
>
> Anything else to suggest?  I was hoping for an externalip type setting but
> not in iax2 (at least not in 1.4.x.x)
> 
> From: asterisk-users-boun...@lists.digium.com [
> asterisk-users-boun...@lists.digium.com] On Behalf Of Joshua Colp [
> jc...@digium.com]
> Sent: Friday, December 13, 2013 11:44 AM
> To: Asterisk Users List
> Subject: Re: [asterisk-users] IAX2 bridge failing
>
> Michelle Dupuis wrote:
> > Some more details...I noticed that the call is bridged, and audio goes
> > one way. However, the dial command still times out after 35 seconds
> > (approx), and exists non-zero.
> > While the channels are up, I did an core show channel xxx and found
> > Blocking in:
> > ast_waitfor_nandfds
> > Is this a bug? Or something I can fix through config?
>
> Hola,
>
> Set "transfer=no" under the entries in iax.conf for the
> peers/users/friends/etc in question, reload, retry, and see if that changes
> the behavior. If it does then something involved may not like
> IAX2 native transfers.
>
> Cheers,
>
> --
> Joshua Colp
> Digium, Inc. | Senior Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at:
> www.digium.com  & www.asterisk.org
>
> --
> _
> -- 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
>
> --
> _
> -- 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
>



-- 
*Steven Davis*
VoIP Engineer
Multi Service

+1-913-663-9748 o
+1-913-871-5155 m

stda...@multiservice.com

<http://www.multiservice.com/>

-- 


--
This email is intended solely for the use of the addressee and may
contain information that is confidential, proprietary, or both.
If you receive this email in error please immediately notify the
sender and delete the email..
--

-- 
_
-- 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] IAX2 bridge failing

2013-12-14 Thread Michelle Dupuis
meant to say restart didn't help either..


From: asterisk-users-boun...@lists.digium.com 
[asterisk-users-boun...@lists.digium.com] On Behalf Of Michelle Dupuis 
[mdup...@ocg.ca]
Sent: Saturday, December 14, 2013 11:20 PM
To: Asterisk Users List
Subject: Re: [asterisk-users] IAX2 bridge failing

Ok just restart

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Michelle Dupuis
Sent: Friday, December 13, 2013 11:46 AM
To: Asterisk Users List
Subject: Re: [asterisk-users] IAX2 bridge failing

I tried transfer=no, transfer=yer, and transfer=mediaonly (with a "reload" 
inbetween)same result

I agree it sounds like something either end is using the wrong IP/port address 
somewhere in the call (yet signalling works fine).

Anything else to suggest?  I was hoping for an externalip type setting but not 
in iax2 (at least not in 1.4.x.x) 
From: asterisk-users-boun...@lists.digium.com 
[asterisk-users-boun...@lists.digium.com] On Behalf Of Joshua Colp 
[jc...@digium.com]
Sent: Friday, December 13, 2013 11:44 AM
To: Asterisk Users List
Subject: Re: [asterisk-users] IAX2 bridge failing

Michelle Dupuis wrote:
> Some more details...I noticed that the call is bridged, and audio goes
> one way. However, the dial command still times out after 35 seconds
> (approx), and exists non-zero.
> While the channels are up, I did an core show channel xxx and found
> Blocking in:
> ast_waitfor_nandfds
> Is this a bug? Or something I can fix through config?

Hola,

Set "transfer=no" under the entries in iax.conf for the peers/users/friends/etc 
in question, reload, retry, and see if that changes the behavior. If it does 
then something involved may not like
IAX2 native transfers.

Cheers,

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at:  
www.digium.com  & www.asterisk.org

--
_
-- 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

--
_
-- 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


Re: [asterisk-users] IAX2 bridge failing

2013-12-14 Thread Michelle Dupuis
Ok just restart

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Michelle Dupuis
Sent: Friday, December 13, 2013 11:46 AM
To: Asterisk Users List
Subject: Re: [asterisk-users] IAX2 bridge failing

I tried transfer=no, transfer=yer, and transfer=mediaonly (with a "reload" 
inbetween)same result

I agree it sounds like something either end is using the wrong IP/port address 
somewhere in the call (yet signalling works fine).

Anything else to suggest?  I was hoping for an externalip type setting but not 
in iax2 (at least not in 1.4.x.x) 
From: asterisk-users-boun...@lists.digium.com 
[asterisk-users-boun...@lists.digium.com] On Behalf Of Joshua Colp 
[jc...@digium.com]
Sent: Friday, December 13, 2013 11:44 AM
To: Asterisk Users List
Subject: Re: [asterisk-users] IAX2 bridge failing

Michelle Dupuis wrote:
> Some more details...I noticed that the call is bridged, and audio goes 
> one way. However, the dial command still times out after 35 seconds 
> (approx), and exists non-zero.
> While the channels are up, I did an core show channel xxx and found 
> Blocking in:
> ast_waitfor_nandfds
> Is this a bug? Or something I can fix through config?

Hola,

Set "transfer=no" under the entries in iax.conf for the peers/users/friends/etc 
in question, reload, retry, and see if that changes the behavior. If it does 
then something involved may not like
IAX2 native transfers.

Cheers,

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at:  
www.digium.com  & www.asterisk.org

--
_
-- 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

-- 
_
-- 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] IAX2 bridge failing

2013-12-13 Thread Michelle Dupuis
Some more details...I noticed that the call is bridged, and audio goes one way. 
 However, the dial command still times out after 35 seconds (approx), and 
exists non-zero.

While the channels are up, I did an core show channel xxx and found Blocking in:
ast_waitfor_nandfds

Is this a bug?  Or something I can fix through config?


From: asterisk-users-boun...@lists.digium.com 
[asterisk-users-boun...@lists.digium.com] On Behalf Of Michelle Dupuis 
[mdup...@ocg.ca]
Sent: Thursday, December 12, 2013 5:08 PM
To: Asterisk Users List
Subject: [asterisk-users] IAX2 bridge failing

I am trying to connect an IAX ATA to an Asterisk 1.4.21.2 system.  The Asterisk 
system has been stable for years, and has no trouble bridge SIP phone sets to 
IAX trunks.

When I initiate a call from the IAX ATA, something goes wrong.One rare 
occasion it works fine, but usually there is no audio passed.  I have a snippet 
of the console below.  Notice no bridging message...not sure if that's a clue?  
The dialplan seems to execute properly, and I can watch the destination system 
which answers the call and starts playing media (monkeys) which I don't hear.

Any ideas on what is going on?  Since this is IAX in and IAX out, NAT should 
not be an issue (even through there is NAT on both sides).  Since media moves 
on the same UDP port as call setup, also proves should not be a network problem 
(I think)

Can someone point me to a solution?

Thanks!


(IP's and ISP and phone number disguised)

- Executing [s@macro-dialexternal:57] GotoIf("IAX2/S-14468", "1?dialnormal") in 
new stack
-- Goto (macro-dialexternal,s,60)
-- Executing [s@macro-dialexternal:60] Dial("IAX2/S-14468", 
"IAX2/ISP123/1234567890|60|W") in new stack
-- Called ISP123/1234567890
-- Call accepted by 201.191.37.138 (format ulaw)
-- Format for call is ulaw
-- IAX2/ISP123-2261 answered IAX2/S-14468
-- Channel 'IAX2/S-14468' ready to transfer
-- Channel 'IAX2/ISP123-2261' ready to transfer
-- Hungup 'IAX2/ISP123-2261'
-- 
_
-- 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] IAX2 bridge failing

2013-12-13 Thread Michelle Dupuis
I tried transfer=no, transfer=yer, and transfer=mediaonly (with a "reload" 
inbetween)same result

I agree it sounds like something either end is using the wrong IP/port address 
somewhere in the call (yet signalling works fine).

Anything else to suggest?  I was hoping for an externalip type setting but not 
in iax2 (at least not in 1.4.x.x)

From: asterisk-users-boun...@lists.digium.com 
[asterisk-users-boun...@lists.digium.com] On Behalf Of Joshua Colp 
[jc...@digium.com]
Sent: Friday, December 13, 2013 11:44 AM
To: Asterisk Users List
Subject: Re: [asterisk-users] IAX2 bridge failing

Michelle Dupuis wrote:
> Some more details...I noticed that the call is bridged, and audio goes
> one way. However, the dial command still times out after 35 seconds
> (approx), and exists non-zero.
> While the channels are up, I did an core show channel xxx and found
> Blocking in:
> ast_waitfor_nandfds
> Is this a bug? Or something I can fix through config?

Hola,

Set "transfer=no" under the entries in iax.conf for the
peers/users/friends/etc in question, reload, retry, and see if that
changes the behavior. If it does then something involved may not like
IAX2 native transfers.

Cheers,

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com  & www.asterisk.org

--
_
-- 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


Re: [asterisk-users] IAX2 bridge failing

2013-12-13 Thread Joshua Colp

Michelle Dupuis wrote:

Some more details...I noticed that the call is bridged, and audio goes
one way. However, the dial command still times out after 35 seconds
(approx), and exists non-zero.
While the channels are up, I did an core show channel xxx and found
Blocking in:
ast_waitfor_nandfds
Is this a bug? Or something I can fix through config?


Hola,

Set "transfer=no" under the entries in iax.conf for the 
peers/users/friends/etc in question, reload, retry, and see if that 
changes the behavior. If it does then something involved may not like 
IAX2 native transfers.


Cheers,

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com  & www.asterisk.org

--
_
-- 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] IAX2 bridge failing

2013-12-12 Thread Michelle Dupuis
I am trying to connect an IAX ATA to an Asterisk 1.4.21.2 system.  The Asterisk 
system has been stable for years, and has no trouble bridge SIP phone sets to 
IAX trunks.

When I initiate a call from the IAX ATA, something goes wrong.One rare 
occasion it works fine, but usually there is no audio passed.  I have a snippet 
of the console below.  Notice no bridging message...not sure if that's a clue?  
The dialplan seems to execute properly, and I can watch the destination system 
which answers the call and starts playing media (monkeys) which I don't hear.

Any ideas on what is going on?  Since this is IAX in and IAX out, NAT should 
not be an issue (even through there is NAT on both sides).  Since media moves 
on the same UDP port as call setup, also proves should not be a network problem 
(I think)

Can someone point me to a solution?

Thanks!


(IP's and ISP and phone number disguised)

- Executing [s@macro-dialexternal:57] GotoIf("IAX2/S-14468", "1?dialnormal") in 
new stack
-- Goto (macro-dialexternal,s,60)
-- Executing [s@macro-dialexternal:60] Dial("IAX2/S-14468", 
"IAX2/ISP123/1234567890|60|W") in new stack
-- Called ISP123/1234567890
-- Call accepted by 201.191.37.138 (format ulaw)
-- Format for call is ulaw
-- IAX2/ISP123-2261 answered IAX2/S-14468
-- Channel 'IAX2/S-14468' ready to transfer
-- Channel 'IAX2/ISP123-2261' ready to transfer
-- Hungup 'IAX2/ISP123-2261'
-- 
_
-- 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] iax2: no authentication, but still peer?

2013-10-13 Thread Sean Darcy

On 10/08/2013 03:29 PM, Adrian Serafini wrote:

The qualify is on for the peer.  It is failing to reply to the requested
SIP status.  Maybe it is on wifi, screen goes off, wifi follows, zoiper
iax stack doesn't re-reg with the asterisk.


[Oct 8 18:14:14] NOTICE[510]: chan_iax2.c:11071 socket_process_helper:
Peer 'n4' is now REACHABLE! Time: 441
[Oct 8 18:15:58] NOTICE[519]: chan_iax2.c:8153 register_verify: Host
 failed MD5 authentication for 'n4'
(c374d0a70c72e6e9bd359aa6a0f1a6c2 != 2c76c104bbfc3d54f566490f40cd12bd)
[Oct 8 18:19:17] NOTICE[517]: chan_iax2.c:11077 socket_process_helper:
Peer 'n4' is now TOO LAGGED (1002 ms)!
[Oct 8 18:19:29] NOTICE[512]: chan_iax2.c:11071 socket_process_helper:
Peer 'n4' is now REACHABLE! Time: 300
[Oct 8 18:26:02] NOTICE[519]: chan_iax2.c:11077 socket_process_helper:
Peer 'n4' is now TOO LAGGED (1017 ms)!
ip-172-31-29-115*CLI> iax2 show peers
Name/Username Host Mask Port Status Description
n4  (D) 255.255.255.255 4569 LAGGED (1017 ms)

is it still registered, or do we really have an authentication problem?

sean





Got it thanks.  So the issue is that zoiper should re-register when the 
wifi comes back on.


sean


--
_
-- 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] iax2: no authentication, but still peer?

2013-10-08 Thread Adrian Serafini
The qualify is on for the peer.  It is failing to reply to the requested 
SIP status.  Maybe it is on wifi, screen goes off, wifi follows, zoiper 
iax stack doesn't re-reg with the asterisk.


[Oct 8 18:14:14] NOTICE[510]: chan_iax2.c:11071 socket_process_helper:
Peer 'n4' is now REACHABLE! Time: 441
[Oct 8 18:15:58] NOTICE[519]: chan_iax2.c:8153 register_verify: Host
 failed MD5 authentication for 'n4'
(c374d0a70c72e6e9bd359aa6a0f1a6c2 != 2c76c104bbfc3d54f566490f40cd12bd)
[Oct 8 18:19:17] NOTICE[517]: chan_iax2.c:11077 socket_process_helper:
Peer 'n4' is now TOO LAGGED (1002 ms)!
[Oct 8 18:19:29] NOTICE[512]: chan_iax2.c:11071 socket_process_helper:
Peer 'n4' is now REACHABLE! Time: 300
[Oct 8 18:26:02] NOTICE[519]: chan_iax2.c:11077 socket_process_helper:
Peer 'n4' is now TOO LAGGED (1017 ms)!
ip-172-31-29-115*CLI> iax2 show peers
Name/Username Host Mask Port Status Description
n4  (D) 255.255.255.255 4569 LAGGED (1017 ms)

is it still registered, or do we really have an authentication problem?

sean





--
_
-- 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] iax2: no authentication, but still peer?

2013-10-08 Thread Sean Darcy
Using zoiper on a nexus 4, asterisk 11.5.1, sometimes we see failed 
authentication. The secret seems correct, so we can't figure out why 
we're getting failed authentication. But at the same time the device 
shows as registered:



[Oct  8 18:14:14] NOTICE[510]: chan_iax2.c:11071 socket_process_helper: 
Peer 'n4' is now REACHABLE! Time: 441
[Oct  8 18:15:58] NOTICE[519]: chan_iax2.c:8153 register_verify: Host 
 failed MD5 authentication for 'n4' 
(c374d0a70c72e6e9bd359aa6a0f1a6c2 != 2c76c104bbfc3d54f566490f40cd12bd)
[Oct  8 18:19:17] NOTICE[517]: chan_iax2.c:11077 socket_process_helper: 
Peer 'n4' is now TOO LAGGED (1002 ms)!
[Oct  8 18:19:29] NOTICE[512]: chan_iax2.c:11071 socket_process_helper: 
Peer 'n4' is now REACHABLE! Time: 300
[Oct  8 18:26:02] NOTICE[519]: chan_iax2.c:11077 socket_process_helper: 
Peer 'n4' is now TOO LAGGED (1017 ms)!

ip-172-31-29-115*CLI> iax2 show peers
Name/UsernameHost Mask PortStatus 
Description

n4  (D)  255.255.255.255  4569   LAGGED (1017 ms)

is it still registered, or do we really have an authentication problem?

sean


--
_
-- 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] iax2: two users can't authenticate from same ip address

2013-09-10 Thread Sean Darcy

On 09/10/2013 12:15 PM, Joshua Colp wrote:

Sean Darcy wrote:

Maybe a different question would be helpful. Let's assume no NAT; the
server is directly connected with an FQDN. Two iax devices register.
Does asterisk assign them different ports?


Asterisk does not assign ports. The IAX2 channel driver, by default,
binds to a single UDP port (4569). As UDP is connectionless there are no
connections. What you see on the console is the *source* IP address and
port of the packets. It's possible that the Amazon stuff is sort of
NATting things to do connection tracking... but that's Amazon land, so
no clue really.



Since no horse is dead enough not to take another beating:

If the console is showing the *source* port of the packets. then:

does the server send iax packets to that source port, or to 4569?

"home" (which is another asterisk server) shows 4569, while the androids 
running zoiper show random ports. I assume zoiper puts the source port 
in an iax packet. But regardless of how zoiper describes its source 
port, asterisk will only send iax packets on 4569. correct?


I ask all this because Amazon EC2 uses a firewall that doesn't have a 
connection state. All incoming ports are blocked unless they are 
explicitly opened. Just having a packet go out to an ip address and 
port, doesn't open the source port.


But if iax is always and only using 4569 to send and receive, I don't 
have to worry about opening any other ports.


Thanks,

sean


--
_
-- 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] iax2: two users can't authenticate from same ip address

2013-09-10 Thread Sean Darcy

On 09/10/2013 05:27 PM, Joshua Colp wrote:

Sean Darcy wrote:

On 09/10/2013 12:15 PM, Joshua Colp wrote:

Sean Darcy wrote:

Maybe a different question would be helpful. Let's assume no NAT; the
server is directly connected with an FQDN. Two iax devices register.
Does asterisk assign them different ports?


Asterisk does not assign ports. The IAX2 channel driver, by default,
binds to a single UDP port (4569). As UDP is connectionless there are no
connections. What you see on the console is the *source* IP address and
port of the packets. It's possible that the Amazon stuff is sort of
NATting things to do connection tracking... but that's Amazon land, so
no clue really.



Since no horse is dead enough not to take another beating:

If the console is showing the *source* port of the packets. then:

does the server send iax packets to that source port, or to 4569?


It sends to the source port if using the registration.



"home" (which is another asterisk server) shows 4569, while the androids
running zoiper show random ports. I assume zoiper puts the source port
in an iax packet. But regardless of how zoiper describes its source
port, asterisk will only send iax packets on 4569. correct?


It does not put the source port in an IAX packet. It's in the IP header
itself, outside of IAX. Asterisk will send IAX packets *from* port 4569
but *to* any host/port.



OK, so I only need to open up 4569 incoming, But I need to allow a range 
of outgoing udp ports since zoiper is choosing other udp ports in the IP 
header of the iax registration.


Thanks. Sorry it's taken so long for me to get this.

sean


--
_
-- 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] iax2: two users can't authenticate from same ip address

2013-09-10 Thread Joshua Colp

Sean Darcy wrote:

On 09/10/2013 12:15 PM, Joshua Colp wrote:

Sean Darcy wrote:

Maybe a different question would be helpful. Let's assume no NAT; the
server is directly connected with an FQDN. Two iax devices register.
Does asterisk assign them different ports?


Asterisk does not assign ports. The IAX2 channel driver, by default,
binds to a single UDP port (4569). As UDP is connectionless there are no
connections. What you see on the console is the *source* IP address and
port of the packets. It's possible that the Amazon stuff is sort of
NATting things to do connection tracking... but that's Amazon land, so
no clue really.



Since no horse is dead enough not to take another beating:

If the console is showing the *source* port of the packets. then:

does the server send iax packets to that source port, or to 4569?


It sends to the source port if using the registration.



"home" (which is another asterisk server) shows 4569, while the androids
running zoiper show random ports. I assume zoiper puts the source port
in an iax packet. But regardless of how zoiper describes its source
port, asterisk will only send iax packets on 4569. correct?


It does not put the source port in an IAX packet. It's in the IP header 
itself, outside of IAX. Asterisk will send IAX packets *from* port 4569 
but *to* any host/port.


--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com  & www.asterisk.org

--
_
-- 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] iax2: two users can't authenticate from same ip address

2013-09-10 Thread Sean Darcy

On 09/09/2013 07:48 PM, Eric Wieling wrote:

Try this as an example of why it doesn't matter.

1) On windows open a cmd prompt or on linux open up a local terminal.
2) open a web browser and connect to a web site like cnn.com
3) on windows type "netstat -n" in the command prompt, in linux type netstat -n 
--ip

For example on my system, the local IP is 172.17.3.111.  Notice below how the 
port on my local system is NOT 80, even though the port on the remote system 
is?   This is simply how TCP and UDP work.  When you are looking at your iax 
peers you are seeing the REMOTE IP and REMOTE port, which seldom matters.  It 
is the port on the client you are connecting TO which matters, not the port 
which you are connecting FROM. TCP and UDP do not allow more than one 
connection using the same source IP/source port/destination IP/destination port 
(called a tuple).  For most things the source port does not matter so the 
operating system assigns whatever source port it wants to.   NAT routers will 
often change the source port when the connection is NAT'd.  These are 
fundamental IP networking concepts whi
  ch all people doing VoIP should know, but most don't. I'm sure there are 
many books on TCP/IP networking which explain it better than I have explained 
it.

Active Connections

   Proto  Local Address  Foreign AddressState
TCP172.17.3.111:22020 157.166.226.25:80  ESTABLISHED
  TCP172.17.3.111:22021 157.166.249.10:80  ESTABLISHED
  TCP172.17.3.111:22022 23.63.227.185:80   ESTABLISHED
  TCP172.17.3.111:22023 23.63.227.185:80   ESTABLISHED
  TCP172.17.3.111:22024 23.63.227.185:80   ESTABLISHED
  TCP172.17.3.111:22025 23.63.227.185:80   ESTABLISHED
  TCP172.17.3.111:22026 23.63.227.185:80   ESTABLISHED
  TCP172.17.3.111:22027 23.203.4.211:80ESTABLISHED
  TCP172.17.3.111:22028 23.63.227.185:80   ESTABLISHED
  TCP172.17.3.111:22029 4.27.18.126:80 ESTABLISHED
  TCP172.17.3.111:22030 4.27.18.126:80 ESTABLISHED
  TCP172.17.3.111:22031 4.27.18.126:80 ESTABLISHED
  TCP172.17.3.111:22032 4.27.18.126:80 ESTABLISHED
  TCP172.17.3.111:22033 4.27.18.126:80 ESTABLISHED
  TCP172.17.3.111:22034 4.27.18.126:80 ESTABLISHED
  TCP172.17.3.111:22035 74.217.240.83:80   ESTABLISHED
  TCP172.17.3.111:22036 23.63.227.123:80   ESTABLISHED
  TCP172.17.3.111:22037 12.130.81.225:80   ESTABLISHED
  TCP172.17.3.111:22038 4.26.252.126:80ESTABLISHED
  TCP172.17.3.111:22039 4.26.252.126:80ESTABLISHED
  TCP172.17.3.111:22040 4.26.252.126:80ESTABLISHED
  TCP172.17.3.111:22041 4.26.252.126:80ESTABLISHED
  TCP172.17.3.111:22042 4.26.252.126:80ESTABLISHED
  TCP172.17.3.111:22043 4.26.252.126:80ESTABLISHED

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Sean Darcy
Sent: Monday, September 09, 2013 7:00 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] iax2: two users can't authenticate from same ip 
address

On 09/09/2013 03:37 PM, Eric Wieling wrote:

Again, that port is assigned by your NAT router.  Asterisk cannot control the 
source port if the incoming packet.   That is set by your NAT router and client 
and likely has nothing to do with your problem.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Sean
Darcy
Sent: Monday, September 09, 2013 3:30 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] iax2: two users can't authenticate from
same ip address

Dial("IAX2/home-14358", "IAX2/gn") in new stack
   -- Called IAX2/gn
CLI> iax2 show peers
Name/UsernameHost Mask Port
Status  Description
gn (D)  255.255.255.255  9007  OK
(179 ms)

[Sep  9 19:11:36] WARNING[530]: chan_iax2.c:3552 __attempt_transmit: Max retries 
exceeded to host  on IAX2/gn-11311 (type = 6, subclass = 11, 
ts=10018, seqno=1)
   -- Hungup 'IAX2/gn-11311'

Again, what's with this port 9007? Is asterisk assigning it? I thought all iax 
traffic went over 4569.

Of course, this could be a zoiper problem.

sean



But the problem is it's not MY nat router; it's amazon's. And if you only have only have 
one iax device registered, it's always 4569, So why does amazon assign a different port 
to the second iax device? How would it even "know"?

sean



Well, I may be confused, but iax show peers is showing the remote port, 
the port it will connect TO, right?


netstat doesn't show the asterisk connections at all, ju

Re: [asterisk-users] iax2: two users can't authenticate from same ip address

2013-09-10 Thread Joshua Colp

Sean Darcy wrote:

Maybe a different question would be helpful. Let's assume no NAT; the
server is directly connected with an FQDN. Two iax devices register.
Does asterisk assign them different ports?


Asterisk does not assign ports. The IAX2 channel driver, by default, 
binds to a single UDP port (4569). As UDP is connectionless there are no 
connections. What you see on the console is the *source* IP address and 
port of the packets. It's possible that the Amazon stuff is sort of 
NATting things to do connection tracking... but that's Amazon land, so 
no clue really.


--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com  & www.asterisk.org

--
_
-- 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] iax2: two users can't authenticate from same ip address

2013-09-09 Thread Eric Wieling
Try this as an example of why it doesn't matter.

1) On windows open a cmd prompt or on linux open up a local terminal.
2) open a web browser and connect to a web site like cnn.com
3) on windows type "netstat -n" in the command prompt, in linux type netstat -n 
--ip

For example on my system, the local IP is 172.17.3.111.  Notice below how the 
port on my local system is NOT 80, even though the port on the remote system 
is?   This is simply how TCP and UDP work.  When you are looking at your iax 
peers you are seeing the REMOTE IP and REMOTE port, which seldom matters.  It 
is the port on the client you are connecting TO which matters, not the port 
which you are connecting FROM. TCP and UDP do not allow more than one 
connection using the same source IP/source port/destination IP/destination port 
(called a tuple).  For most things the source port does not matter so the 
operating system assigns whatever source port it wants to.   NAT routers will 
often change the source port when the connection is NAT'd.  These are 
fundamental IP networking concepts which all people doing VoIP should know, but 
most don't. I'm sure there are many books on TCP/IP networking which 
explain it better than I have explained it.

Active Connections

  Proto  Local Address  Foreign AddressState
TCP172.17.3.111:22020 157.166.226.25:80  ESTABLISHED
 TCP172.17.3.111:22021 157.166.249.10:80  ESTABLISHED
 TCP172.17.3.111:22022 23.63.227.185:80   ESTABLISHED
 TCP172.17.3.111:22023 23.63.227.185:80   ESTABLISHED
 TCP172.17.3.111:22024 23.63.227.185:80   ESTABLISHED
 TCP172.17.3.111:22025 23.63.227.185:80   ESTABLISHED
 TCP172.17.3.111:22026 23.63.227.185:80   ESTABLISHED
 TCP172.17.3.111:22027 23.203.4.211:80ESTABLISHED
 TCP172.17.3.111:22028 23.63.227.185:80   ESTABLISHED
 TCP172.17.3.111:22029 4.27.18.126:80 ESTABLISHED
 TCP172.17.3.111:22030 4.27.18.126:80 ESTABLISHED
 TCP172.17.3.111:22031 4.27.18.126:80 ESTABLISHED
 TCP172.17.3.111:22032 4.27.18.126:80 ESTABLISHED
 TCP172.17.3.111:22033 4.27.18.126:80 ESTABLISHED
 TCP172.17.3.111:22034 4.27.18.126:80 ESTABLISHED
 TCP172.17.3.111:22035 74.217.240.83:80   ESTABLISHED
 TCP172.17.3.111:22036 23.63.227.123:80   ESTABLISHED
 TCP172.17.3.111:22037 12.130.81.225:80   ESTABLISHED
 TCP172.17.3.111:22038 4.26.252.126:80ESTABLISHED
 TCP172.17.3.111:22039 4.26.252.126:80ESTABLISHED
 TCP172.17.3.111:22040 4.26.252.126:80ESTABLISHED
 TCP172.17.3.111:22041 4.26.252.126:80ESTABLISHED
 TCP172.17.3.111:22042 4.26.252.126:80ESTABLISHED
 TCP172.17.3.111:22043 4.26.252.126:80ESTABLISHED

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Sean Darcy
Sent: Monday, September 09, 2013 7:00 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] iax2: two users can't authenticate from same ip 
address

On 09/09/2013 03:37 PM, Eric Wieling wrote:
> Again, that port is assigned by your NAT router.  Asterisk cannot control the 
> source port if the incoming packet.   That is set by your NAT router and 
> client and likely has nothing to do with your problem.
>
> -Original Message-
> From: asterisk-users-boun...@lists.digium.com 
> [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Sean 
> Darcy
> Sent: Monday, September 09, 2013 3:30 PM
> To: asterisk-users@lists.digium.com
> Subject: Re: [asterisk-users] iax2: two users can't authenticate from 
> same ip address
>
> Dial("IAX2/home-14358", "IAX2/gn") in new stack
>   -- Called IAX2/gn
> CLI> iax2 show peers
> Name/UsernameHost Mask Port
> Status  Description
> gn (D)  255.255.255.255  9007  OK
> (179 ms)
> 
> [Sep  9 19:11:36] WARNING[530]: chan_iax2.c:3552 __attempt_transmit: Max 
> retries exceeded to host  on IAX2/gn-11311 (type = 6, subclass = 
> 11, ts=10018, seqno=1)
>   -- Hungup 'IAX2/gn-11311'
>
> Again, what's with this port 9007? Is asterisk assigning it? I thought all 
> iax traffic went over 4569.
>
> Of course, this could be a zoiper problem.
>
> sean
>

But the problem is it's not MY nat router; it's amazon's. And if you only have 
only have one iax device registered, it's always 4569, So why does amazon 
assign a different port to the second iax device? How would it even "know"?

sean


--
_
-- Bandwidth and Coloc

Re: [asterisk-users] iax2: two users can't authenticate from same ip address

2013-09-09 Thread Sean Darcy

On 09/09/2013 03:37 PM, Eric Wieling wrote:

Again, that port is assigned by your NAT router.  Asterisk cannot control the 
source port if the incoming packet.   That is set by your NAT router and client 
and likely has nothing to do with your problem.

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Sean Darcy
Sent: Monday, September 09, 2013 3:30 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] iax2: two users can't authenticate from same ip 
address

Dial("IAX2/home-14358", "IAX2/gn") in new stack
  -- Called IAX2/gn
CLI> iax2 show peers
Name/UsernameHost Mask Port
Status  Description
gn (D)  255.255.255.255  9007  OK
(179 ms)

[Sep  9 19:11:36] WARNING[530]: chan_iax2.c:3552 __attempt_transmit: Max retries 
exceeded to host  on IAX2/gn-11311 (type = 6, subclass = 11, 
ts=10018, seqno=1)
  -- Hungup 'IAX2/gn-11311'

Again, what's with this port 9007? Is asterisk assigning it? I thought all iax 
traffic went over 4569.

Of course, this could be a zoiper problem.

sean



But the problem is it's not MY nat router; it's amazon's. And if you 
only have only have one iax device registered, it's always 4569, So why 
does amazon assign a different port to the second iax device? How would 
it even "know"?


sean


--
_
-- 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] iax2: two users can't authenticate from same ip address

2013-09-09 Thread Joshua Colp

Sean Darcy wrote:


home is from the home machine, which registers with the server:

register => home:@

[home]
type=friend
insecure=port,invite
secret= ; same secret as on server
context=incoming
host=


You aren't specifying what username to authenticate as here. Add:

username=home

And give it a go.

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com  & www.asterisk.org

--
_
-- 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] iax2: two users can't authenticate from same ip address

2013-09-09 Thread Eric Wieling
Again, that port is assigned by your NAT router.  Asterisk cannot control the 
source port if the incoming packet.   That is set by your NAT router and client 
and likely has nothing to do with your problem.

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Sean Darcy
Sent: Monday, September 09, 2013 3:30 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] iax2: two users can't authenticate from same ip 
address

Dial("IAX2/home-14358", "IAX2/gn") in new stack
 -- Called IAX2/gn
CLI> iax2 show peers
Name/UsernameHost Mask Port 
Status  Description
gn (D)  255.255.255.255  9007  OK 
(179 ms)

[Sep  9 19:11:36] WARNING[530]: chan_iax2.c:3552 __attempt_transmit: Max 
retries exceeded to host  on IAX2/gn-11311 (type = 6, subclass = 11, 
ts=10018, seqno=1)
 -- Hungup 'IAX2/gn-11311'

Again, what's with this port 9007? Is asterisk assigning it? I thought all iax 
traffic went over 4569.

Of course, this could be a zoiper problem.

sean


--
_
-- 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


Re: [asterisk-users] iax2: two users can't authenticate from same ip address

2013-09-09 Thread Sean Darcy

On 09/09/2013 01:54 PM, Joshua Colp wrote:

Sean Darcy wrote:


home is from the home machine, which registers with the server:

register => home:@

[home]
type=friend
insecure=port,invite
secret= ; same secret as on server
context=incoming
host=


You aren't specifying what username to authenticate as here. Add:

username=home

And give it a go.



Excellent! It's so easy to overlook the obvious.

But now I can't call "gn". I can call out from gn, but calling to gn 
dies with Max retries...


Dial("IAX2/home-14358", "IAX2/gn") in new stack
-- Called IAX2/gn
CLI> iax2 show peers
Name/UsernameHost Mask Port 
Status  Description
gn (D)  255.255.255.255  9007  OK 
(179 ms)


[Sep  9 19:11:36] WARNING[530]: chan_iax2.c:3552 __attempt_transmit: Max 
retries exceeded to host  on IAX2/gn-11311 (type = 6, subclass 
= 11, ts=10018, seqno=1)

-- Hungup 'IAX2/gn-11311'

Again, what's with this port 9007? Is asterisk assigning it? I thought 
all iax traffic went over 4569.


Of course, this could be a zoiper problem.

sean


--
_
-- 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] iax2: two users can't authenticate from same ip address

2013-09-09 Thread Sean Darcy

On 09/09/2013 11:08 AM, Joshua Colp wrote:

Sean Darcy wrote:


On the server each device has type=friend.

I do notice that peer "home" has the standard iax port 4569. The other
peers are assigned 1026, 1027 and 1028. How are these ports assigned?


The actual configuration entries (minus password) for each one involved
would be useful... if you aren't being explicit with what username to
use for outgoing authentication then stuff like this can happen.



On the server:

[default](!)
type=friend
auth=md5
host=dynamic
context=nz-in
qualify=1000
setvar=Protocol=IAX2

[gn](default)
secret=
callerid="GN"

[home](default)
secret=
username=home

I'm using Zoiper on Android for gn,

home is from the home machine, which registers with the server:

register => home:@

[home]
type=friend
insecure=port,invite
secret=; same secret as on server
context=incoming
host=

I'm wondering if it's a result of the amazon ec2 firewall (not 
iptables). I may need to open up those lower udp ports. Maybe the amazon 
firewall doesn't use ctstate; it may block any port not explicitly 
opened even if a connection is established.


Thanks for the help.

sean


--
_
-- 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] iax2: two users can't authenticate from same ip address

2013-09-09 Thread Sean Darcy

On 09/09/2013 08:04 AM, Julian Beach wrote:

Hello Sean,

Sunday, September 8, 2013, 11:25:24 PM, you wrote:


The problem is that once a phone has used the server, no other phone can
use it. The servers sees all the phones as having the same ip address
(though different ports).


This  sounds  like  the  Peer v Friend problem I have had in the past.
Try  setting  user=friend which will match on the username and not IP
address.  I  found  that asterisk was matching to the first account in
the  list  in  IAX.CONF  and  authentication  was  then failing (or in
the case of incoming calls, ending up in the wrong context).

http://www.voip-info.org/wiki/view/Asterisk+SIP+user+vs+peer

Julian



Thanks for the response.

On the server each device has type=friend.

I do notice that peer "home" has the standard iax port 4569. The other 
peers are assigned 1026, 1027 and 1028. How are these ports assigned?


sean


--
_
-- 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] iax2: two users can't authenticate from same ip address

2013-09-09 Thread Joshua Colp

Sean Darcy wrote:


On the server each device has type=friend.

I do notice that peer "home" has the standard iax port 4569. The other
peers are assigned 1026, 1027 and 1028. How are these ports assigned?


The actual configuration entries (minus password) for each one involved 
would be useful... if you aren't being explicit with what username to 
use for outgoing authentication then stuff like this can happen.


--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com  & www.asterisk.org

--
_
-- 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] iax2: two users can't authenticate from same ip address

2013-09-09 Thread Eric Wieling
They are assigned by the router doing the NAT translations.

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Sean Darcy
Sent: Monday, September 09, 2013 10:56 AM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] iax2: two users can't authenticate from same ip 
address

On 09/09/2013 08:04 AM, Julian Beach wrote:
> Hello Sean,
>
> Sunday, September 8, 2013, 11:25:24 PM, you wrote:
>
>> The problem is that once a phone has used the server, no other phone 
>> can use it. The servers sees all the phones as having the same ip 
>> address (though different ports).
>
> This  sounds  like  the  Peer v Friend problem I have had in the past.
> Try  setting  user=friend which will match on the username and not IP 
> address.  I  found  that asterisk was matching to the first account in 
> the  list  in  IAX.CONF  and  authentication  was  then failing (or in 
> the case of incoming calls, ending up in the wrong context).
>
> http://www.voip-info.org/wiki/view/Asterisk+SIP+user+vs+peer
>
> Julian
>
>
Thanks for the response.

On the server each device has type=friend.

I do notice that peer "home" has the standard iax port 4569. The other peers 
are assigned 1026, 1027 and 1028. How are these ports assigned?

sean


--
_
-- 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


Re: [asterisk-users] iax2: two users can't authenticate from same ip address

2013-09-09 Thread Julian Beach
Hello Sean,

Sunday, September 8, 2013, 11:25:24 PM, you wrote:

> The problem is that once a phone has used the server, no other phone can
> use it. The servers sees all the phones as having the same ip address 
> (though different ports).

This  sounds  like  the  Peer v Friend problem I have had in the past.
Try  setting  user=friend which will match on the username and not IP
address.  I  found  that asterisk was matching to the first account in
the  list  in  IAX.CONF  and  authentication  was  then failing (or in
the case of incoming calls, ending up in the wrong context).

http://www.voip-info.org/wiki/view/Asterisk+SIP+user+vs+peer

Julian


-- 
Best regards,
 Julianmailto:jb_s...@trink.co.uk


--
_
-- 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] iax2: two users can't authenticate from same ip address

2013-09-08 Thread Sean Darcy
I'm trying set up asterisk on an amazon instance in Sydney. It's to use 
for our kids in Sydney to connect with their friends in the States.


We've found iax works better than sip with these distances. But we now 
have weird problem: everybody has a cell phone, and it's much 
cheaper/better to use the house internet connection over the phones 
wifi. Each cell phone has it's own peer. Each cell phone registers with 
the server.


The problem is that once a phone has used the server, no other phone can 
use it. The servers sees all the phones as having the same ip address 
(though different ports).


iax2 show peers
Name/UsernameHostMask Port  Status 
Description
gn  (D)  255.255.255.255  1026  OK (101 
ms)
home/home   (D)  255.255.255.255  4569  OK (85 
ms)


but "home" can't make a call:
chan_iax2.c:11157 socket_process_helper: Host  failed to 
authenticate as gn


gn can make calls:

-- Registered IAX2 'gn' (AUTHENTICATED) at :1026
-- Accepting AUTHENTICATED call from :
   > requested format = speex,
  


--
_
-- 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] IAX2 netsock error with name resolution

2013-06-23 Thread Gopalakrishnan N
After changing my dialplan as suggested, there is no socket error, but
getting Busy/Congested, and the call is hanging up, let me check that
part...

Earlier my dialplan was,
;exten => _2XXX,1,Dial(SIP/${EXTEN}@${MANIAX},30)

and I changed like this exten => _2XXX,1,Dial(${MANIAX}/${EXTEN},30)

whether the SIP matters?

And now since its a SIP extension in other side, am getting failed because
the extension is not able to find.


Regards.


On Sun, Jun 23, 2013 at 5:22 PM, Alec Davis  wrote:

> 
> > -- Executing [2001@Test:1] Dial("SIP/4090-0005",
> "SIP/2001@IAX2/IND-MAN,30") in new stack
> > [Jun 23 06:31:36] NOTICE[4383][C-0005]: chan_sip.c:29491
> sip_request_call: Conflicting extension values given. Using '2001' and not
> 'IND-MAN'
> >   == Using SIP RTP CoS mark 5
> > [Jun 23 06:31:36] ERROR[4383][C-0005]: netsock2.c:269
> ast_sockaddr_resolve: getaddrinfo("IAX2", "(null)", ...): Temporary failure
> in name resolution
> > [Jun 23 06:31:36] WARNING[4383][C-0005]: chan_sip.c:6191 create_addr:
> No such host: IAX2
> > [Jun 23 06:31:36] WARNING[4383][C-0005]: app_dial.c:2437
> dial_exec_full: Unable to create channel of type 'SIP' (cause 20 -
> Subscriber absent)
> >   == Everyone is busy/congested at this time (1:0/0/1)
>
> Try this syntax Dial(IAX2/IND-MAN/2001,30)
> Where IND-MAN is the name of a peer/friend [IND-MAN] defined in iax.conf
> and 2001 is the extension on the remote system 'IND-MAN' where 2001 dials
> SIP/2001
>
> Alec Davis
>
>
> --
> _
> -- 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

Re: [asterisk-users] IAX2 netsock error with name resolution

2013-06-23 Thread Alec Davis

> -- Executing [2001@Test:1] Dial("SIP/4090-0005",
"SIP/2001@IAX2/IND-MAN,30") in new stack
> [Jun 23 06:31:36] NOTICE[4383][C-0005]: chan_sip.c:29491
sip_request_call: Conflicting extension values given. Using '2001' and not
'IND-MAN'
>   == Using SIP RTP CoS mark 5
> [Jun 23 06:31:36] ERROR[4383][C-0005]: netsock2.c:269
ast_sockaddr_resolve: getaddrinfo("IAX2", "(null)", ...): Temporary failure
in name resolution
> [Jun 23 06:31:36] WARNING[4383][C-0005]: chan_sip.c:6191 create_addr:
No such host: IAX2 
> [Jun 23 06:31:36] WARNING[4383][C-0005]: app_dial.c:2437
dial_exec_full: Unable to create channel of type 'SIP' (cause 20 -
Subscriber absent)
>   == Everyone is busy/congested at this time (1:0/0/1)

Try this syntax Dial(IAX2/IND-MAN/2001,30)
Where IND-MAN is the name of a peer/friend [IND-MAN] defined in iax.conf
and 2001 is the extension on the remote system 'IND-MAN' where 2001 dials
SIP/2001

Alec Davis


--
_
-- 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] IAX2 netsock error with name resolution

2013-06-23 Thread Gopalakrishnan N
Am getting netsock error like this when using IAX2,

Connected to Asterisk 11.2.1 currently running on indiaprimaryast01 (pid =
4270)
  == Using SIP RTP CoS mark 5
-- Executing [2001@Test:1] Dial("SIP/4090-0005",
"SIP/2001@IAX2/IND-MAN,30")
in new stack
[Jun 23 06:31:36] NOTICE[4383][C-0005]: chan_sip.c:29491
sip_request_call: Conflicting extension values given. Using '2001' and not
'IND-MAN'
  == Using SIP RTP CoS mark 5
[Jun 23 06:31:36] ERROR[4383][C-0005]: netsock2.c:269
ast_sockaddr_resolve: getaddrinfo("IAX2", "(null)", ...): Temporary failure
in name resolution
[Jun 23 06:31:36] WARNING[4383][C-0005]: chan_sip.c:6191 create_addr:
No such host: IAX2
[Jun 23 06:31:36] WARNING[4383][C-0005]: app_dial.c:2437
dial_exec_full: Unable to create channel of type 'SIP' (cause 20 -
Subscriber absent)
  == Everyone is busy/congested at this time (1:0/0/1)

My hostname are proper,
in /etc/hostname and /etc/sysconfig/network

Even then am not able to find why am getting this error. Also am able to
ping with my own hostname.

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] IAX2 support of video

2013-01-09 Thread Carlos Chavez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/7/13 6:53 PM, Jerry Geis wrote:
>> 
>> According to this: 
>> https://wiki.asterisk.org/wiki/display/AST/Video+Telephony yes.
>> 
>> 
>> 
> I have a local server with two video phones - running SIP to each
> phone. Works. Then I have an IAX2 connection from that local
> machine to another machine. then a SIP connection from that machine
> to another machine where the same model video phone is in use. A
> call to that phone does not show video only audio.
> 
> All machines have in sip.conf:videosupport=yes
> 
> Is there something else to get SIP/IAX2/SIP video call to work?
> 
> Thanks
> 
> Jerry
> 
Make sure that your iax.conf entries for the link between servers
also allows the video codecs.


- -- 
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlDt6I0ACgkQqmNh+MyHzx4zmwCdGgj0T/3kGwABxyJQlCd+Ek8f
wagAn0Htj3it72ikEejFP3wsbYeinPyV
=wUsG
-END PGP SIGNATURE-

--
_
-- 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] IAX2 support of video

2013-01-09 Thread Hans Witvliet
On Tue, 2013-01-08 at 08:21 -0600, Danny Nicholas wrote:
> From: asterisk-users-boun...@lists.digium.com
> [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jerry
> Geis
> Sent: Monday, January 07, 2013 6:53 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] IAX2 support of video
> 
>  
> 
>  
>  
> According to this:
> https://wiki.asterisk.org/wiki/display/AST/Video+Telephony
> yes.
>  
>  
> 
>  
> 
> 
> I have a local server with two video phones - running SIP to each
> phone. Works.
> Then I have an IAX2 connection from that local machine to another
> machine.
> then a SIP connection from that machine to another machine where the
> same model
> video phone is in use. A call to that phone does not show video only
> audio.
> 
> All machines have in sip.conf:videosupport=yes
> 
> Is there something else to get SIP/IAX2/SIP video call to work?
> 
> Thanks
> 
> Jerry
> 
>  
> 
> Make sure you have the H.26X codec enabled at all points.
> 
> 
Video is hard, but to make life easier, it is handy to add an extension
that does the echo-function (after an optional announcement)
That takes video-codec-mismatch out of the equation, as you are talking
to yourself.

Other benefit is that there is always someone that will answer the
phone ;-) And won't complain doing video-cakk when dialing at 3am.

hans



--
_
-- 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] IAX2 support of video

2013-01-08 Thread Danny Nicholas
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jerry Geis
Sent: Monday, January 07, 2013 6:53 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] IAX2 support of video

 

 
 
According to this:
https://wiki.asterisk.org/wiki/display/AST/Video+Telephony
yes.
 
 

 

I have a local server with two video phones - running SIP to each phone.
Works.
Then I have an IAX2 connection from that local machine to another machine.
then a SIP connection from that machine to another machine where the same
model
video phone is in use. A call to that phone does not show video only audio.

All machines have in sip.conf:videosupport=yes

Is there something else to get SIP/IAX2/SIP video call to work?

Thanks

Jerry

 

Make sure you have the H.26X codec enabled at all points.

--
_
-- 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] IAX2 support of video

2013-01-07 Thread Jerry Geis


According to this:
https://wiki.asterisk.org/wiki/display/AST/Video+Telephony
yes.



I have a local server with two video phones - running SIP to each phone. 
Works.

Then I have an IAX2 connection from that local machine to another machine.
then a SIP connection from that machine to another machine where the 
same model

video phone is in use. A call to that phone does not show video only audio.

All machines have in sip.conf:videosupport=yes

Is there something else to get SIP/IAX2/SIP video call to work?

Thanks

Jerry
--
_
-- 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] IAX2 support of video

2013-01-07 Thread Danny Nicholas
-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jerry Geis
Sent: Monday, January 07, 2013 3:58 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] IAX2 support of video

Does IAX2 support a video call ?

According to this:
https://wiki.asterisk.org/wiki/display/AST/Video+Telephony
yes.


--
_
-- 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] IAX2 support of video

2013-01-07 Thread Jerry Geis

Does IAX2 support a video call ?

Jerry

--
_
-- 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] IAX2 over OpenVPN connection.... working but

2012-12-10 Thread Dave Platt
>>  Here's where I am baffled and I am hoping someone with intricate
>> knowledge of this implementation may be able to explain it to me. What
>> we had to do to get this working was to set the host= parameter to the
>> respective endpoint IP's of the VPN tunnel, 172.10.1.1 in my case, and
>> 172.10.1.2 in his case. Calls flow normally now and we cannot understand
>> how or why. I would have assumed with a destination of either LAN as
>> defined by the routing table it would have left out on the OpenVPN
>> connection by default, and what's even more strange is that IAX is the
>> only protocol that does not appear to function as intended.


> My guess is asterisk is replying using the tunnel ip address which your 
> original box won't accept unless you actually sent to that address. Thats 
> what I see on our remote openvpn tunnels. If you want to know whats going on 
> use tcpdump to check packets through the tunnel. 

Yes, I've seen this same problem.  It has two possible solutions.

The reason for the problem is this:  IAX2 (the Asterisk
implementation, at least) depends on the "source" address in the
UDP packet it receives, to know which connection the packet
is part of.  When it talks to a peer, it expects to see the
packets arrive from the peer with a source address which
matches what it understands the peer's address to be.  Packets
arriving from "unknown" addresses, are simply dropped on the
floor (considered to be misrouted, misconfigured, or forged,
I think).

Normally, the Asterisk IAX2 implementation does not
bind itself to a single network interface.  It will
receive UDP packets to the IAX2 port, arriving from
any interface.

And, when it sends an IAX2 UDP packet, it simply sends
it out through the socket which is bound to the
"any interface" port.

Because the socket isn't bound to a specific interface,
it doesn't have a specific IP address associated with it.
The Linux kernel chooses an IP address to put into the
UDP packet "source" field, and the one it chooses is the
IP address of the interface on which it is transmitting
the packet.

In the scenario that's being described here, an address
result mismatches.  Each system is transmitting UDP packets
*to* the "primary" or "official" or "public" interface on
its peer... and these packets are being transmitted by
the Linux kernel on the OpenVPN interface, and are being
given the system's OpenVPN tunnel endpoint address.  In each
case, when the packet arrives at the peer, the Asterisk IAX2
stack receives the packets, finds that it has no known peer
at the tunnel IP address and no IAX2 session set up for this
address, and discards the packet.

There are, I believe, two solutions which don't involve
modifying the IAX2 code in Asterisk.  Both work equally
well, as far as I know.

One approach is the one you've taken - tell each system to
"talk to" its peer's OpenVPN tunnel endpoint address, rather
than to the "primary" address.  This eliminates the IP address
mismatch.  This approach works fine if both systems are connected
only via this OpenVPN tunnel, and always have the same OpenVPN
addresses.

The other approach is to configure each system to bind its
IAX2 port *only* to one IP interface (usually the public one),
to ensure that each peer knows how to reach its peer's
public IP address (either directly, or via a route though the
OpenVPN tunnel), and to tell each system to speak IAX2 to its
peer's public IP address.

In this case, since the Asterisk socket is bound to a specific
interface, all packets sent through that socket will have
the bound interface's IP address in its "source" field, and
(once again) the address mismatch is eliminated.

This second approach is preferable for "road warrior"
configurations in which you might sometimes be using the
OpenVPN tunnel, and sometimes not (e.g. a laptop or tablet
IAX2 client which is sometimes on the corporate LAN and
sometimes out on the Internet using OpenVPN).



--
_
-- 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] IAX2 over OpenVPN connection.... working but

2012-12-09 Thread Steve Totaro
On Sun, Dec 9, 2012 at 2:54 PM, Stephen Brown  wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> So a friend of mine and I setup a static key based point to point
> OpenVPN connection from my box to his for the express intent of carrying
> IAX traffic encrypted.
>
> His network on his lan is 172.30.1.0/24 and mine is 10.0.30.0/24. His
> PBX is located at 172.30.1.48 and mine is at 10.0.30.2. We had an
> existing working IAX trunk in place prior to the VPN, and after we
> brought the VPN up we set the host= parameter within Asterisk
> accordingly on each end to match the local IP's and discovered it did
> not work. The trunk remained in an UNKNOWN status on each end, even
> though we could ping each box locally, SSH, and even SIP worked.
>
> Here's where I am baffled and I am hoping someone with intricate
> knowledge of this implementation may be able to explain it to me. What
> we had to do to get this working was to set the host= parameter to the
> respective endpoint IP's of the VPN tunnel, 172.10.1.1 in my case, and
> 172.10.1.2 in his case. Calls flow normally now and we cannot understand
> how or why. I would have assumed with a destination of either LAN as
> defined by the routing table it would have left out on the OpenVPN
> connection by default, and what's even more strange is that IAX is the
> only protocol that does not appear to function as intended.
>
> Any takers? :)
>
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.17 (MingW32)
>
> iEYEARECAAYFAlDE7GcACgkQ3sJXNEncx7is9QCcCciMYFJ7ZXjYxuHC2EYD0PZY
> waAAniNNx8GuC5To7ajlGR5sYs3yftFK
> =lcWJ
> -END PGP SIGNATURE-
>
>

First, not so much of an answer but more of a question.  Why use IAX2
in your scenario?  SIP would seem to be very logical in this case if
you already tested it and it works.

IAX2 really only has merits where NAT and multiple ports are an issue.
 It has been known to create many problems and headaches.

Since OpenVPN negates the multiple ports over the web, and NAT isn't a
problem from what you have stated, why even bother with IAX2?

To cleanly solve your issue, create an OpenVPN tunnel directly between
the boxen with the same IP/subnet scheme.  That is what I would do, as
each tunnel is a "subinterface" of sorts, there is no need to keep the
addressing scheme of your LANs.  SIP and IAX2 should both work for you
(I still suggest SIP).  Creating a separate subnet for your OpenVPN
connection will arguably also add a bit of security between networks.

What does your IPtables look like?  Maybe you are blocking IAX?  Turn
of debugging and post verbose.

Thanks,
Steve T

--
_
-- 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] IAX2 over OpenVPN connection.... working but

2012-12-09 Thread Duncan Turnbull


On 10/12/2012, at 8:54 AM, Stephen Brown  wrote:

> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> So a friend of mine and I setup a static key based point to point
> OpenVPN connection from my box to his for the express intent of carrying
> IAX traffic encrypted.
> 
> His network on his lan is 172.30.1.0/24 and mine is 10.0.30.0/24. His
> PBX is located at 172.30.1.48 and mine is at 10.0.30.2. We had an
> existing working IAX trunk in place prior to the VPN, and after we
> brought the VPN up we set the host= parameter within Asterisk
> accordingly on each end to match the local IP's and discovered it did
> not work. The trunk remained in an UNKNOWN status on each end, even
> though we could ping each box locally, SSH, and even SIP worked.
> 
> Here's where I am baffled and I am hoping someone with intricate
> knowledge of this implementation may be able to explain it to me. What
> we had to do to get this working was to set the host= parameter to the
> respective endpoint IP's of the VPN tunnel, 172.10.1.1 in my case, and
> 172.10.1.2 in his case. Calls flow normally now and we cannot understand
My guess is asterisk is replying using the tunnel ip address which your 
original box won't accept unless you actually sent to that address. Thats what 
I see on our remote openvpn tunnels. If you want to know whats going on use 
tcpdump to check packets through the tunnel. 

> how or why. I would have assumed with a destination of either LAN as

> defined by the routing table it would have left out on the OpenVPN
> connection by default, and what's even more strange is that IAX is the
> only protocol that does not appear to function as intended.
> 
> Any takers? :)
> 
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.17 (MingW32)
> 
> iEYEARECAAYFAlDE7GcACgkQ3sJXNEncx7is9QCcCciMYFJ7ZXjYxuHC2EYD0PZY
> waAAniNNx8GuC5To7ajlGR5sYs3yftFK
> =lcWJ
> -END PGP SIGNATURE-
> 
> 
> --
> _
> -- 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] IAX2 over OpenVPN connection.... working but

2012-12-09 Thread Stephen Brown

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
So a friend of mine and I setup a static key based point to point
OpenVPN connection from my box to his for the express intent of carrying
IAX traffic encrypted.

His network on his lan is 172.30.1.0/24 and mine is 10.0.30.0/24. His
PBX is located at 172.30.1.48 and mine is at 10.0.30.2. We had an
existing working IAX trunk in place prior to the VPN, and after we
brought the VPN up we set the host= parameter within Asterisk
accordingly on each end to match the local IP's and discovered it did
not work. The trunk remained in an UNKNOWN status on each end, even
though we could ping each box locally, SSH, and even SIP worked.

Here's where I am baffled and I am hoping someone with intricate
knowledge of this implementation may be able to explain it to me. What
we had to do to get this working was to set the host= parameter to the
respective endpoint IP's of the VPN tunnel, 172.10.1.1 in my case, and
172.10.1.2 in his case. Calls flow normally now and we cannot understand
how or why. I would have assumed with a destination of either LAN as
defined by the routing table it would have left out on the OpenVPN
connection by default, and what's even more strange is that IAX is the
only protocol that does not appear to function as intended.

Any takers? :)


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (MingW32)
 
iEYEARECAAYFAlDE7GcACgkQ3sJXNEncx7is9QCcCciMYFJ7ZXjYxuHC2EYD0PZY
waAAniNNx8GuC5To7ajlGR5sYs3yftFK
=lcWJ
-END PGP SIGNATURE-


--
_
-- 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] iax2-provision.c:266 iax_provision_version: ast_db_get failed to retrieve iax/provisioning/cach

2012-10-11 Thread Richard Mudgett
> > I've tested asterisk 1.8.17.0 and I'm still getting the repeated
> > error message on the command line:
> > 
> > iax2-provision.c:266 iax_provision_version: ast_db_get failed to
> > retrieve iax/provisioning/cach
> 
> Are you out of disk space?  I would only expect to see that message
> once
> since it looks like the code attempts to correct the problem.

Never mind.  I was looking at code that already had the patch for
ASTERISK-20337 included.

Richard

--
_
-- 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] iax2-provision.c:266 iax_provision_version: ast_db_get failed to retrieve iax/provisioning/cach

2012-10-11 Thread Richard Mudgett
> I've tested asterisk 1.8.17.0 and I'm still getting the repeated
> error message on the command line:
> 
> iax2-provision.c:266 iax_provision_version: ast_db_get failed to
> retrieve iax/provisioning/cach

Are you out of disk space?  I would only expect to see that message once
since it looks like the code attempts to correct the problem.

Richard

--
_
-- 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] iax2-provision.c:266 iax_provision_version: ast_db_get failed to retrieve iax/provisioning/cach

2012-10-10 Thread Joseph

I've tested asterisk 1.8.17.0 and I'm still getting the repeated error message 
on the command line:

iax2-provision.c:266 iax_provision_version: ast_db_get failed to retrieve 
iax/provisioning/cach

--
Joseph

--
_
-- 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] iax2 trunks between asterisk servers

2012-09-17 Thread Stephen Collier

Doug,

Thanks, that answers my question I will reuse the macro I'm using with
an Avaya connection and CONNECTEDLINE(). Pity I was hoping iax2 would
transfer callee id.

Cheers
Stephen


--
_
-- 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] iax2 trunks between asterisk servers

2012-09-17 Thread Doug Lytle

Stephen Collier wrote:

Any ideas or suggestions appreciated.


We keep an mysql database of all extensions (Fax2Email) that I use to do 
a lookup against the destination extension and then set the phone to 
display the name.


Doug

--
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, 
deserve neither Liberty nor Safety."


--
_
-- 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] iax2 trunks between asterisk servers

2012-09-16 Thread Stephen Collier
Hi,

I am using iax2 trunks between asterisk servers and am having a callerid
problem. We are using realtime sip clients distributed between multiple
servers. Only in test now but have run into a calleeid problem - the
name of the called party is not displayed if the called party is on a
different server, it works if the called party is on the same server.

On each server sip clients show calleeid on calls but if the caller is
between servers calleeid doesn't work. Callerid is working fine though.

A call from a SIP client on asterisk2 to asterisk3. All phones are snom
760s.

Any ideas or suggestions appreciated.

iax.conf   (asterisk2 10.6.1)

[general]
bandwidth=high
allow=all
shrinkcallerid=no

[asterisk3]
type=friend
username=asterisk2
secret=secret
host=10.101.0.3
context=incoming
sendani=yes
trunk=yes

iax.conf   (asterisk3 11.0.0-beta1)

[general]
bandwidth=high
allow=all
shrinkcallerid=no

[asterisk2]
type=friend
username=asterisk3
secret=secret
host=10.101.0.2
context=incoming
sendani=yes
trunk=yes

Cheers
Stephen Collier

--
_
-- 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] IAX2 Registered OK without IP

2012-07-26 Thread Duncan Turnbull




On 27/07/2012, at 8:16 AM, Alejandro Imass  wrote:

> On Tue, Jul 24, 2012 at 3:54 PM, Alejandro Imass  wrote:
>> On Tue, Jun 12, 2012 at 4:04 PM, Alejandro Imass  wrote:
>> we upgraded to 1.8.13.1 and we have much the same problem although after
>> the upgrade I don't seem to find any cases where the qualify value is
>> OK (xx ms) and the IP is gone (like we had in 1.4.29) but the effect
>> is the same: the extension becomes non-reachable pretty quickly.
>> 
> 
Can you confirm whether you have a firewall between the phones or not? And also 
using tcpdump and IAX debug what packets you are seeing

This is a network problem and something is disrupting the return packets so you 
need to see where it's occurring 

>From the cli use the iax2 set debug command and watch what's happening. Are 
>the packets being returned? If they aren't check with tcpdump to see if they 
>are at least getting to your interface

Do the same at the other end to work out whats missing


> I stand corrected. It's EXACTLY the same behavior as 1.4.29, The
> Status shows OK (XX ms) and the IP is "(null)"
> 
>> IMHO this is indicating that the qualify settings are being ignored,
> 
> I've been experimenting with qualifyfreqok and qualifyfreqnotok and
> just by specifiying _any_ values for these parameters it makes matters
> much worse.
> 
>> and the only workaround has been lowering the re-register time to
>> sometimes as low as 3 seconds. Even though several docs say that the
> 
> A re-registration every 3 seconds seems to do the trick but why can't
> qualify keep the connection alive??
> 
>> qualify values can also act as a keep alive, it's not working for us
>> and I still have to reduce the register time to very low values
>> because qualifyfreqok and qualifyfreqnotok don't see to be doing
>> anything...
>> 
> 
> Stand corrected: they just make the problem worse.
> 
>> Any clues??
> 
> I get the feeling that IAX extensions are definitively not very
> popular even though most of the older concerns about IAX should be
> gone by now. We really want to support and keep investing into making
> IAX work for us but the little support we get here is really
> discouraging.
> 
> Best,
> 
> -- 
> Alejandro Imass
> 
> --
> _
> -- 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


Re: [asterisk-users] IAX2 Registered OK without IP

2012-07-26 Thread Alejandro Imass
On Tue, Jul 24, 2012 at 3:54 PM, Alejandro Imass  wrote:
> On Tue, Jun 12, 2012 at 4:04 PM, Alejandro Imass  wrote:
> we upgraded to 1.8.13.1 and we have much the same problem although after
> the upgrade I don't seem to find any cases where the qualify value is
> OK (xx ms) and the IP is gone (like we had in 1.4.29) but the effect
> is the same: the extension becomes non-reachable pretty quickly.
>

I stand corrected. It's EXACTLY the same behavior as 1.4.29, The
Status shows OK (XX ms) and the IP is "(null)"

> IMHO this is indicating that the qualify settings are being ignored,

I've been experimenting with qualifyfreqok and qualifyfreqnotok and
just by specifiying _any_ values for these parameters it makes matters
much worse.

> and the only workaround has been lowering the re-register time to
> sometimes as low as 3 seconds. Even though several docs say that the

A re-registration every 3 seconds seems to do the trick but why can't
qualify keep the connection alive??

> qualify values can also act as a keep alive, it's not working for us
> and I still have to reduce the register time to very low values
> because qualifyfreqok and qualifyfreqnotok don't see to be doing
> anything...
>

Stand corrected: they just make the problem worse.

> Any clues??

I get the feeling that IAX extensions are definitively not very
popular even though most of the older concerns about IAX should be
gone by now. We really want to support and keep investing into making
IAX work for us but the little support we get here is really
discouraging.

Best,

-- 
Alejandro Imass

--
_
-- 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] IAX2 Registered OK without IP

2012-07-24 Thread Duncan Turnbull

On 25/07/2012, at 7:54 AM, Alejandro Imass wrote:

> On Tue, Jun 12, 2012 at 4:04 PM, Alejandro Imass  wrote:
>> This has come up before on the list and archives but I don't seem to
>> find a solution for this. On just a few nodes we have this situation
>> where we see the IP disappear from the CLI iax2 show peers list but
>> the status shows OK:
>> 
>> 3012/3012(Unspecified)   (D)  255.255.255.255  0 OK (89 
>> ms)
>> 
Not sure how relevant it is but IAX can appear to be working on one links 
available in only one direction. If a firewall is blocking one end then one end 
may appear fine, and the other disconnected. 

It might be a NAT issue causing the blocking where registering opens the NAT 
tables but they time out - this used to happen on older home firewalls

Or it could be something else quite odd
- can you confirm you have network connectivity to the end devices? 
- does it happen to devices on the local lan or just via firewall

I doubt very much its the quality settings, they are just reflecting whats 
being seen rather than the cause of the issue. When you turn on IAX debug do 
you see the qualify packets and replies  (pings and pongs) in asterisk or are 
they missing? If so then also use tcpdump to see if you are actually getting 
the packets you would expect at your network card to figure out if its internal 
to the server or related to the network

Good luck

>> How can the status be OK a few milliseconds ago and have no IP ?? The
>> strange thing is that the IP does show up once in a while and then
>> disappears once again but the OK is always there.
>> 
>> Asterisk 1.4.29 running on FreeBSD 7.0-RELEASE
> 
> OK, so I guess nobody answered because we had an old version. Well, we
> upgraded to 1.8.13.1 and we have much the same problem although after
> the upgrade I don't seem to find any cases where the qualify value is
> OK (xx ms) and the IP is gone (like we had in 1.4.29) but the effect
> is the same: the extension becomes non-reachable pretty quickly.
> 
> IMHO this is indicating that the qualify settings are being ignored,
> and the only workaround has been lowering the re-register time to
> sometimes as low as 3 seconds. Even though several docs say that the
> qualify values can also act as a keep alive, it's not working for us
> and I still have to reduce the register time to very low values
> because qualifyfreqok and qualifyfreqnotok don't see to be doing
> anything...
> 
> Any clues??
> 
> --
> _
> -- 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


Re: [asterisk-users] IAX2 Registered OK without IP

2012-07-24 Thread Alejandro Imass
On Tue, Jun 12, 2012 at 4:04 PM, Alejandro Imass  wrote:
> This has come up before on the list and archives but I don't seem to
> find a solution for this. On just a few nodes we have this situation
> where we see the IP disappear from the CLI iax2 show peers list but
> the status shows OK:
>
> 3012/3012(Unspecified)   (D)  255.255.255.255  0 OK (89 
> ms)
>
> How can the status be OK a few milliseconds ago and have no IP ?? The
> strange thing is that the IP does show up once in a while and then
> disappears once again but the OK is always there.
>
> Asterisk 1.4.29 running on FreeBSD 7.0-RELEASE

OK, so I guess nobody answered because we had an old version. Well, we
upgraded to 1.8.13.1 and we have much the same problem although after
the upgrade I don't seem to find any cases where the qualify value is
OK (xx ms) and the IP is gone (like we had in 1.4.29) but the effect
is the same: the extension becomes non-reachable pretty quickly.

IMHO this is indicating that the qualify settings are being ignored,
and the only workaround has been lowering the re-register time to
sometimes as low as 3 seconds. Even though several docs say that the
qualify values can also act as a keep alive, it's not working for us
and I still have to reduce the register time to very low values
because qualifyfreqok and qualifyfreqnotok don't see to be doing
anything...

Any clues??

--
_
-- 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] IAX2 Registered OK without IP

2012-06-12 Thread Alejandro Imass
This has come up before on the list and archives but I don't seem to
find a solution for this. On just a few nodes we have this situation
where we see the IP disappear from the CLI iax2 show peers list but
the status shows OK:

3012/3012(Unspecified)   (D)  255.255.255.255  0 OK (89 ms)

How can the status be OK a few milliseconds ago and have no IP ?? The
strange thing is that the IP does show up once in a while and then
disappears once again but the OK is always there.

Asterisk 1.4.29 running on FreeBSD 7.0-RELEASE

--
_
-- 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] IAX2 passing back and forth variables

2012-05-22 Thread Larry Moore

On 23/05/2012 10:46 AM, Ruddy Gbaguidi wrote:


I cannot find it

*From:*asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] *On Behalf Of *Danny 
Nicholas

*Sent:* 2012-05-21 10:25
*To:* 'Asterisk Users Mailing List - Non-Commercial Discussion'
*Subject:* Re: [asterisk-users] IAX2 passing back and forth variables

There was a nice thread on this back in April.




Perhaps it is the thread which started on the 15th of April with the 
subject line


Set variables from one asterisk ta a second.





--
_
-- 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] IAX2 passing back and forth variables

2012-05-22 Thread Ruddy Gbaguidi
I cannot find it

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: 2012-05-21 10:25 
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] IAX2 passing back and forth variables

 

There was a nice thread on this back in April.

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ruddy Gbaguidi
Sent: Monday, May 21, 2012 9:23 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] IAX2 passing back and forth variables

 

No one have an idea ?

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ruddy Gbaguidi
Sent: 2012-05-19 15:27 
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] IAX2 passing back and forth variables

 

Sorry, the dialplan is really on server B

exten => s,n,Set(IAXVAR(TESTVAR2)=efgh) 

 

 

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Noah
Engelberth
Sent: 2012-05-19 14:45 
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] IAX2 passing back and forth variables

 

Uhm, if the dialplan is exactly as you pasted, you're not setting TESTVAR2
to anything.  You would need some sort of Set(IAXVAR(TESTVAR2)=.)

 

Noah

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ruddy Gbaguidi
Sent: Saturday, May 19, 2012 2:17 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] IAX2 passing back and forth variables

 

Hi all,

I have two asterisk servers A and B.

And I would like from A, dial to B passing some IAX variables.

Then B handles the calls, setup some other variables that become available
to A which can continue.

So far, I have used IAXVAR function.

It works when sending call from A to B

But variables setup on B are not available on A.

 

Any idea how I can do it ?

 

Here are my dialplans.

+++

SERVER A

+++

[contextA]

exten => s,1,Set(IAXVAR(TESTVAR1)=abcd)

exten => s,n,Dial(IAX2/serverb/s,30,g)

exten => s,n,Noop(  The out variable is : ${IAXVAR(TESTVAR2)}   )  ; <
Does not work

 

 

+++

SERVER B

+++

[contextB]

exten => s,1,Noop( ${IAXVAR(TESTVAR1)} )   <- Does work

exten => s,n,Set(IAXVAR(TESTVAR2)) 

exten => s,n,Hangup

 

 

--
_
-- 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] IAX2 passing back and forth variables

2012-05-21 Thread Danny Nicholas
There was a nice thread on this back in April.

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ruddy Gbaguidi
Sent: Monday, May 21, 2012 9:23 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] IAX2 passing back and forth variables

 

No one have an idea ?

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ruddy Gbaguidi
Sent: 2012-05-19 15:27 
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] IAX2 passing back and forth variables

 

Sorry, the dialplan is really on server B

exten => s,n,Set(IAXVAR(TESTVAR2)=efgh) 

 

 

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Noah
Engelberth
Sent: 2012-05-19 14:45 
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] IAX2 passing back and forth variables

 

Uhm, if the dialplan is exactly as you pasted, you're not setting TESTVAR2
to anything.  You would need some sort of Set(IAXVAR(TESTVAR2)=.)

 

Noah

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ruddy Gbaguidi
Sent: Saturday, May 19, 2012 2:17 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] IAX2 passing back and forth variables

 

Hi all,

I have two asterisk servers A and B.

And I would like from A, dial to B passing some IAX variables.

Then B handles the calls, setup some other variables that become available
to A which can continue.

So far, I have used IAXVAR function.

It works when sending call from A to B

But variables setup on B are not available on A.

 

Any idea how I can do it ?

 

Here are my dialplans.

+++

SERVER A

+++

[contextA]

exten => s,1,Set(IAXVAR(TESTVAR1)=abcd)

exten => s,n,Dial(IAX2/serverb/s,30,g)

exten => s,n,Noop(  The out variable is : ${IAXVAR(TESTVAR2)}   )  ; <
Does not work

 

 

+++

SERVER B

+++

[contextB]

exten => s,1,Noop( ${IAXVAR(TESTVAR1)} )   <- Does work

exten => s,n,Set(IAXVAR(TESTVAR2)) 

exten => s,n,Hangup

 

 

--
_
-- 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] IAX2 passing back and forth variables

2012-05-21 Thread Ruddy Gbaguidi
No one have an idea ?

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ruddy Gbaguidi
Sent: 2012-05-19 15:27 
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] IAX2 passing back and forth variables

 

Sorry, the dialplan is really on server B

exten => s,n,Set(IAXVAR(TESTVAR2)=efgh) 

 

 

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Noah
Engelberth
Sent: 2012-05-19 14:45 
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] IAX2 passing back and forth variables

 

Uhm, if the dialplan is exactly as you pasted, you're not setting TESTVAR2
to anything.  You would need some sort of Set(IAXVAR(TESTVAR2)=.)

 

Noah

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ruddy Gbaguidi
Sent: Saturday, May 19, 2012 2:17 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] IAX2 passing back and forth variables

 

Hi all,

I have two asterisk servers A and B.

And I would like from A, dial to B passing some IAX variables.

Then B handles the calls, setup some other variables that become available
to A which can continue.

So far, I have used IAXVAR function.

It works when sending call from A to B

But variables setup on B are not available on A.

 

Any idea how I can do it ?

 

Here are my dialplans.

+++

SERVER A

+++

[contextA]

exten => s,1,Set(IAXVAR(TESTVAR1)=abcd)

exten => s,n,Dial(IAX2/serverb/s,30,g)

exten => s,n,Noop(  The out variable is : ${IAXVAR(TESTVAR2)}   )  ; <
Does not work

 

 

+++

SERVER B

+++

[contextB]

exten => s,1,Noop( ${IAXVAR(TESTVAR1)} )   <- Does work

exten => s,n,Set(IAXVAR(TESTVAR2)) 

exten => s,n,Hangup

 

 

--
_
-- 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] IAX2 passing back and forth variables

2012-05-19 Thread Ruddy Gbaguidi
Sorry, the dialplan is really on server B

exten => s,n,Set(IAXVAR(TESTVAR2)=efgh) 

 

 

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Noah
Engelberth
Sent: 2012-05-19 14:45 
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] IAX2 passing back and forth variables

 

Uhm, if the dialplan is exactly as you pasted, you're not setting TESTVAR2
to anything.  You would need some sort of Set(IAXVAR(TESTVAR2)=.)

 

Noah

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ruddy Gbaguidi
Sent: Saturday, May 19, 2012 2:17 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] IAX2 passing back and forth variables

 

Hi all,

I have two asterisk servers A and B.

And I would like from A, dial to B passing some IAX variables.

Then B handles the calls, setup some other variables that become available
to A which can continue.

So far, I have used IAXVAR function.

It works when sending call from A to B

But variables setup on B are not available on A.

 

Any idea how I can do it ?

 

Here are my dialplans.

+++

SERVER A

+++

[contextA]

exten => s,1,Set(IAXVAR(TESTVAR1)=abcd)

exten => s,n,Dial(IAX2/serverb/s,30,g)

exten => s,n,Noop(  The out variable is : ${IAXVAR(TESTVAR2)}   )  ; <
Does not work

 

 

+++

SERVER B

+++

[contextB]

exten => s,1,Noop( ${IAXVAR(TESTVAR1)} )   <- Does work

exten => s,n,Set(IAXVAR(TESTVAR2)) 

exten => s,n,Hangup

 

 

--
_
-- 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] IAX2 passing back and forth variables

2012-05-19 Thread Noah Engelberth
Uhm, if the dialplan is exactly as you pasted, you're not setting TESTVAR2 to 
anything.  You would need some sort of Set(IAXVAR(TESTVAR2)=...)

Noah

From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ruddy Gbaguidi
Sent: Saturday, May 19, 2012 2:17 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] IAX2 passing back and forth variables

Hi all,
I have two asterisk servers A and B.
And I would like from A, dial to B passing some IAX variables.
Then B handles the calls, setup some other variables that become available to A 
which can continue.
So far, I have used IAXVAR function.
It works when sending call from A to B
But variables setup on B are not available on A.

Any idea how I can do it ?

Here are my dialplans.
+++
SERVER A
+++
[contextA]
exten => s,1,Set(IAXVAR(TESTVAR1)=abcd)
exten => s,n,Dial(IAX2/serverb/s,30,g)
exten => s,n,Noop(  The out variable is : ${IAXVAR(TESTVAR2)}   )  ; < Does 
not work


+++
SERVER B
+++
[contextB]
exten => s,1,Noop( ${IAXVAR(TESTVAR1)} )   <- Does work
exten => s,n,Set(IAXVAR(TESTVAR2))
exten => s,n,Hangup


--
_
-- 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] IAX2 passing back and forth variables

2012-05-19 Thread Ruddy Gbaguidi
Hi all,

I have two asterisk servers A and B.

And I would like from A, dial to B passing some IAX variables.

Then B handles the calls, setup some other variables that become available
to A which can continue.

So far, I have used IAXVAR function.

It works when sending call from A to B

But variables setup on B are not available on A.

 

Any idea how I can do it ?

 

Here are my dialplans.

+++

SERVER A

+++

[contextA]

exten => s,1,Set(IAXVAR(TESTVAR1)=abcd)

exten => s,n,Dial(IAX2/serverb/s,30,g)

exten => s,n,Noop(  The out variable is : ${IAXVAR(TESTVAR2)}   )  ; <
Does not work

 

 

+++

SERVER B

+++

[contextB]

exten => s,1,Noop( ${IAXVAR(TESTVAR1)} )   <- Does work

exten => s,n,Set(IAXVAR(TESTVAR2)) 

exten => s,n,Hangup

 

 

--
_
-- 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] IAX2 woes

2011-12-29 Thread Carlos Rojas
Hello

Asterisk only says that the iax2 channel don't work maybe you look the
iax.conf. you trunk. Is iax I think

Regards
On Dec 29, 2011 6:49 AM, "--[ UxBoD ]--"  wrote:

> Hello all,
>
> I attempted to make a couple of outbound calls this morning and always got
> the busy tone.  I checked the Asterisk console and was greeted with:
>
> [Dec 29 11:29:22] WARNING[12039]: app_dial.c:2218 dial_exec_full: Unable
> to create channel of type 'IAX2' (cause 20 - Unknown)
>   == Everyone is busy/congested at this time (1:0/0/1)
>
> I proceeded to restart Asterisk and dialed the same number again and it
> worked without fault. What could cause this type of error and is there any
> way to auto-remediate when it does arise ?
>
> voip*CLI> core show version
> Asterisk 10.0.0 built by root @ voip.my.server on a x86_64 running Linux
> on 2011-12-19 16:16:46 UTC
> --
> Thanks, Phil
>
>
> --
> _
> -- 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] IAX2 woes

2011-12-29 Thread --[ UxBoD ]--
Hello all, 

I attempted to make a couple of outbound calls this morning and always got the 
busy tone. I checked the Asterisk console and was greeted with: 

[Dec 29 11:29:22] WARNING[12039]: app_dial.c:2218 dial_exec_full: Unable to 
create channel of type 'IAX2' (cause 20 - Unknown) 
== Everyone is busy/congested at this time (1:0/0/1) 

I proceeded to restart Asterisk and dialed the same number again and it worked 
without fault. What could cause this type of error and is there any way to 
auto-remediate when it does arise ? 

voip*CLI> core show version 
Asterisk 10.0.0 built by root @ voip.my.server on a x86_64 running Linux on 
2011-12-19 16:16:46 UTC 

-- 
Thanks, Phil 

--
_
-- 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] IAX2 availability testing

2011-11-10 Thread Danny Nicholas
ChanisAvail?

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jaap Winius
Sent: Wednesday, November 09, 2011 9:29 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] IAX2 availability testing

Hi folks,

What methods are available for testing IAX2 service availability? I know
about "iax2 show peers" and "iax2 show registry", but I'd like some
alternatives.

Tcpdump shows a little more about what's going on, but a handy test using
nmap doesn't seem to work anymore (see
http://shearer.org/UDP_Reachability_Testing).

Any suggestions would be appreciated.

Cheers,

Jaap

PS -- My systems run Debian squeeze with Asterisk 1.6.2.9.

--
_
-- 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] IAX2 availability testing

2011-11-09 Thread Jaap Winius

Hi folks,

What methods are available for testing IAX2 service availability? I  
know about "iax2 show peers" and "iax2 show registry", but I'd like  
some alternatives.


Tcpdump shows a little more about what's going on, but a handy test  
using nmap doesn't seem to work anymore (see  
http://shearer.org/UDP_Reachability_Testing).


Any suggestions would be appreciated.

Cheers,

Jaap

PS -- My systems run Debian squeeze with Asterisk 1.6.2.9.

--
_
-- 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] iax2 Max retries exceeded to host

2011-05-10 Thread satish patel



campbx1*CLI> iax2 show netstats
    LOCAL -   
REMOTE 
Channel   RTT  Jit  Del  Lost   %  Drop  OOO  Kpkts  Jit  Del  Lost 
  %  Drop  OOO  Kpkts FirstMsgLastMsg
IAX2/orasebcam-612 83   -10-1  -1 0   -1  00   40 0 
  0 00  0 Tx:NEW  Tx:LAGRQ  
IAX2/7504-1407204   -10-1  -1 0   -120200 0 
  0 00  0 Rx:NEW  Tx:ACK
IAX2/orasebcam-3360   104   -10-1  -1 0   -1  50   40 0 
  0 00  0 Rx:NEW  Rx:ACK
IAX2/orasebcam-828784   -10-1  -1 0   -12020   40 0 
  0 00  0 Tx:NEW  Rx:ACK
IAX2/7504-15510   178   -10-1  -1 0   -1  200 0 
  0 00  0 Rx:NEW  Tx:ACK
5 active IAX channels


From: satish...@hotmail.com
To: asterisk-users@lists.digium.com
Date: Tue, 10 May 2011 19:27:26 +
Subject: [asterisk-users] iax2 Max retries exceeded to host










We have IAX2 peer between two asterisk and I am getting following error 
following IAX2 WARNING. IAX calling is functional 

[May 10 15:23:34] WARNING[2056]: chan_iax2.c:3487 __attempt_transmit: Max 
retries exceeded to host 172.24.146.51 on IAX2/orasebcam-612 (type = 6, 
subclass = 11, ts=3030332, seqno=211)
[May 10 15:23:44] WARNING[2047]: chan_iax2.c:3487 __attempt_transmit: Max 
retries exceeded to host 172.24.146.51 on IAX2/orasebcam-612 (type = 6, 
subclass = 11, ts=3040332, seqno=212)
[May 10 15:23:45] NOTICE[2058]: chan_sip.c:23826 handle_request_register: 
Registration from '' failed for 
'172.30.245.85:5060' - No matching peer found
[May 10 15:23:45] NOTICE[2058]: chan_sip.c:23826 handle_request_register: 
Registration from '' failed for 
'172.30.245.85:5060' - No matching peer found
[May 10 15:23:49] WARNING[2048]: chan_iax2.c:3487 __attempt_transmit: Max 
retries exceeded to host 172.24.146.51 on IAX2/orasebcam-612 (type = 6, 
subclass = 2, ts=3045385, seqno=213)
[May 10 15:23:54] WARNING[2054]: chan_iax2.c:3487 __attempt_transmit: Max 
retries exceeded to host 172.24.146.51 on IAX2/orasebcam-612 (type = 6, 
subclass = 11, ts=3050332, seqno=214)
[May 10 15:24:04] WARNING[2056]: chan_iax2.c:3487 __attempt_transmit: Max 
retries exceeded to host 172.24.146.51 on IAX2/orasebcam-612 (type = 6, 
subclass = 11, ts=3060332, seqno=215)
[May 10 15:24:10] WARNING[2048]: chan_iax2.c:3487 __attempt_transmit: Max 
retries exceeded to host 172.24.146.51 on IAX2/orasebcam-612 (type = 6, 
subclass = 2, ts=3066385, seqno=216)
[May 10 15:24:14] WARNING[2051]: chan_iax2.c:3487 __attempt_transmit: Max 
retries exceeded to host 172.24.146.51 on IAX2/orasebcam-612 (type = 6, 
subclass = 11, ts=3070332, seqno=217)

  

--
_
-- 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] iax2 Max retries exceeded to host

2011-05-10 Thread satish patel



We have IAX2 peer between two asterisk and I am getting following error 
following IAX2 WARNING. IAX calling is functional 

[May 10 15:23:34] WARNING[2056]: chan_iax2.c:3487 __attempt_transmit: Max 
retries exceeded to host 172.24.146.51 on IAX2/orasebcam-612 (type = 6, 
subclass = 11, ts=3030332, seqno=211)
[May 10 15:23:44] WARNING[2047]: chan_iax2.c:3487 __attempt_transmit: Max 
retries exceeded to host 172.24.146.51 on IAX2/orasebcam-612 (type = 6, 
subclass = 11, ts=3040332, seqno=212)
[May 10 15:23:45] NOTICE[2058]: chan_sip.c:23826 handle_request_register: 
Registration from '' failed for 
'172.30.245.85:5060' - No matching peer found
[May 10 15:23:45] NOTICE[2058]: chan_sip.c:23826 handle_request_register: 
Registration from '' failed for 
'172.30.245.85:5060' - No matching peer found
[May 10 15:23:49] WARNING[2048]: chan_iax2.c:3487 __attempt_transmit: Max 
retries exceeded to host 172.24.146.51 on IAX2/orasebcam-612 (type = 6, 
subclass = 2, ts=3045385, seqno=213)
[May 10 15:23:54] WARNING[2054]: chan_iax2.c:3487 __attempt_transmit: Max 
retries exceeded to host 172.24.146.51 on IAX2/orasebcam-612 (type = 6, 
subclass = 11, ts=3050332, seqno=214)
[May 10 15:24:04] WARNING[2056]: chan_iax2.c:3487 __attempt_transmit: Max 
retries exceeded to host 172.24.146.51 on IAX2/orasebcam-612 (type = 6, 
subclass = 11, ts=3060332, seqno=215)
[May 10 15:24:10] WARNING[2048]: chan_iax2.c:3487 __attempt_transmit: Max 
retries exceeded to host 172.24.146.51 on IAX2/orasebcam-612 (type = 6, 
subclass = 2, ts=3066385, seqno=216)
[May 10 15:24:14] WARNING[2051]: chan_iax2.c:3487 __attempt_transmit: Max 
retries exceeded to host 172.24.146.51 on IAX2/orasebcam-612 (type = 6, 
subclass = 11, ts=3070332, seqno=217)

  --
_
-- 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] iax2 issue in asterisk

2011-05-09 Thread satish patel

Awesome! 

root@:~# cat /etc/asterisk/iax.conf | grep requirecalltoken
; By setting 'requirecalltoken=no', call token validation becomes optional for
; that peer/user.  By setting 'requirecalltoken=auto', call token validation 
; can require it from this peer.  So, requirecalltoken is internally set to yes.
; requirecalltoken may only be used in peer/user/friend definitions,
; By default, 'requirecalltoken=yes'.

requirecalltoken=no

Also there was an other issue host=dynamic i set to host=x.x.x.x and it works!


> Date: Mon, 9 May 2011 18:45:05 +0100
> From: gordon+aster...@drogon.net
> To: asterisk-users@lists.digium.com
> Subject: Re: [asterisk-users] iax2 issue in asterisk
> 
> On Mon, 9 May 2011, satish patel wrote:
> 
> >
> > Hey guys!
> >
> > I have issue between iax vs iax2 following is my setup
> >
> > asterisk-1.2 <--IAX>Asterisk-1.8
> >
> > I am able to call from 1.8 to 1.2 over iax but no from asterisk 1.2 to 1.8
> 
> 
> Might you be missing
> 
>requirecalltoken=no
> 
> in iax.conf in the 1.8 system for calls originating from the 1.2 system?
> 
> Gordon
> 
> --
> _
> -- 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

Re: [asterisk-users] iax2 issue in asterisk

2011-05-09 Thread Gordon Henderson

On Mon, 9 May 2011, satish patel wrote:



Hey guys!

I have issue between iax vs iax2 following is my setup

asterisk-1.2 <--IAX>Asterisk-1.8

I am able to call from 1.8 to 1.2 over iax but no from asterisk 1.2 to 1.8



Might you be missing

  requirecalltoken=no

in iax.conf in the 1.8 system for calls originating from the 1.2 system?

Gordon

--
_
-- 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] iax2 issue in asterisk

2011-05-09 Thread satish patel

Hey guys!

I have issue between iax vs iax2 following is my setup

asterisk-1.2 <--IAX>Asterisk-1.8

I am able to call from 1.8 to 1.2 over iax but no from asterisk 1.2 to 1.8 
  --
_
-- 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] IAX2 codec selection and video

2011-04-23 Thread Pezhman Lali
check this url, let me know if any problem

http://www.voip-info.org/wiki/view/Asterisk+video


 best


On Thu, Apr 21, 2011 at 9:00 PM, Steve Davies  wrote:

> Hi,
>
> Can anyone let me know how I can enable video (h.263) on SIP, but if a
> video call is passed over IAX, it will remove the video and pass the
> audio only.
>
> What I tried was:
>
> SIP - videosupport=yes
>  - disallow=all
>  - allow=alaw
>  - allow=h263
>
> IAX - disallow=all
>  - allow=alaw
>
>
> What appears to occur is that the SIP call negotiates h263 video, and
> when passed over IAX, the h263  frames are passed, and are also
> accepted at the far end which also does not have a video codec
> allowed. Should that be happening? This is with 1.6.2.18-rc1. Am I
> missing a setting somewhere?
>
> Thanks,
> Steve
>
> --
> _
> -- 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] IAX2 codec selection and video

2011-04-21 Thread Steve Davies
Hi,

Can anyone let me know how I can enable video (h.263) on SIP, but if a
video call is passed over IAX, it will remove the video and pass the
audio only.

What I tried was:

SIP - videosupport=yes
  - disallow=all
  - allow=alaw
  - allow=h263

IAX - disallow=all
  - allow=alaw


What appears to occur is that the SIP call negotiates h263 video, and
when passed over IAX, the h263  frames are passed, and are also
accepted at the far end which also does not have a video codec
allowed. Should that be happening? This is with 1.6.2.18-rc1. Am I
missing a setting somewhere?

Thanks,
Steve

--
_
-- 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] IAX2/0.0.29.199

2011-04-10 Thread Satish Patel

I grab via svn client and source you gave me.

Can you fix original brach ?

--
Sent from my iPhone

On Apr 10, 2011, at 11:51 AM, Paul Belanger   
wrote:



On 11-04-10 09:14 AM, Tzafrir Cohen wrote:

On Fri, Apr 08, 2011 at 06:10:21PM +, satish patel wrote:



I tried to compile your version and got bunch of error on "make"  
and it failed to compile.


root@satish-desktop:/home/satish/issue18183# make


How did you get that code?

It is from a branch I created a few months back, and I have not  
looked at it in a while.  That said, there maybe issues with it.


--
Paul Belanger
Digium, Inc. | Software Developer
twitter: pabelanger | IRC: pabelanger (Freenode)
Check us out at: http://digium.com & http://asterisk.org

--
_
-- 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


Re: [asterisk-users] IAX2/0.0.29.199

2011-04-10 Thread Paul Belanger

On 11-04-10 09:14 AM, Tzafrir Cohen wrote:

On Fri, Apr 08, 2011 at 06:10:21PM +, satish patel wrote:



I tried to compile your version and got bunch of error on "make" and it failed 
to compile.

root@satish-desktop:/home/satish/issue18183# make


How did you get that code?

It is from a branch I created a few months back, and I have not looked 
at it in a while.  That said, there maybe issues with it.


--
Paul Belanger
Digium, Inc. | Software Developer
twitter: pabelanger | IRC: pabelanger (Freenode)
Check us out at: http://digium.com & http://asterisk.org

--
_
-- 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] IAX2/0.0.29.199

2011-04-10 Thread Tzafrir Cohen
On Fri, Apr 08, 2011 at 06:10:21PM +, satish patel wrote:
> 
> 
> I tried to compile your version and got bunch of error on "make" and it 
> failed to compile. 
> 
> root@satish-desktop:/home/satish/issue18183# make

How did you get that code?

>[CC] chan_iax2.c -> chan_iax2.o
> chan_iax2.c: In function âsocket_processâ:
> chan_iax2.c:11533: error: invalid storage class for function 
> âiax2_process_thread_cleanupâ
> chan_iax2.c:11532: warning: no previous prototype for 
> âiax2_process_thread_cleanupâ
> chan_iax2.c:11544: error: invalid storage class for function 
> âiax2_process_threadâ
> chan_iax2.c:11543: warning: no previous prototype for âiax2_process_threadâ
> chan_iax2.c:11683: error: invalid storage class for function 
> âiax2_do_registerâ
> chan_iax2.c:11682: warning: no previous prototype for âiax2_do_registerâ
> chan_iax2.c:11744: error: invalid storage class for function âiax2_provisionâ
> chan_iax2.c:11743: warning: no previous prototype for âiax2_provisionâ
> chan_iax2.c:11796: error: invalid storage class for function âiax2_prov_appâ
> chan_iax2.c:11795: warning: no previous prototype for âiax2_prov_appâ
> chan_iax2.c:11825: error: invalid storage class for function 
> âhandle_cli_iax2_provisionâ
> chan_iax2.c:11824: warning: no previous prototype for 
> âhandle_cli_iax2_provisionâ
> chan_iax2.c:11864: error: invalid storage class for function 
> â__iax2_poke_noanswerâ
> chan_iax2.c:11863: warning: no previous prototype for â__iax2_poke_noanswerâ
> chan_iax2.c:11887: error: invalid storage class for function 
> âiax2_poke_noanswerâ
> ...
> ...
> ...
> chan_iax2.c:14723: warning: no previous prototype for â__reg_moduleâ
> chan_iax2.c:14723: error: invalid storage class for function â__unreg_moduleâ
> chan_iax2.c:14723: warning: no previous prototype for â__unreg_moduleâ
> chan_iax2.c:14723: error: expected declaration or statement at end of input
> chan_iax2.c:14723: warning: unused variable âast_module_infoâ
> make[1]: *** [chan_iax2.o] Error 1
> make: *** [channels] Error 2
> root@satish-desktop:/home/satish/issue18183#

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

--
_
-- 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


  1   2   3   4   5   6   7   8   9   10   >