SIP / AGENT, is still ‘Not in Use’ when it probably should not be!

WARNING[18373]: app_queue.c:2705 try_calling: The device state of this queue member, SIP/612, is still ‘Not in Use’ when it probably should not be!
Please check UPGRADE.txt for correct configuration settings.
Какое-то время наблюдал вот такое сообщение в логах и не мог понять почему не меняется статус для очередей когда смотришь queue show queuename.

Решить проблему все время как-то руки не доходили, да и locate UPGRADE.txt на gentoo сервере ничего не показывал. Вчера решил побороть проблему, оказалось все просто, если прочитать UPGRADE.txt (взял из исходников с сайта asterisk)

* Queues depend on the channel driver reporting the proper state
  for each member of the queue. To get proper signalling on
  queue members that use the SIP channel driver, you need to
  enable a call limit (could be set to a high value so it
  is not put into action) and also make sure that both inbound
  and outbound calls are accounted for.

  Example:
       [general]
       limitonpeer = yes
       [peername]
       type=friend
       call-limit=10

Т.е. это как раз то, что и нужно было сделать, после этого статусы выставляются корректно.


Tags:

Четверг, Октябрь 22nd, 2009 Советы
Tinkerbell Personal Checks |Garden Planters | Jewellery For Women | Best Dog Foods | Budget Wedding Gowns | Shop For Jewellery | Vintage Jewellery| Diamante Jewellery | Car Finance Credit | DoorStep Loans