[Freeswitch-users] Caller ID Name = Outbound Call

Roger Castaldo roger.castaldo at gmail.com
Wed Dec 4 19:49:49 MSK 2013


Adjusted my code to be

originate {userid=1234,execute_on_
answer='transfer call_user_into_conference_123456 XML
public',ignore_early_media=true,origination_callee_id_name='1234',originate_timeout=120,origination_callee_id_number='1234'
}user/1000 &park()

dial plan:
<extension name="call_user_into_
conference">
      <condition field="destination_number"
expression="^call_user_into_conference_(\\d+)$">
<action application="set" data="effective_callee_id_name=${userid}"/>
        <action application="export"
data="effective_callee_id_name=${userid}"/>
        <action application="playback" data="conference/8000/welcome.wav"/>
        <action application="conference" data="$1 at wideband"/>
      </condition>
    </extension>

this finally succeeded, adding in reply to make sure it gets searchable in
the list.  From the wiki a suggestion was made to use export if set didn't
work, and found that both setting and exporting the variable had it change
and keep the change.  Thank you Anthony, awesome stuff as usual.


On Tue, Dec 3, 2013 at 4:27 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:

> origination_callee_id_name= and origination_callee_id_number
>
> when you make an outbound call then transfer it inward the cid flips so
> you have to set the callee_id in anticipation of the flip.  When nothing is
> provided the default is "outbound call"
>
>
>
> On Tue, Dec 3, 2013 at 11:58 AM, Roger Castaldo <roger.castaldo at gmail.com>wrote:
>
>> Hi everyone, I am having a difficult time with an idea that I thought
>> made sense in my head but apparently isn't working how I think it should
>> and need to know what I am doing wrong.
>>
>> I originate a call using the event socket
>> originate {userid=1234,execute_on_answer='transfer
>> call_user_into_conference_123456 XML
>> public',ignore_early_media=true,origination_caller_id_name='1234',originate_timeout=120,origination_caller_id_number='1234'
>> }user/1000 &park()
>>
>> This should and does execute the extension
>> <extension name="call_user_into_conference">
>>       <condition field="destination_number"
>> expression="^call_user_into_conference_(\\d+)$">
>>         <action application="playback"
>> data="conference/8000/welcome.wav"/>
>>         <action application="conference" data="$1 at wideband"/>
>>       </condition>
>>     </extension>
>>
>> when I answer the phone, testing the call, it plays the file then moves
>> me into the conference which is perfect.  The problem is I have code
>> monitoring Caller-Caller-ID-Name and that gets moved to Outbound Caller
>> some time between me answering the call and conferencing it, I have tried
>> setting effective_caller_id_name and such but it still changes my caller id
>> name to "Outbound Call".  Any advice on how to fix this would be awesome.
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131204/c81a92d8/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list