Hi, it is my first post, so I will try do my best.
I have a Trunk conncetion (using g729) which I filled down as destination a Queue.
Calling the Queue from internal extensions, it rings the agents phone from the queue. However, calling my DID (Inbound from my trunk) from outside, it do not ring the agents phone. Interesting fact, is that if I change the Inbound Destination from Queue to any extension it rings fine.
First, looking the log I thought it was a codec problem because this msgs:
channel.c: Unable to find a codec translation path from (g729) to (slin)
indications.c: Unable to set ‘Local/1012@from-queue-00000022;2’ to signed linear format (write)
app_playtones.c: Unable to start playtones
But digging deeper on internet, I started to think it was not a codec case, and a context one.
To go over the problem, I created a new extention, which I never will use, and I sending when not reachable to the queue. Calling my DID, using this extension as the Inbound destination, it rings the Queue agents.
I solved the problem, however I don´t think it was a elegant solution, mainly because I didn´t understand what happens. My gut feelings says to me that it is some context issue. Could someone explain this issue better?
It is a codec problem in that you do not have any valid licences for g729, the direct extension calls work by “passing through” the codec to a licensed phone.
Sorry by the delay, I’ve been busy.
I don´t think was codec again. I smell something context related, mainly Freepbx queue context with from-trunk. Something I am missing. Is there any idea?
It is not a simple problem.
core show translation:
Translation times between formats (in microseconds) for one second of data
Source Format (Rows) Destination Format (Columns)
if it is hard to see translation time between my g729 and Slin is 9000 ms. So the coded is there, working fine, installed, and in the transalation table, even though I am receiving the following log lines:
[2014-03-13 18:01:41] WARNING[31598][C-0000001f] channel.c: Unable to find a codec translation path from (g729) to (slin)
[2014-03-13 18:01:41] ERROR[31598][C-0000001f] channel.c: Could not set write format to SLINEAR
This lines were shown when I call the trunk using g729 codec, and try to press a number (for instance, press *2 to transfer) from the internal extension.
Please, I am fighting against this erros for weeks. Has someone any ideas?