[Freeswitch-users] origination_caller_id_number - internal user bridging

Avi Marcus avi at avimarcus.net
Tue May 15 19:39:07 MSD 2012


A set that is purely used as a bridge variable never needs to be inline,
because bridges are never inline.

-Avi


On Tue, May 15, 2012 at 6:34 PM, Brian Foster <bdfoster at endigotech.com>wrote:

> couple of things,
>
> 1. effective_caller_id_* is already automatically exported to the next leg.
> 2. you need to be executing the change to the cid inline:
> <action application="set" data="effective_caller_id_number=7777"
> inline="true"/>
> 3. if that doesnt work please submit a debug level log and a siptrace
> http://pastebin.freeswitch.org
>
> -BDF
>
>
> On Tue, May 15, 2012 at 9:56 AM, Adrian Andrei <koralu at gmail.com> wrote:
>
>> <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
>> >>
>> >
>>
>> _________________________________________________________________________
>> 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
>>
>
>
>
> --
> Brian D. Foster
> Endigo Computer LLC
> Email: bdfoster at endigotech.com
> Phone: 317-800-7876
> Indianapolis, Indiana, USA
>
> This message contains confidential information and is intended for those
> listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If
> you are not the intended recipient you are notified that disclosing,
> copying, distributing or taking any action in reliance on the contents of
> this information is strictly prohibited. E-mail transmission cannot be
> guaranteed to be secure or error-free as information could be intercepted,
> corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
> The sender therefore does not accept liability for any errors or omissions
> in the contents of this message, which arise as a result of e-mail
> transmission. If verification is required please request a hard-copy
> version.
>
>
> _________________________________________________________________________
> 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/20120515/778ec9ac/attachment.html 


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