[Asterisk-Users] Codec "Uknown" with IAX connection
Keith O'Brien
keitheobrien at yahoo.com
Tue Dec 14 22:24:29 MST 2004
I am having some problems getting TelIax service to work with *. Outbound
calls work just fine. When I try an inbound call the phone rings and there
is no audio. Upon further investigation "iax2 show channels" indicates
that the codec is "unknown" The provider confirmed that they are set for
ulaw and so am I. Does anyone have an idea what could be causing the codecs
to show up as "unknown"? Why would this be only failing when I receive a
call from them?
Thanks in advance.
I have this in my iax.conf:
register => myusername:mypassword at voip.teliax.com
[teliax]
context=in-out
type=friend
host=voip.teliax.com
auth=md5
secret=mypassword
disallow=all
allow=ulaw
qualify=5000
linux-home*CLI> iax2 show channels
Channel Peer Username ID (Lo/Rem) Seq (Tx/Rx)
Lag Jitter JitBuf Format
IAX2/teliax at teliax/7 66.234.228.170 teliax 00007/00309 00001/00000
00000ms 0000ms 0000ms unknow
linux-home*CLI> iax2 debug
IAX2 Debugging Enabled
linux-home*CLI>
Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00017ms SCall: 00005 DCall: 00000 [63.218.7.228:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00006ms SCall: 00025 DCall: 00000 [204.188.109.139:4569]
VERSION : 2
CALLED NUMBER : 7324532604
CALLING NUMBER : 6463566278
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
LANGUAGE : en
USERNAME : teliax
FORMAT : 4
CAPABILITY : 63748
ADSICPE : 2
DATE TIME : 160346467
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass:
AUTHREQ
Timestamp: 00002ms SCall: 00003 DCall: 00025 [204.188.109.139:4569]
AUTHMETHODS : 2
CHALLENGE : [REMOVED}
USERNAME : teliax
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass:
AUTHREP
Timestamp: 00073ms SCall: 00025 DCall: 00003 [204.188.109.139:4569]
MD5 RESULT : [REMOVED}
-- Accepting AUTHENTICATED call from 204.188.109.139, requested format =
4, actual format = 4
-- Executing Dial("IAX2/teliax at teliax/3", "SIP/5001") in new stack
-- Called 5001
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass:
ACCEPT
Timestamp: 00067ms SCall: 00003 DCall: 00025 [204.188.109.139:4569]
FORMAT : 4
-- SIP/5001-3f33 is ringing
Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 002 Type: CONTROL Subclass:
RINGING
Timestamp: 00070ms SCall: 00003 DCall: 00025 [204.188.109.139:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00067ms SCall: 00025 DCall: 00003 [204.188.109.139:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 003 Type: IAX Subclass: ACK
Timestamp: 00070ms SCall: 00025 DCall: 00003 [204.188.109.139:4569]
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00015ms SCall: 00006 DCall: 00000 [204.188.109.139:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG
Timestamp: 00015ms SCall: 00020 DCall: 00006 [204.188.109.139:4569]
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00015ms SCall: 00006 DCall: 00020 [204.188.109.139:4569]
-- SIP/5001-3f33 answered IAX2/teliax at teliax/3
Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 002 Type: CONTROL Subclass:
(255?)
Timestamp: 01703ms SCall: 00003 DCall: 00025 [204.188.109.139:4569]
Tx-Frame Retry[000] -- OSeqno: 004 ISeqno: 002 Type: CONTROL Subclass:
ANSWER
Timestamp: 01706ms SCall: 00003 DCall: 00025 [204.188.109.139:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 01703ms SCall: 00025 DCall: 00003 [204.188.109.139:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 01706ms SCall: 00025 DCall: 00003 [204.188.109.139:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 005 Type: IAX Subclass: TXREQ
Timestamp: 01823ms SCall: 00025 DCall: 00003 [204.188.109.139:4569]
APPARENT ADDRES : IPV4 66.234.228.170:4569
CALL NUMBER : 318
TRANSFER ID : 2141979743
Tx-Frame Retry[-01] -- OSeqno: 005 ISeqno: 003 Type: IAX Subclass: ACK
Timestamp: 01823ms SCall: 00003 DCall: 00025 [204.188.109.139:4569]
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: TXCNT
Timestamp: 01817ms SCall: 00003 DCall: 00318 [66.234.228.170:4569]
TRANSFER ID : 2141979743
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: TXCNT
Timestamp: 02036ms SCall: 00318 DCall: 00003 [66.234.228.170:4569]
TRANSFER ID : 2141979743
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: TXACC
Timestamp: 01822ms SCall: 00003 DCall: 00318 [66.234.228.170:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: TXACC
Timestamp: 02056ms SCall: 00318 DCall: 00003 [66.234.228.170:4569]
Tx-Frame Retry[000] -- OSeqno: 005 ISeqno: 003 Type: IAX Subclass:
TXREADY
Timestamp: 01845ms SCall: 00003 DCall: 00025 [204.188.109.139:4569]
CALL NUMBER : 3
Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 006 Type: IAX Subclass: TXREL
Timestamp: 01915ms SCall: 00025 DCall: 00003 [204.188.109.139:4569]
CALL NUMBER : 318
Tx-Frame Retry[-01] -- OSeqno: 006 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 01915ms SCall: 00003 DCall: 00025 [204.188.109.139:4569]
Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 006 Type: VOICE Subclass: 4
Timestamp: 06115ms SCall: 00025 DCall: 00003 [204.188.109.139:4569]
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: VOICE Subclass: 4
Timestamp: 00010ms SCall: 00003 DCall: 00318 [66.234.228.170:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00010ms SCall: 00318 DCall: 00003 [66.234.228.170:4569]
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00015ms SCall: 00008 DCall: 00000 [63.218.7.228:4569]
Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00015ms SCall: 00008 DCall: 00000 [63.218.7.228:4569]
-- Hungup 'IAX2/teliax at teliax/3'
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 000 Type: IAX Subclass:
HANGUP
Timestamp: 08017ms SCall: 00003 DCall: 00318 [66.234.228.170:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL
Timestamp: 00000ms SCall: 00318 DCall: 00003 [66.234.228.170:4569]
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00014ms SCall: 00009 DCall: 00000 [63.218.7.228:4569]
linux-home*CLI> iax2 no debug
IAX2 Debugging Disabled
linux-home*CLI>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041214/61db14e2/attachment.htm
More information about the asterisk-users
mailing list