Re: [asterisk-users] IAX port

2015-02-09 Thread Duncan Turnbull



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


2015-02-09 14:36 GMT-06:00 jg :

Hi!

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

something like this

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

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

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

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

a router related problem?

jg


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


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


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


Cheers Duncan




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

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


Hi.

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


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

Regards.

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

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


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

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


Re: [asterisk-users] IAX port

2015-02-09 Thread Jose Flores Galicia
2015-02-09 14:36 GMT-06:00 jg :
> Hi!
>
> Sometimes IAX peers are not reachable and with "iax2 set debug on" I get
> something like this
>
> Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG
>Timestamp: 00014ms  SCall: 1  DCall: 01200 79.233.155.174:49153
> Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK
>Timestamp: 00014ms  SCall: 01200  DCall: 1 79.233.155.174:49153
>
> I am not sure what causes port 4569 to be replaced an an arbitrary port,
> which could be the reason for my problem. Does someone know whether this is
> a router related problem?
>
> jg
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>   http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users

Hi.

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

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

Regards.

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

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


[asterisk-users] IAX port

2015-02-09 Thread jg

Hi!

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

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

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


jg

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

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


Re: [asterisk-users] (no subject)

2015-02-09 Thread Steven Howes
On 9 Feb 2015, at 15:32, Francisco Leonardo Mota  wrote:
> Submission.
> 
> Thanks,

Uh, no problem?..

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


[asterisk-users] (no subject)

2015-02-09 Thread Francisco Leonardo Mota

Submission.




Thanks,

Francisco Leonardo Mota
Analista de Operações
DAGSer - Diretoria Adjunta de Gestão de Serviços
RNP – Rede Nacional de Ensino e Pesquisa  
Site:http://www.rnp.br
Tel.:+55 61 3243-4384
Cel.:+55 61 9189-6660


-- 
_
-- 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] When are /proc/dahdi files created

2015-02-09 Thread Tzafrir Cohen
On Wed, Feb 04, 2015 at 11:54:12PM +, Michelle Dupuis wrote:
> Can someone tell me when the /proc/dahdi files are created for spans?  Are 
> they created when asterisk starts (or the asterisk init script) - if not what 
> script creates them?

/proc/dahdi is created when dahdi is loaded. Each span N that is loaded
creates /proc/dahdi/N .

See the README:
http://docs.tzafrir.org.il/dahdi-linux/#_procfs_interface_proc_dahdi
and while we're at it: the following sections about the sysfs interface.

/proc and /sys are generated by the kernel. No script generates them. A
script may trigger the load of those modules. Those modules will be
loaded typically in the dahdi init script, if not loaded earlier by
hotplug (if the DAHDI hardware driver is not blacklisted).

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

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