Johansson Olle E
oej at edvina.net
Wed Jan 16 10:09:35 CST 2008
16 jan 2008 kl. 15.56 skrev Atis Lezdins:
> On 1/16/08, Leif Madsen <leif.madsen at asteriskdocs.org> wrote:
>>> I agree for real devices. However i wonder - why i can't change
>>> for Local channels.
>> Funny enough, I had this same issue today within Queue(). I'm using
>> queue_member in extconfig.conf (realtime members) which delivers
>> to a Local channel which then finds the physical location in the
>> and delivers the call there. The problem I was having was that when
>> Local channel would be ringing a device, the device status was set to
>> (Unknown), which would cause that same device to be called multiple
>> times when there were multiple people waiting in the Queue().
>> Once the call was answered the status changed to In Use, and then
>> everything worked as expected. I had a patch made that caused
>> Queue() to
>> not deliver calls to members with a status of Unknown -or- In Use,
>> that solved my problem for now, but not entirely sure what issues
>> run into in the future because of it :)
> This probably starts getting -user'ish..
> I'm working on this for last month already - how do you get Local
> channel to get state INUSE? All i got - that it's in state RINGING
> when it executes Dial(). Otherwise - NOT_INUSE.
I would guess that the local channel is gone at answer time
because of the way this proxy channel works. That's why it
never reports INUSE for you.
I think there's a switch you can add to the local/ dialstring
to force the local channel to stay in the call - "/n"
or something similar.
More information about the asterisk-dev