[OpenSIPS-Users] Doubt about call center module
Bogdan-Andrei Iancu
bogdan at opensips.org
Thu Aug 30 12:04:20 EDT 2018
Hi Daniel,
Are you sure you configured a proper SIP URI as "message_queue" in the
flow description ? My impression is you have an empty string there - and
OpenSIPS is trying to put the call on the queue (as there is no agent),
but the SIP URI is not valid.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
OpenSIPS Bootcamp 2018
http://opensips.org/training/OpenSIPS_Bootcamp_2018/
On 08/29/2018 10:26 PM, Daniel Zanutti wrote:
> Got some more info.
>
> *This is the first call that worked fine:*
> ......
>
> *This is the second call that had the problem:*
> .....
> Aug 29 16:04:38 plat5 /sbin/opensips[24890]:
> DBG:call_center:cc_call_state_machine: selecting QUEUE
> Aug 29 16:04:38 plat5 /sbin/opensips[24890]:
> DBG:call_center:cc_queue_push_call: QUEUE - adding call 0x7fd8510524a8
> Aug 29 16:04:38 plat5 /sbin/opensips[24890]:
> DBG:call_center:cc_queue_push_call: adding call on pos 0 (already 1
> calls), l=(nil) h=(nil)
> Aug 29 16:04:38 plat5 /sbin/opensips[24890]:
> DBG:call_center:w_handle_call: new destination for
> call(0x7fd8510524a8) is (state=2)
> .....
>
>
> On Mon, Aug 27, 2018 at 6:15 PM Daniel Zanutti
> <daniel.zanutti at gmail.com <mailto:daniel.zanutti at gmail.com>> wrote:
>
> Trying to configure the call center modules, but found a problem
> when there is no agents available.
>
> If there is 1 agent available, call is sent to him with no problem:
>
> Aug 27 18:11:00 plat5 /sbin/opensips[23575]: Recebida asterisk -
> Tentando entrar na fila fila-1
> Aug 27 18:11:00 plat5 /sbin/opensips[23575]: Entrou na fila com
> sucesso (fila-1)!
> Aug 27 18:11:01 plat5 /sbin/opensips[23569]: incoming reply
>
> But when there is no agent available, opensips refuses:
> Aug 27 18:11:07 plat5 /sbin/opensips[23569]: Recebida asterisk -
> Tentando entrar na fila fila-1
> Aug 27 18:11:07 plat5 /sbin/opensips[23569]:
> ERROR:b2b_logic:b2b_process_scenario_init: Failed to get the value
> for the b2b client ruri
> Aug 27 18:11:07 plat5 /sbin/opensips[23569]:
> ERROR:call_center:set_call_leg: failed to init new b2bua call
> (empty ID received)
> Aug 27 18:11:07 plat5 /sbin/opensips[23569]:
> ERROR:call_center:w_handle_call: failed to set new destination for
> call
> Aug 27 18:11:07 plat5 /sbin/opensips[23569]: errnum: -1
>
> Error -1 means flowID is invalid, but I sent the same value on
> both calls.
>
> This is the call:
>
> cc_handle_call("$rU")
>
> I'm using Opensips 2.4.2 with Debian 8.11.
>
> Am I missing something or found a bug?
>
> Thanks
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180830/916fd717/attachment.html>
More information about the Users
mailing list