I got it working thank you
It is network_addr

Regards

Adi

Sent from my iPhone

On Feb 7, 2022, at 10:09 PM, Bote Man <botelist@gmail.com> wrote:



Test the “Caller-Network-Addr” channel variable, although I am not certain if you should use hyphen - or underscore _  as they have different meanings in FS.

 

You can test any FreeSWITCH channel variable as a condition in the dialplan, not only the destination_number.

 

To find the proper variable, create a dialplan record that executes the “info” dialplan app and then call that extension:

  <action application="info"/>

 

This will display all channel variables associated with that call on the fs_cli console.

 

Here is the link to the wiki article about the info app:

 

https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+info

 

 

Bote Man

Bote Communications

 

 

 

From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of Adiseshu Channasamudhram
Sent: Monday, 7 February, 2022 17:21
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] FreeSWITCH-users Digest, Vol 188, Issue 12

 

Hello Henning

 

how can i include a condition so that it applies these exports only if the From is from a particular IP?

 

Thanks a for your input by the way - helped a lot

 

Regards

 

Adi


From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> on behalf of freeswitch-users-request@lists.freeswitch.org <freeswitch-users-request@lists.freeswitch.org>
Sent: Monday, February 7, 2022 3:20 PM
To: freeswitch-users@lists.freeswitch.org <freeswitch-users@lists.freeswitch.org>
Subject: FreeSWITCH-users Digest, Vol 188, Issue 12

 

Send FreeSWITCH-users mailing list submissions to
        freeswitch-users@lists.freeswitch.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
or, via email, send a message with subject or body 'help' to
        freeswitch-users-request@lists.freeswitch.org

You can reach the person managing the list at
        freeswitch-users-owner@lists.freeswitch.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of FreeSWITCH-users digest..."