bigbluebutton-Github/bbb-voice-conference/config/freeswitch/conf.orig/extensions.conf
Leif Jackson 1d0761b97a Example minimal freeswitch config handling auto created conf numbers
^8{4}$ e.g. 85115 which seems to be the default.
 Thus 80000 thru 89999.
2010-07-15 04:17:00 +00:00

22 lines
684 B
Plaintext

[default]
; Things you're used to....
exten => music,n,Dial(SIP/1234@conference.freeswitch.org|120)
exten => _1XXXXX,n,set(cool=${EXTEN})
exten => _1XXXXX,n,set(myvar=true)
exten => _1XXXXX,n,Goto(default|music)
exten => 2137991400/1000,n,Goto(default|music)
; Some new magic you can do....
exten => ~^(18(0{2}|8{2}|7{2}|6{2})\d{7})$,n,enum($1)
exten => ~^(18(0{2}|8{2}|7{2}|6{2})\d{7})$,n,bridge(${enum_auto_route})
; instead of exten, put anything about the call you would rather match on.
; either the names of a field in caller_profile or a string of variables to expand.
caller_id_number => 2137991400,n,Goto(default|music)
${sip_from_user} => bill,n,Goto(default|music)