[Asterisk-Users] iax codec problem

Yelson Vivas fenix at gecko-soft.com
Tue Jun 1 17:49:29 MST 2004


Hi everybody

i have a problem trying to connect an incomming phone call from pstn to my
(soft phone) iaxcomm, the  phone rings but when i try to answer the call,
asterisk sends a message like this.

Jun 1 19:33:17 NOTICE[5013528]: channel.c:1223 ast_read: Dropping
incompatible voice frame on IAX2[192.168.222.99:4569]/16 of format GSM since
our native format has changed to ALAW

i'm working with agentcallback and it works fine, i mean i can login and
logout, but when an incomming calls gets the phone i can't answer.

my iax.conf looks like

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

 [4054]

type=user

context=default

host=192.168.222.99

trunk=yes

auth=md5,plaintext,rsa

callerid="Extension 4054"

disallow=all

allow=gsm

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

my extensions.conf

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

exten => 4054,1,Dial(IAX2/4054 at 192.168.222.99:4569,30,tTr)

a more detailed message is

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

== D-Channel on span 1 up

-- outgoing agentcall, to agent '7010', on 'Local/4054 at default-e897,1'

-- Called 7010

-- Executing Dial("Local/4054 at default-e897,2", "IAX2/4054 at 192.168.222
99:4569|30|tTr") in new stack

-- Called 4054 at 192.168.222.99:4569

-- Agent/7010 is ringing

-- Call accepted by 192.168.222.99 (format ALAW)

-- Format for call is ALAW

-- IAX2[192.168.222.99:4569]/16 is ringing

-- IAX2[192.168.222.99:4569]/16 answered Local/4054 at default-e897,2

-- Local/4054 at default-e897,1 answered, waiting for '#' to acknowledge

Jun 1 19:33:16 NOTICE[5013528]: channel.c:1223 ast_read: Dropping
incompatible voice frame on IAX2[192.168.222.99:4569]/16 of format GSM since
our native format has changed to ALAW

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

If somebody has ideas i'll be thankfull 

Thanks in advance

Att 

Yelson V

  



More information about the asterisk-users mailing list