返回列表 發帖
My OBI is:
Voice provider 1: Google Voice(or your )
Voice provider 2: my asterisk

1. OBI is set to an extension, 1002, for asterisk(sip.conf or user.conf).
Normal extension setup with change the type to friend:

[1002]
typp=friend
secret=1002
hassip = yes
qualify=yes
nat=no
host=dynamic
canreinvit=no
context=internal


2. Dialin-rule for 1002 is the same for normal extension.
    [internal]
    exten => 1002,1,Dial(SIP/1002,,r)

Note: If you need to forward the call from OBI to your asterisk, plz change the forwarding rule in OBI.

3. Setup a dialout-rule, like number with prefix 8, should be dialed out through OBI's first VSP(extensions.conf):
[OBI]
exten=_8xxxx.,1,Dial(SIP/**1${EXTEN:1}@1002,,r)
exten=_8xxxx.,n,Hangup()

TOP

返回列表