[Freeswitch-users] R: update callee_id_name on pickup (using intercept)
Piccinin Francesco
francesco.piccinin at insiel.it
Thu Feb 9 15:38:49 MSK 2017
I can see variables of the wrong channels (inbound leg of extension A performing pickup with *8 dialing)
The variables I need are on the inbound leg of ext B => ext C channel's call.
Is there any way to access these values?
Do I need to store them on realtime db?
Thanks
Regards
Francesco
Da: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Per conto di KSrigo
Inviato: giovedì 9 febbraio 2017 11:10
A: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Oggetto: Re: [Freeswitch-users] update callee_id_name on pickup (using intercept)
In your dialplan intercept dialplan add this:
<action application=“info"/>
and check which variable contains information about C then do
<action application=“export” data=“effective_caller_id=${name_of_variable_find_above}”/>
<action application=“export” data=“effective_caller_name=${name_of_variable_find_above}”/>
Srigo
On Feb 8, 2017, at 10:46 AM, Piccinin Francesco <mailto:francesco.piccinin at insiel.it> wrote:
Hello,
no way to have it working.
It seems that intercept inherit picked up channels variables (caller and called displayed name /number).
I tried to set, export and set_profile_var for these variables:
callee_id_name
callee_id_number
effective_caller_id_name
effective_caller_id_number
but no success.
Any ideas?
Thanks
Francesco
Da: mailto:freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Per conto di Michael Jerris
Inviato: martedì 7 febbraio 2017 17:01
A: FreeSWITCH Users Help <mailto:freeswitch-users at lists.freeswitch.org>
Oggetto: Re: [Freeswitch-users] update callee_id_name on pickup (using intercept)
use set_profile_var to set them on the leg before you intercept, does that work?
On Feb 6, 2017, at 10:29 AM, Piccinin Francesco <mailto:francesco.piccinin at insiel.it> wrote:
Hi all,
I’m experiencing the following issue on pickup groups.
We would like to update callee_id_name on pickup groups (using intercept).
Please consider the following example:
Extensions A and B are in the same pickup groups.
Extension C is calling extension B. Extension A perform a pickup using the code *8 (please find below the instersting part of our dialplan.xml).
On extension A display we see extension B callee_id_name and callee_id_number.
We expect to see extension C number and name.
Which channel variable to we need to update?
Find below an export of our dialplan.xml
Thanks.
regards
<!-- Group Last Call Pickup -->
<condition field="destination_number" expression="^\*8$" break="on-true">
<action application="answer"/>
<action application="set" data="intercept_unbridged_only=true"/>
<action application="intercept" data="${db(select/$${hostname}_last_dial_${domain_name}/${pickup_group})}"/>
<action application="lua" data="functions/clean_limit_pickup.lua ${pickup_group} ${domain_name}" inline="true"/>
<action application="sleep" data="2000"/>
</condition>
AVVISO DI RISERVATEZZA Informazioni riservate possono essere contenute nel messaggio o nei suoi allegati. Se non siete i destinatari indicati nel messaggio, o responsabili per la sua consegna alla persona, o se avete ricevuto il messaggio per errore, siete pregati di non trascriverlo, copiarlo o inviarlo ad alcuno. In tal caso vi invitiamo a cancellare il messaggio ed i suoi allegati. Grazie.
CONFIDENTIALITY NOTICE Confidential information may be contained in this message or in its attachments. If you are not the addressee indicated in this message, or responsible for message delivering to that person, or if you have received this message in error, you may not transcribe, copy or deliver this message to anyone. In that case, you should delete this message and its attachments. Thank you.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
mailto:consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
mailto:FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
AVVISO DI RISERVATEZZA Informazioni riservate possono essere contenute nel messaggio o nei suoi allegati. Se non siete i destinatari indicati nel messaggio, o responsabili per la sua consegna alla persona, o se avete ricevuto il messaggio per errore, siete pregati di non trascriverlo, copiarlo o inviarlo ad alcuno. In tal caso vi invitiamo a cancellare il messaggio ed i suoi allegati. Grazie.
CONFIDENTIALITY NOTICE Confidential information may be contained in this message or in its attachments. If you are not the addressee indicated in this message, or responsible for message delivering to that person, or if you have received this message in error, you may not transcribe, copy or deliver this message to anyone. In that case, you should delete this message and its attachments. Thank you.
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list