***OUTBOUND ROUTES***
>>freetdm.10d
Tag Type Data Break Inline Group Order
condition destination_number ^\+?1?(\d{10})$ 0 5
action set sip_h_X-accountcode=${accountcode} 0 10
action set call_direction=outbound 0 20
action set hangup_after_bridge=true 0 25
action set effective_caller_id_name=${outbound_caller_id_name} 0 30
action set effective_caller_id_number=${outbound_caller_id_number} 0 35
action set inherit_codec=true 0 40
action record_session /media/recording_vhdx/recordings/pbx.domain.com/outbound/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.wav 0 41
action set ignore_display_updates=true 0 42
action set callee_id_number=$1 0 43
action set continue_on_fail=true 0 45
action bridge freetdm/1/a/1$1 0 70
>>freetdm.911
Tag Type Data Break Inline Group Order
condition destination_number ^(911)$ 0 5
action set sip_h_X-accountcode=${accountcode} 0 10
action set call_direction=outbound 0 20
action set hangup_after_bridge=true 0 25
action set effective_caller_id_name=${emergency_caller_id_name} 0 30
action set effective_caller_id_number=${emergency_caller_id_number} 0 35
action set inherit_codec=true 0 40
action record_session /media/recording_vhdx/recordings/pbx.domain.com/outbound/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.wav 0 41
action set ignore_display_updates=true 0 42
action set callee_id_number=$1 0 43
action set continue_on_fail=true 0 45
action bridge freetdm/1/a/$1 0 70
***INBOUND ROUTES***
>>Normal_Open_Hours
Tag Type Data Break Inline Group Order
condition context public 0 0
condition destination_number ^.*$ 0 5
action log SYSADMIN: Now in Normal_Open_Hours dialplan. Prepping to send to 5001 XML. 0 6
action transfer 5001 XML pbx.domain.com 0 10
>>After_Hours
Tag Type Data Break Inline Group Order
condition context public 0 0
action answer answer 0 5
action transfer 5003 XML 0 10
>>catch_all_numbers
Tag Type Data Break Inline Group Order
condition public 0 0
condition destination_number ^.*$ 0 5
action transfer 5501 0 10
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}