「ITSP アサヒネットC」の版間の差分

提供: VoIP-Info.jp
移動先: 案内検索
(comment6, http://www.ittoolbox.com/profiles/buy_Shallaki_here buy shallaki online, kdpcdb, http://www.ittoolbox.com/profiles/buy_Prilosec_here buy prilosec online, 895, http://www.ittoolbox.com/prof)
(89.149.244.45 (会話) の編集 ( 2144 版 ) を取り消し(SPAM投稿と判断したため))
1行目: 1行目:
comment6, http://www.ittoolbox.com/profiles/buy_Shallaki_here buy shallaki online, kdpcdb, http://www.ittoolbox.com/profiles/buy_Prilosec_here buy prilosec online, 895, http://www.ittoolbox.com/profiles/buy_Rocaltrol_here buy rocaltrol online,  gju, http://www.ittoolbox.com/profiles/buy_Male_Sexual_Tonic_here buy male sexual tonic, =[[[, http://www.ittoolbox.com/profiles/buy_Nimotop_here buy nimotop,  =)), http://www.ittoolbox.com/profiles/buy_Nonoxinol_here buy nonoxinol7799, http://www.ittoolbox.com/profiles/buy_Brahmi_here brahmi, :-)), http://www.ittoolbox.com/profiles/buy_Toprol_XL_here buy toprol xltmw, http://www.ittoolbox.com/profiles/buy_Brafix_here brafix, rakjp,
+
*sip.conf
 +
[general]
 +
port=5060
 +
bindaddr=0.0.0.0
 +
context=default
 +
srvlookup=no
 +
maxexpire=3600
 +
defaultexpirey=120
 +
disallow=all
 +
allow=ulaw
 +
allow=alaw
 +
 +
  register => 050XXXXYYYY@asahi-net.or.jp:PASSWD:USERNAME@asahi-net/050XXXXYYYY
 +
 +
[asahi-net]
 +
type=friend
 +
secret=PASSWD
 +
username=USERNAME
 +
fromuser=050XXXXYYYY
 +
fromdomain=asahi-net.or.jp
 +
  host=voip01.nc.asahi-net.or.jp
 +
context=in-asahi
 +
dtmfmode=inband
 +
canreinvite=no
 +
insecure=very
 +
  progressinband=no
 +
 +
[konishi]
 +
type=friend
 +
secret=PASSWD2
 +
username=konishi
 +
host=dynamic
 +
context=sip
 +
canreinvite=no
 +
*extensions.conf
 +
[general]
 +
static=yes
 +
writeprotect=yes
 +
 +
[globals]
 +
MYDIAL    => 050XXXXYYYY
 +
KONISHI    => SIP/konishi@konishi
 +
ML_KONISHI => xxxx@docomo.ne.jp
 +
 +
[in-asahi]
 +
exten => ${MYDIAL},1,Macro(konishi,${CALLERID})
 +
 +
[sip]
 +
  exten => _0N0XXXXXXXX,1,macro(callout,${EXTEN})
 +
exten => _0ZZXXXXXXX,1,macro(callout,${EXTEN})
 +
 +
[macro-konishi]
 +
exten => s,1,Dial(${KONISHI},9)
 +
  exten => s,2,System(echo "${ARG1}" | mail -s CALLING ${ML_KONISHI})
 +
exten => s,3,Dial(${KONISHI})
 +
exten => s,4,Hangup
 +
 +
[macro-callout]
 +
  exten => s,1,Dial(SIP/${ARG1}@asahi-net)
 +
exten => s,2,Hangup

2008年5月27日 (火) 23:01時点における版

  • sip.conf
[general]
port=5060
bindaddr=0.0.0.0
context=default
srvlookup=no
maxexpire=3600
defaultexpirey=120
disallow=all
allow=ulaw
allow=alaw

register => 050XXXXYYYY@asahi-net.or.jp:PASSWD:USERNAME@asahi-net/050XXXXYYYY

[asahi-net]
type=friend
secret=PASSWD
username=USERNAME
fromuser=050XXXXYYYY
fromdomain=asahi-net.or.jp
host=voip01.nc.asahi-net.or.jp
context=in-asahi
dtmfmode=inband
canreinvite=no
insecure=very
progressinband=no

[konishi]
type=friend
secret=PASSWD2
username=konishi
host=dynamic
context=sip
canreinvite=no
  • extensions.conf
[general]
static=yes
writeprotect=yes

[globals]
MYDIAL     => 050XXXXYYYY
KONISHI    => SIP/konishi@konishi
ML_KONISHI => xxxx@docomo.ne.jp

[in-asahi]
exten => ${MYDIAL},1,Macro(konishi,${CALLERID})

[sip]
exten => _0N0XXXXXXXX,1,macro(callout,${EXTEN})
exten => _0ZZXXXXXXX,1,macro(callout,${EXTEN})

[macro-konishi]
exten => s,1,Dial(${KONISHI},9)
exten => s,2,System(echo "${ARG1}" | mail -s CALLING ${ML_KONISHI})
exten => s,3,Dial(${KONISHI})
exten => s,4,Hangup

[macro-callout]
exten => s,1,Dial(SIP/${ARG1}@asahi-net)
exten => s,2,Hangup