Block annoying numbers on freeswitch -
i use freeswitch , block annoying numbers. far tried modify inbound_call.xml
<extension name="annoying1"> <condition field="destination_number" expression="^5022xxxx$"> <action application="log" data="notice jest rozmowa przych (testowo muzyczka).: ${destination_number}"/> <action application="answer"/> <action application="playback" data="/home/mwalko/przywitanie.wav"/> <action application="hangup"/> </condition> </extension>
it doesn't work, should change "destination_number"? how can recognize if example 5022xxxx calls?
seems "destination_number" points number called, not calling one.
destination_number
contains digits entered caller, try out caller_id_number
. keep in mind, can faked.
Comments
Post a Comment