|
it's probably way better to use origination_caller_id_name in the bridge line
On Wednesday, July 22, 2015, Denis Jakovlev <yadenis@seznam.cz> wrote:
Dobrý den,
<action application="set" data="effective_caller_id_name=Bob Smith"/>
--
S pozdravem,
Ing.Denis Jakovlev
mob.tel. 775-415-382
středa 22. července 2015, 17:03:44, napsal jste:
|
Hi all,
I have a simple dialplan with IVR. If the client will set the correct PIN, it will be forwarded to the right person.
The question in the following. Can I instead of the caller ID display for a selected name me? Caller's phone number can be different. It is even possible?
Bridge do like this.
<!-- Pripojeni na operatora VIP-->
<extension name="from-pe3ny-connect">
<condition field="destination_number" expression="^CONNECTVIP$" break="on-true"">
<action application="export" data="nolocal:absolute_codec_string=PCMA@20i,PCMU@20i"/>
<action application="set" data="zrtp_secure_media=true"/>
<!--<action application="set" data="inherit_codec=true""/>-->
<action application="set" data="bypass_media=true"/>
<action application="set" data="ringback=${us-ring}"/>
<!--<action application="set" data="transfer_ringback=$${hold_music}"/>-->
<action application="set" data="call_timeout=15"/>
<!-- na recepci -->
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=true"/>
<action application="bridge" data="user/1008@sip1.applicloud.com,user/1007@sip1.applicloud.com"/>
<!-- Na gsm -->
<action application="answer"/>
<action application="sleep" data="1000"/>
<action application="bridge" data="sofia/gateway/pe3ny/732557771"/>-->
<action application="hangup"/>
</condition>
</extension>
--
S pozdravem,
Ing.Denis Jakovlev
mob.tel. 775-415-382 |
|