Hi all,
I need your help again...
I've got a problem with codec.
I have created a trunk with an IAX account like this :
<number>:<Password>@IP_Address
Here is the debug :
Code:
a2billing.php:
-- AGI Script Executing Application: (Dial) Options: (IAX2/<username>:<password>@<Ip_address>/<number_in_france>|30|HL(5400000:61000:30000)0)
-- Limit Data for this call:
-- - timelimit = 5400000
-- - play_warning = 61000
-- - play_to_caller= yes
-- - play_to_callee= no
-- - warning_freq = 30000
-- - start_sound = UNDEF
-- - warning_sound = timeleft
-- - end_sound = UNDEF
-- Called <username>:<password>@<Ip_address>/<number_in_france>
Nov 26 22:16:06 WARNING[7207]: chan_iax2.c:7170 socket_read: Call rejected by <IP_Address>: Unable to negotiate codec
-- Hungup 'IAX2/IP_Address:4569-2'
== Everyone is busy/congested at this time (1:0/0/1)
== Spawn extension (a2billing, 258, 3) exited non-zero on 'IAX2/5531051343-1'
-- Hungup 'IAX2/5531051343-1'
The codec used here is ulaw, I know the IAX account am using is also on ulaw because I tried before from another asterisk box and it worked.
Can someone help me ???
Where could I specify a specific codec for the trunk ?
I'll try to get the debug on the other side.
Thanks