[asterisk-users] IAX port

Jose Flores Galicia flojose at gmail.com
Mon Feb 9 17:22:33 CST 2015

2015-02-09 14:36 GMT-06:00 jg <webaccounts173 at jgoettgens.de>:
> Hi!
> Sometimes IAX peers are not reachable and with "iax2 set debug on" I get
> something like this
> Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG
>    Timestamp: 00014ms  SCall: 00001  DCall: 01200
> Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: ACK
>    Timestamp: 00014ms  SCall: 01200  DCall: 00001
> 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


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.


More information about the asterisk-users mailing list