Setting Restrictions on Default Dialplan
Hi Sir, How can I allow international calling in the dialing plan but for select accounts only? For example i want to restrict 8555555 to call this ip address 182.138.252.12 using the default configuration.. Does this command should be put in the default.xml or in the default folder and the filename is 00_restict.xml? <extension name="dialsample"> <condition field="destination_number" expression="^(8555555)$"\> <action application="set" data="effective_caller_name=${effective_caller_id_name}"/> <action application="set" data="effective_caller_number=${effective_caller_id_number}"/> <action application="set" data="hang_up_after_bridge=true"/> <action application="bridge" data="sofia/default/$1@182.138.252.12"/> </condition> </extension> When i tried this command both of them nothing happen 8555555 can call 182.138.252.12 i want it to restrict this account for not calling 182.138.252.12.. Please help.. Thanks, Edmar -- View this message in context: http://old.nabble.com/Setting-Restrictions-on-Default-Dialplan-tp26869283p26... Sent from the Freeswitch-users mailing list archive at Nabble.com.
participants (1)
-
Edmar Cruz