(SOLVED) Forward incoming call to ObiTalk connected device. How ?
azrobert:
Quote from: lrosenman on March 30, 2015, 02:41:24 pm
I'm wondering how the extension gets set and can I manipulate it on the Asterisk side to allow other Asterisk extensions to call out via the GV lines on the OBI.
I'm sure there are numerous ways to use an OBi with Asterisk. I only use the above method to route inbound calls to the OBi.
If I understand you correctly, you want someone registered on an Asterisk extension to route outbound calls to an OBi trunk. Is this correct?
I defined an outbound trunk for the OBi like this:
type=peer
username=lrosenman
host=192.168.1.100
port=5060
fromuser=lrosenman
canreinvite=no
insecure=invite,port
qualify=yes
You need the Dial number rules and an outbound route.
Then the OBi inbound route:
{lrosenman>(xx.):sp1},
Depending on the dialed number, you can route the call to different SP trunks.
lrosenman:
Hrm.
I currently have extension 702 defined in Asterisk as the Obi, and it shows registered on the Obi.
I send all calls from both GV's to Asterisk via a VoiceGateway (pointed at the PIAF Pi), using
vg1(gv#/$1)
Asterisk takes that, does a CID lookup, and sends the call back to Ext 702.
When 702 gets it, it rings the phones.
on the 702 Inbound CallRoute, we have:
{>(1xxxxxxxxxx):sp1},{ph1,ph2}
What I'm curious about is what Asterisk is sending, and how CID/CNAM is being propagated from Asterisk to the Obi, and what I need to do on Asterisk/Obi to allow a provider/extension/etc on Asterisk to send SOME calls to the Obi, and have the Obi do some of the routing (I.E. to GV1, SP2(vitelity), GV2).
catch22:
Thank you all.
Between your posts and some additional reading on the internet I was successfully able to set up the inbound call route to allow any extension on my PIAF/Free Pbx box to dial any 9 digit ObiTalk number and route it correctly to ObiTalk and also still dial a 7 digit local PSTN number (in the US) and route to the local PSTN.
The X_InboundCallRoute I ended up using is {>(xxxxxxxxx):pp},{li} under Voice Services SP2.
Best regards
Navigation
[0] Message Index
[*] Previous page