[asterisk-users] Conditional IF based on IP address?

Steve Hsieh pupfuzz at gmail.com
Wed Sep 6 10:46:31 MST 2006


Greetings,

Is it possible to create a conditional IF inside extensions.conf based on
the source IP address of a SIP phone (as opposed to extension)?  What I
would like to do is the following:


1. If SIP phone IP belongs to 192.168.0.0/24 subnet, set CALLERID=xxxx
2. Else, set CALLERID=yyyy

Thanks in advance for any examples or help.

Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060906/6b606fae/attachment.htm


More information about the asterisk-users mailing list