返回列表 發帖
本帖最後由 hn4498 於 2015-6-11 18:12 編輯

多謝角色兄無私貢獻,清楚列明步驟,對初學者 (我) 來講,好易上手。

依家跟住做 1-19項,大概唔駛一粒鍾。條片 CUT 左D等待時間,剩低16分鍾,希望幫到手。其他部分,日後再補上。
https://www.dropbox.com/s/42dgar ... sion%201-1.mp4?dl=0


Hardware: QNAP TS453 Pro, 8G RAM
Debian download: http://cdimage.debian.org/debian ... .0-i386-netinst.iso

TOP

本帖最後由 hn4498 於 2015-6-11 18:24 編輯

11-6-2015 17-59-59.jpg

    There is no difficulty for those items, except the installation of G729. I failed to make connection by scp. But finally, I find a tool "pscp.exe" that can copy the file from PC to Debian. Attached the video for your reference.

https://www.dropbox.com/s/brzg4b ... dec%20G729.mp4?dl=0

pscp.exe download site: http://the.earth.li/~sgtatham/putty/latest/x86/pscp.exe

TOP

本帖最後由 hn4498 於 2015-6-26 13:17 編輯

Workshop 7: I change a little bit to allow the dialing string "+853"

EXTEN:5 is counting for 5 digit, I think

26-6-2015 11-44-06.png

AS-IS
;00853 Trunk via 1911 OBi110's LINE port
exten => _00853.,1,Dial(SIP/**8${EXTEN:5}@1911,,)
exten => _00853.,n,Hangup()
exten => 1911,1,Dial(SIP/1911,,r)

TO-BE
;00853 Trunk via 1911 OBi110's LINE port
exten => _+853.,1,Dial(SIP/**8${EXTEN:4}@1911,,)
exten => _+853.,n,Hangup()
exten => 1911,1,Dial(SIP/1911,,r)

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

回復 51# hklkf


   Check PM

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

返回列表