[Asterisk-Users] iax problems

Michael Bielicki Michael.Bielicki at global-gateway.net
Mon Mar 31 11:16:38 MST 2003


try CIPE,works like a breeze :)

On Monday 31 Mar 2003 18:27, Tilghman Lesher shaped the electrons to say:
> I'm having some trouble with placing some iax calls over an openvpn:
>
> Setup A is a 1.8GHz Celeron, T100P attached to a Zhone Zplex.
> Setup B is a 266MHz P2, T100P attached to a Zhone Zplex.
> Setup C is a 700MHz P3, T100P attached to an Adtran TA 750.
> Setup D is a 233MHz Pentium, with an X100P.
>
> Setups A and B are on the same physical network.  IAX calls routed
> between them work fine.
>
> Setup D is on a different physical network, attached to Setup A with a
> VPN (openvpn).  Calls routed over IAX from D to A work fine.
>
> Setup C is on a different physical network, attached to Setup A with a
> VPN (openvpn).  Neither side is able to successfully connect to the
> other via IAX, although other IP traffic passes just fine.  Persons on
> either end of this connection hear the telephone station ring briefly
> (not a full ring, just partially), but when they pick up, they get a
> dialtone.  Below is the output from 'iax debug' on the consoles:
>
> -----Begin A output-----
>     -- Starting simple switch on 'Zap/19-1'
>     -- Executing AbsoluteTimeout("Zap/19-1", "0") in new stack
>     -- Set Absolute Timeout to 0
>     -- Executing Dial("Zap/19-1", "IAX/vcch at sassafras/619") in new
> stack
>     -- Calling using options 'exten=619;callerid="Tilghman Lesher"
> <103>;language=en;username=vcch;formats=2;capability=65282;version=1;adsicp
>e=2' Tx-Frame Retry[000] -- Seqno: 00  Type: IAX     Subclass: NEW
>    Timestamp: 00001ms  Callno: 00032  DCall: -00001
> [192.168.222.245:5036]
>     -- Called vcch at sassafras/619
> Tx-Frame Retry[000] -- Seqno: 01  Type: VOICE   Subclass: 2
>    Timestamp: 00014ms  Callno: 00032  DCall: -00001
> [192.168.222.245:5036]
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: ACK
>    Timestamp: 00001ms  Callno: 00045  DCall: 00032 [10.1.0.7:5036]
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: ACCEPT
>    Timestamp: 00001ms  Callno: 00045  DCall: 00032 [10.1.0.7:5036]
> Rx-Frame Retry[N/A] -- Seqno: 01  Type: IAX     Subclass: ACK
>    Timestamp: 00014ms  Callno: 00045  DCall: 00032 [10.1.0.7:5036]
> Rx-Frame Retry[N/A] -- Seqno: 01  Type: CONTROL Subclass: RINGING
>    Timestamp: 00006ms  Callno: 00045  DCall: 00032 [10.1.0.7:5036]
> Tx-Frame Retry[001] -- Seqno: 00  Type: IAX     Subclass: NEW
>    Timestamp: 00001ms  Callno: 00032  DCall: -00001
> [192.168.222.245:5036]
> Tx-Frame Retry[001] -- Seqno: 01  Type: VOICE   Subclass: 2
>    Timestamp: 00014ms  Callno: 00032  DCall: -00001
> [192.168.222.245:5036]
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: ACK
>    Timestamp: 00001ms  Callno: 00046  DCall: 00032 [10.1.0.7:5036]
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: ACCEPT
>    Timestamp: 00001ms  Callno: 00046  DCall: 00032 [10.1.0.7:5036]
> Rx-Frame Retry[N/A] -- Seqno: 01  Type: IAX     Subclass: ACK
>    Timestamp: 00014ms  Callno: 00046  DCall: 00032 [10.1.0.7:5036]
> Rx-Frame Retry[N/A] -- Seqno: 01  Type: CONTROL Subclass: RINGING
>    Timestamp: 00006ms  Callno: 00046  DCall: 00032 [10.1.0.7:5036]
>     -- Hungup 'IAX[sassafras]/32'
>   == Spawn extension (internal, 619, 2) exited non-zero on 'Zap/19-1'
>     -- Hungup 'Zap/19-1'
> Tx-Frame Retry[000] -- Seqno: 02  Type: IAX     Subclass: HANGUP
>    Timestamp: 06428ms  Callno: 00032  DCall: -00001
> [192.168.222.245:5036]
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
>    Timestamp: 00000ms  Callno: 32767  DCall: 00032 [10.1.0.7:5036]
> Tx-Frame Retry[001] -- Seqno: 02  Type: IAX     Subclass: HANGUP
>    Timestamp: 06428ms  Callno: 00032  DCall: -00001
> [192.168.222.245:5036]
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
>    Timestamp: 00000ms  Callno: 32767  DCall: 00032 [10.1.0.7:5036]
> Tx-Frame Retry[002] -- Seqno: 00  Type: IAX     Subclass: NEW
>    Timestamp: 00001ms  Callno: 00032  DCall: -00001
> [192.168.222.245:5036]
> Tx-Frame Retry[002] -- Seqno: 01  Type: VOICE   Subclass: 2
>    Timestamp: 00014ms  Callno: 00032  DCall: -00001
> [192.168.222.245:5036]
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: ACK
>    Timestamp: 00001ms  Callno: 00047  DCall: 00032 [10.1.0.7:5036]
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: ACCEPT
>    Timestamp: 00001ms  Callno: 00047  DCall: 00032 [10.1.0.7:5036]
> Rx-Frame Retry[N/A] -- Seqno: 01  Type: IAX     Subclass: ACK
>    Timestamp: 00014ms  Callno: 00047  DCall: 00032 [10.1.0.7:5036]
> Rx-Frame Retry[N/A] -- Seqno: 01  Type: CONTROL Subclass: RINGING
>    Timestamp: 00005ms  Callno: 00047  DCall: 00032 [10.1.0.7:5036]
> Tx-Frame Retry[002] -- Seqno: 02  Type: IAX     Subclass: HANGUP
>    Timestamp: 06428ms  Callno: 00032  DCall: -00001
> [192.168.222.245:5036]
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
>    Timestamp: 00000ms  Callno: 32767  DCall: 00032 [10.1.0.7:5036]
> Tx-Frame Retry[003] -- Seqno: 00  Type: IAX     Subclass: NEW
>    Timestamp: 00001ms  Callno: 00032  DCall: -00001
> [192.168.222.245:5036]
> Tx-Frame Retry[003] -- Seqno: 01  Type: VOICE   Subclass: 2
>    Timestamp: 00014ms  Callno: 00032  DCall: -00001
> [192.168.222.245:5036]
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: ACK
>    Timestamp: 00001ms  Callno: 00048  DCall: 00032 [10.1.0.7:5036]
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: ACCEPT
>    Timestamp: 00001ms  Callno: 00048  DCall: 00032 [10.1.0.7:5036]
> Rx-Frame Retry[N/A] -- Seqno: 01  Type: IAX     Subclass: ACK
>    Timestamp: 00014ms  Callno: 00048  DCall: 00032 [10.1.0.7:5036]
> Rx-Frame Retry[N/A] -- Seqno: 01  Type: CONTROL Subclass: RINGING
>    Timestamp: 00005ms  Callno: 00048  DCall: 00032 [10.1.0.7:5036]
> Tx-Frame Retry[003] -- Seqno: 02  Type: IAX     Subclass: HANGUP
>    Timestamp: 06428ms  Callno: 00032  DCall: -00001
> [192.168.222.245:5036]
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
>    Timestamp: 00000ms  Callno: 32767  DCall: 00032 [10.1.0.7:5036]
> -----End A output-----
>
> -----Begin C output-----
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: NEW
> Tx-Frame Retry[-01] -- Seqno: 00  Type: IAX     Subclass: ACK
>     -- Accepting unauthenticated call from 10.1.0.8, requested format
> = 2, actual format = 2
> Tx-Frame Retry[000] -- Seqno: 00  Type: IAX     Subclass: ACCEPT
> Rx-Frame Retry[N/A] -- Seqno: 01  Type: VOICE   Subclass: 2
> Tx-Frame Retry[-01] -- Seqno: 01  Type: IAX     Subclass: ACK
>     -- Executing StripMSD("IAX[vcch at 10.1.0.8:5036]/45", "1") in new
> stack
>     -- Executing Dial("IAX[vcch at 10.1.0.8:5036]/45", "Zap/19") in new
> stack
>     -- Called 19
>     -- Zap/19-1 is ringing
> Tx-Frame Retry[000] -- Seqno: 01  Type: CONTROL Subclass: RINGING
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
>     -- Hungup 'Zap/19-1'
>   == Spawn extension (internal, 19, 2) exited non-zero on
> 'IAX[vcch at 10.1.0.8:5036]/45'
>     -- Hungup 'IAX[vcch at 10.1.0.8:5036]/45'
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: NEW
> Tx-Frame Retry[-01] -- Seqno: 00  Type: IAX     Subclass: ACK
>     -- Accepting unauthenticated call from 10.1.0.8, requested format
> = 2, actual format = 2
>     -- Executing StripMSD("IAX[vcch at 10.1.0.8:5036]/46", "1") in new
> stack
>     -- Executing Dial("IAX[vcch at 10.1.0.8:5036]/46", "Zap/19") in new
> stack
>     -- Called 19
> Tx-Frame Retry[000] -- Seqno: 00  Type: IAX     Subclass: ACCEPT
> Rx-Frame Retry[N/A] -- Seqno: 01  Type: VOICE   Subclass: 2
> Tx-Frame Retry[-01] -- Seqno: 01  Type: IAX     Subclass: ACK
>     -- Zap/19-1 is ringing
> Tx-Frame Retry[000] -- Seqno: 01  Type: CONTROL Subclass: RINGING
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
>     -- Hungup 'Zap/19-1'
>   == Spawn extension (internal, 19, 2) exited non-zero on
> 'IAX[vcch at 10.1.0.8:5036]/46'
>     -- Hungup 'IAX[vcch at 10.1.0.8:5036]/46'
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
> Rx-Frame Retry[N/A] -- Seqno: 02  Type: IAX     Subclass: HANGUP
> Rx-Frame Retry[N/A] -- Seqno: 02  Type: IAX     Subclass: HANGUP
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: NEW
> Tx-Frame Retry[-01] -- Seqno: 00  Type: IAX     Subclass: ACK
>     -- Accepting unauthenticated call from 10.1.0.8, requested format
> = 2, actual format = 2
>     -- Executing StripMSD("IAX[vcch at 10.1.0.8:5036]/47", "1") in new
> stack
>     -- Executing Dial("IAX[vcch at 10.1.0.8:5036]/47", "Zap/19") in new
> stack
>     -- Called 19
> Tx-Frame Retry[000] -- Seqno: 00  Type: IAX     Subclass: ACCEPT
>     -- Zap/19-1 is ringing
> Rx-Frame Retry[N/A] -- Seqno: 01  Type: VOICE   Subclass: 2
> Tx-Frame Retry[-01] -- Seqno: 01  Type: IAX     Subclass: ACK
> Tx-Frame Retry[000] -- Seqno: 01  Type: CONTROL Subclass: RINGING
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
>     -- Hungup 'Zap/19-1'
>   == Spawn extension (internal, 19, 2) exited non-zero on
> 'IAX[vcch at 10.1.0.8:5036]/47'
>     -- Hungup 'IAX[vcch at 10.1.0.8:5036]/47'
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
> Rx-Frame Retry[N/A] -- Seqno: 02  Type: IAX     Subclass: HANGUP
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: NEW
> Tx-Frame Retry[-01] -- Seqno: 00  Type: IAX     Subclass: ACK
>     -- Accepting unauthenticated call from 10.1.0.8, requested format
> = 2, actual format = 2
>     -- Executing StripMSD("IAX[vcch at 10.1.0.8:5036]/48", "1") in new
> stack
>     -- Executing Dial("IAX[vcch at 10.1.0.8:5036]/48", "Zap/19") in new
> stack
>     -- Called 19
> Tx-Frame Retry[000] -- Seqno: 00  Type: IAX     Subclass: ACCEPT
>     -- Zap/19-1 is ringing
> Rx-Frame Retry[N/A] -- Seqno: 01  Type: VOICE   Subclass: 2
> Tx-Frame Retry[-01] -- Seqno: 01  Type: IAX     Subclass: ACK
> Tx-Frame Retry[000] -- Seqno: 01  Type: CONTROL Subclass: RINGING
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
>     -- Hungup 'Zap/19-1'
>   == Spawn extension (internal, 19, 2) exited non-zero on
> 'IAX[vcch at 10.1.0.8:5036]/48'
>     -- Hungup 'IAX[vcch at 10.1.0.8:5036]/48'
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
> Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
> Rx-Frame Retry[N/A] -- Seqno: 02  Type: IAX     Subclass: HANGUP
> -----End C output-----
>
> -----Begin portion of iax.conf (both)-----
> [vcch]
> type=friend
> context=internal
> host=192.168.98.137
>
> [sassafras]
> context=internal
> host=192.168.222.245
> type=friend
> -----End-----
>
> -Tilghman
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
Michael Bielicki
Managing Director
TAAN Consultants Ltd
http://www.global-gateway.net/

--------------------------------------------------------------------------

This correspondence is for the named person's use only. It may contain
confidential or legally privileged information or both. No confidentiality
or privilege is waived or lost by any mistransmission. If you receive this
correspondence in error, please immediately delete it from your system and
notify the sender. You must not disclose, copy or rely on any part of this
correspondence if you are not the intended recipient.

Any opinions expressed in this message are those of the individual sender.



More information about the asterisk-users mailing list