Freeswitch拨号计划条件

Freeswitch可用内部变量条件

  • context Why can we use the context as a field? Give us examples of usages please.
  • rdnis      Redirected Number, the directory number to which the call was last presented.
  • destination_number     Called Number, the number this call is trying to reach (within a given context)
  • dialplan     Name of the dialplan module that are used, the name is provided by each dialplan module. Example: XML
  • caller_id_name     Name of the caller (provided by the User Agent that has called us).
  • caller_id_number     Directory Number of the party who called (caller) -- can be masked (hidden)
  • ani     Automatic Number Identification, the number of the calling party (caller) -- cannot be masked
  • aniii     The type of device placing the callANI2
  • uuid     Unique identifier of the current call? (looks like a GUID)
  • source     Name of the FreeSWITCH module that received the call (e.g. PortAudio)
  • chan_name     Name of the current channel (Example: PortAudio/1234). Give us examples when this one can be used.
  • network_addr     IP address of the signaling source for a VoIP call.
  • year     Calendar year, 0-9999
  • yday     Day of year, 1-366
  • mon     Month, 1-12 (Jan = 1, etc.)
  • mday     Day of month, 1-31
  • week     Week of year, 1-53
  • mweek     Week of month, 1-6
  • wday     Day of week, 1-7 (Sun = 1, Mon = 2, etc.)
  • hour     Hour, 0-23
  • minute     Minute (of the hour), 0-59
  • minute-of-day    Minute of the day, (1-1440) (midnight = 1, 1am = 60, noon = 720, etc.)


    内部变量可以直接在拨号计划中使用


    除了内部变量外,其他自定义变量使用方式如下:${变量名}

    如variable_default_gateway  使用时:<condition field="${default_gateway}" expression="^vos111$">

    

    
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值