[Freeswitch-users] What am I missing for IVR Display Name?
mehmet ozisik
mehmetzsk at gmail.com
Fri Feb 14 11:18:24 MSK 2014
Hello,
For days I am trying to change IVR's display name when user called IVR on
freeswitch on 200 OK response.
I am always seeing "Outbound Call" because it is setted as default. I have
tried many combiantions , searched the wiki , but nothing was effective. I
would like to try to write down all combinations which I have tried, could
you please look at and tell me what I am missing?
PS : I have activated ignore_display_update variable not to get sip UPDATE.
I have edited dialpan for IVR
<extension name="IVR">
<condition field="destination_number" expression="^IVR$">
<action application="socket" data="192.168.170.102:8084 async full"/>
<action application="export" data="effective_caller_id_name=Mehmet1"/>
<action application="export"
data="origination_callee_id_name=Mehmet2"/>
<action application="export"
data="origination_callee_id_number=Mehmet3"/>
<action application="export" data="caller_id_name=Mehmet4"/>
<action application="export" data="caller_id_number=Mehmet5"/>
<action application="export" data="effective_caller_id_number=Mehmet6"/>
<action application="export" data="effective_callee_id_name=Mehmet7"/>
</condition>
</extension>
<extension name="IVR">
<condition field="destination_number" expression="^IVR$">
<action application="socket" data="192.168.170.102:8084 async full"/>
<action application="bridge" data="effective_caller_id_name=Mehmet1"/>
<action application="bridge"
data="origination_callee_id_name=Mehmet2"/>
<action application="bridge"
data="origination_callee_id_number=Mehmet3"/>
<action application="bridge" data="caller_id_name=Mehmet4"/>
<action application="bridge" data="caller_id_number=Mehmet5"/>
<action application="bridge" data="effective_caller_id_number=Mehmet6"/>
<action application="bridge" data="effective_callee_id_name=Mehmet7"/>
</condition>
</extension>
<extension name="IVR">
<condition field="destination_number" expression="^IVR$">
<action application="socket" data="192.168.170.102:8084 async full"/>
<action application="set" data="effective_caller_id_name=Mehmet1"/>
<action application="set" data="origination_callee_id_name=Mehmet2"/>
<action application="set" data="origination_callee_id_number=Mehmet3"/>
<action application="set" data="caller_id_name=Mehmet4"/>
<action application="set" data="caller_id_number=Mehmet5"/>
<action application="set" data="effective_caller_id_number=Mehmet6"/>
<action application="set" data="effective_callee_id_name=Mehmet7"/>
</condition>
</extension>
<extension name="IVR">
<condition field="destination_number" expression="^IVR$">
<action application="socket" data="192.168.170.102:8084 async full"/>
<action application="bridge"
data="{effective_caller_id_name='Mehmet1'}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
<action application="bridge"
data="{origination_callee_id_name='Mehmet2'}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
<action application="bridge"
data="{origination_callee_id_number='Mehmet3'}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
<action application="bridge"
data="{caller_id_name='Mehmet4'}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
<action application="bridge"
data="{caller_id_number='Mehmet5}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
<action application="bridge"
data="{effective_caller_id_number='Mehmet6'}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
<action application="bridge"
data="{effective_callee_id_name='Mehmet7'}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
</condition>
</extension>
<extension name="IVR">
<condition field="destination_number" expression="^IVR$">
<action application="socket" data="192.168.170.102:8084 async full"/>
<action application="export"
data="{effective_caller_id_name='Mehmet1'}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
<action application="export"
data="{origination_callee_id_name='Mehmet2'}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
<action application="export"
data="{origination_callee_id_number='Mehmet3'}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
<action application="export"
data="{caller_id_name='Mehmet4'}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
<action application="export"
data="{caller_id_number='Mehmet5}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
<action application="export"
data="{effective_caller_id_number='Mehmet6'}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
<action application="export"
data="{effective_callee_id_name='Mehmet7'}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
</condition>
</extension>
<extension name="IVR">
<condition field="destination_number" expression="^IVR$">
<action application="socket" data="192.168.170.102:8084 async full"/>
<action application="set"
data="{effective_caller_id_name='Mehmet1'}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
<action application="set"
data="{origination_callee_id_name='Mehmet2'}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
<action application="set"
data="{origination_callee_id_number='Mehmet3'}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
<action application="set"
data="{caller_id_name='Mehmet4'}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
<action application="set"
data="{caller_id_number='Mehmet5}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
<action application="set"
data="{effective_caller_id_number='Mehmet6'}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
<action application="set"
data="{effective_callee_id_name='Mehmet7'}sofia/<mydomain>/
sip:IVR at 192.168.170.102:15060"/>
</condition>
</extension>
regards
Mehmet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140214/22c7f58a/attachment-0001.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list