[Freeswitch-users] Is this an internal call?

Steven Ayre steveayre at gmail.com
Fri Feb 22 04:06:10 MSK 2013


I would guess its an example of a custom variable being set in directory or in dialplan under certain conditions , and checked for later in dialplan

Steve

On 22 Feb 2013, at 00:49, Michael Collins <msc at freeswitch.org> wrote:

> I grep'd the entire source tree and found no mention of this variable. 
> 
> One thing you can do is look to see if various transfer_xxx variables are set in phone-to-phone calls vs. transferred calls. I'd start with "transfer_source" var and go from there.
> 
> -MC
> 
> On Wed, Feb 20, 2013 at 3:56 PM, Steven Schoch <schoch+freeswitch.org at xwin32.com> wrote:
>> This must be a FAQ, but I can't find it.
>> 
>> In the default dialplan, how can I tell if the call was from an internal phone, or from an external call that was transferred?
>> 
>> One page said there was a variable ${internal_call}, but I can't find that anywhere in the source.  Should I just look to see if a directory variable, like account_code or user_context is set?
>> 
>> -- 
>> Steve
>> 
>> _________________________________________________________________________
>> 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
> 
> 
> 
> -- 
> Michael S Collins
> Twitter: @mercutioviz
> http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130222/17bef3a1/attachment.html 


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