返回列表 發帖
现在的2b又有新的settings,就是register string,最后的电话后面要加入hk。而dial plan也加上hk.

http://www.telecom-cafe.com/foru ... =6657&pid=41300

TOP

本帖最後由 hn4498 於 2015-7-2 22:50 編輯

Workshop 9: Done and share my setting

ITSP Profile A
General
DigitMap.png
(911S0|1xxxxxxxxxxS0|011xx.S2|xx.S2|xS2|xxS2|*X.S2|(Mipd)|[^*#]@@.)

SIP
ProxyServer and Port.png
ProxyServer and Port 2.png

ITSP Profile B
ITSP B-SIP.png

SIP
AccessList.png


SP1 Service
Sp1 1.png
Sp1 2.png

SP2 Service
SP2 1.png
SP2 2.png
SP2 Calling Feature.png

Phone Port
PhonePort 1.png
{([1-9]x?*(Mpli)):pp},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}
PhonePort 2.png

LINE Port
LinePort 1.png
SP2(your PSTN line number)
LinePort 2.png


Sip.conf
[59xx] ; KeckSeng Obi110
type=friend
secret=59xx
qualify=yes
nat=force_rport,comedia
host=dynamic
canreinvite=no
context=internal

[obi110-21234567] ; Dial string of 21234567
username=obi110-21234567
secret=21234567
host=dynamic
type=friend
context=from-trunk
qualify=yes
dtmfmodel=rfc2833
canreinvite=no
disallow=all
allow=speex,gsm,ulaw,alaw,ilbc,g729

extensions.conf

[internal]
exten => 5923,1,Dial<SIP/5923,,r>

;7853 Trunk via 21234567 OBi110's LINE port
exten => _7853.,1,Dial(SIP/${EXTEN:4}@obi110-21234567,,)
exten => _7853.,n,Hangup()

[from-trunk]
exten => 21234567,1,Dial(SIP/3115,,r)
exten => 21234567,n,Hangup()

TOP

话!噻!如果不看Workshop 9,真的不知道那么复杂!!!谢谢hn4498。

TOP

大家要看的Asterisk天书,就是Asterisk: The Definite Guide,它是可以免费下载

Asterisk Definite Guide 4th Edition.png

TOP

member的8条HKBN 2b lines (8个numbers x 8 元 = 64元)终于搞定,现在member都用得非常爽!!!用香港的BR去申请的2b numbers超值!!!大家都可以考虑用BR去申请。

TOP

Hi Bro

any info ?


member的8条HKBN 2b lines (8个numbers x 8 元 = 64元)终于搞定,现在member都用得非常爽!!!用香港的B ...
角色 發表於 2015-7-29 00:16

TOP

回復 51# hklkf


   Check PM

TOP

回復 52# hn4498


    thx

TOP

Meeting Room - allow external user to call-in by 2b
- outside customer(s) is allowed to dial 2b number and connect to meeting room
- internal user dial 4000 to join the meeting room by SIP client

extensions.conf
[internal]
exten => 4000,1,ConfBridge(100);  join Room 100


[from-hkbn2b]
exten => 36121234hk,1,Dial(SIP/4000,,r)
exten => 36121234hk,n,ConfBridge(100)
exten => 36121234hk,n,Hangup()

TOP

返回列表