Distinctive Ring with OBI (GV(1,3)->Asterisk(4)->OBI (Ph1,Ph2).....
azrobert:
OBi202
Assign a different ring pattern to SP4:
Voice Services -> SP4 Service
X_DefaultRing: Select a number (2-10) other than the default.
Voice Services -> SP2 Service
Add to the beginning of X_InboundCallRoute:
{>0:ph2},
This is only needed if you want to route GV calls differently than normal SP2 calls.
0 = number in the Raspbx extension Dial URI.
How do you route calls to Raspbx?
This is how I do it:
Voice Services -> SP3 Service -> X_InboundCallRoute:
sp2(200@192.168.1.100:5060;ui=$1)
200 = extn number
192.168.1.100:5060 = Raspbx IP address and port
Raspbx
Add Extension 200
Change Dial setting to: SIP/0@192.168.1.102:5061
192.168.1.102 is IP address of your OBi202
5061 points to SP2
Add an inbound route for extension 200
When you route calls to Raspbx via URI you need to define a dummy trunk with the OBi202 IP address, otherwise the call will be rejected.
lrosenman:
I'm using a VoiceGateway to get from the OBI to Asterisk (FreePBX/IncrediblePBX), with a custom context.
it looks like:
Name: GV to Asterisk
Access Number: sp4(192.168.200.91)
Digit Map: (xx.)
AuthUserId: <valid ID>
AuthPassword: <valid Password>
And on SP1:
X_InboundCallRoute vg1(<GV ph# for GV1>/$1)
And on SP3:
X_InboundCallRoute vg1(GV Ph# for GV3>/$1)
then on the Asterisk side I have
defaultuser=<Valid user>
type=friend
secret=<valid password>
context=custom-from-Obihai
disallow=all
allow=ulaw
host=dynamic
dtmfmode=rfc2833
canreinvite=no
deny=0.0.0.0/0.0.0.0
permit=192.168.200.0/255.255.255.0
for the "dummy" trunk
and in extensions_custom.conf:
[custom-from-Obihai]
exten => _X!,1,Set(CALLERID(num)=${CUT(EXTEN,/,2)})
exten => _X!,n,Set(CALLERID(ani)=${CALLERID(num)})
exten => _X!,n,Goto(from-trunk,${CUT(EXTEN,/,1)},1)
exten => h,1,Macro(hangupcall,)
And then inbound routes for each GV that end with it going to ext 702 (the obi's extension)
so, ideas?
Navigation
[0] Message Index
[*] Previous page