「利用者:ふじかわ/test」の版間の差分

提供: VoIP-Info.jp
移動先: 案内検索
2行目: 2行目:
 
  extensions.conf
 
  extensions.conf
 
  same = n,Set(CALLERID(all)=${IF($[${CALLERID(num):0:1}=0]?81${CALLERID(num):1}:${CALLERID(num)})})
 
  same = n,Set(CALLERID(all)=${IF($[${CALLERID(num):0:1}=0]?81${CALLERID(num):1}:${CALLERID(num)})})
 +
または
 +
same = n,Set(CALLERID(num)=${IF($[${CALLERID(num):0:1}=0]?81${CALLERID(num):1}:${CALLERID(num)})})
 +
same = n,Set(CALLERID(name)=${CALLERID(num)})

2018年9月26日 (水) 08:20時点における版

CLIが0から始まるときに81をつける

extensions.conf
same = n,Set(CALLERID(all)=${IF($[${CALLERID(num):0:1}=0]?81${CALLERID(num):1}:${CALLERID(num)})})
または
same = n,Set(CALLERID(num)=${IF($[${CALLERID(num):0:1}=0]?81${CALLERID(num):1}:${CALLERID(num)})})
same = n,Set(CALLERID(name)=${CALLERID(num)})