[Freeswitch-users] origination_caller_id_number - internal user bridging

Adrian Andrei koralu at gmail.com
Tue May 15 17:56:11 MSD 2012


<include>
  <user id="1000">
    <params>
      <param name="password" value="$${default_password}"/>
      <param name="vm-password" value="1000"/>
    </params>
    <variables>
      <variable name="toll_allow" value="domestic,international,local"/>
      <variable name="accountcode" value="1000"/>
      <variable name="user_context" value="default"/>
      <variable name="effective_caller_id_name" value="Extension 1000"/>
      <variable name="effective_caller_id_number" value="1000"/>
      <variable name="outbound_caller_id_name"
value="$${outbound_caller_name}"/>
      <variable name="outbound_caller_id_number"
value="$${outbound_caller_id}"/>
      <variable name="callgroup" value="techsupport"/>
    </variables>
  </user>
</include>


On 5/15/12, Anton Kvashenkin <anton.jugatsu at gmail.com> wrote:
> Show your directory config for user 1000.
>
> 2012/5/15 Adrian Andrei <koralu at gmail.com>
>
>> I think my approch is wrong. Every modification to
>> effective_caller_id_number or origination_caller_id_number makes the
>> same result to cisco box.  It thinks that the caller number is 1001
>> not 7777.
>>
>> I'm run out of ideas.
>>
>> On 5/15/12, Andrew Cassidy <andrew at cassidywebservices.co.uk> wrote:
>> > try application="export" rather than application="set"
>> >
>> > On 15 May 2012 12:17, Adrian Andrei <koralu at gmail.com> wrote:
>> >
>> >> Doesn't work.
>> >>
>> >> On 5/15/12, Avi Marcus <avi at avimarcus.net> wrote:
>> >> > I always use effective_caller_id_number
>> >> >
>> >> > -Avi
>> >> > (This message was painstakingly thumbed out on my mobile, so
>> >> > apologies
>> >> for
>> >> > brevity and errors.)
>> >> >
>> >> > On May 15, 2012 1:10 PM, "Adrian Andrei" <koralu at gmail.com> wrote:
>> >> >
>> >> > Hello,
>> >> >
>> >> > I have one xlite(1000), a FS and Cisco box that is registred as a
>> >> > user(1001) to FS.
>> >> >
>> >> > When I dial ^5555$ from user/1000  I want to bridge the call to
>> >> > user/1001 and change the number to 7777. My dial plan looks:
>> >> >
>> >> >    <extension name="test">
>> >> >      <condition field="destination_number" expression="^5555$">
>> >> >      <action application="set"
>> >> > data="origination_caller_id_number=7777"/>
>> >> >      <action application="bridge" data="user/1001"/>
>> >> >      </condition>
>> >> >    </extension>
>> >> >
>> >> > After the call is made, the cisco sees that the origination number =
>> >> > 1000 instead of 7777 and I think is fair because the sip call is
>> >> > 1000 at ip_cisco:5060.
>> >> >
>> >> > But I want the cisco box to see 7777. Is any solution to make this
>> >> > setup?
>> >> >
>> >> > Ty
>> >> >
>> >> >
>> _________________________________________________________________________
>> >> > 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
>> >> >
>> >>
>> >>
>> _________________________________________________________________________
>> >> 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
>> >>
>> >
>> >
>> >
>> > --
>> > *Andrew Cassidy BSc (Hons) MBCS SSCA*
>> > Managing Director
>> >
>> >
>> > *T <info at cassidywebservices.co.uk> *03300 100 960
>> > *F<info at cassidywebservices.co.uk>
>> >  *03300 100 961
>> > *E <info at cassidywebservices.co.uk> *andrew at cassidywebservices.co.uk
>> > *W <info at cassidywebservices.co.uk> *www.cassidywebservices.co.uk
>> >
>>
>> _________________________________________________________________________
>> 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
>>
>



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list