dial from remote OBi
mrjoe:
I have an OBi202 setup to be used as a trunk for freepbx.
The inbound call route of SP4 is currently set as "VG1" so that I can call out with the Localphone account setup on it.
What I want to do however is be able to dial a few digits for example "3000" from freepbx and have the call ring (via the OBi202) to sp1(30xxxxxx@sip.voipfone.net) for example.
I still want to be able to call with Localphone, but I don't want this specific call to go through them rather I would like it to be a pure SIP call to enable me to have the CLI passed through.
How do I configure the inbound callroute of SP4 to intercept the 3000, change it to a SIP URI and have it go out through SP1.
ianobi:
I'm assuming that the host address 30xxxxxx is an actual number - 30123456.
Voice Services > SP4 Service > X_InboundCallRoute:
{(freepbxCLI)>(<3000:30123456@sip.voipfone.net>):sp1},{vg1}
Caller = freepbxCLI
Callee = 3000, which is transformed into 30123456@sip.voipfone.net
Terminal = sp1
Any call not matching the first rule will be routed via vg1.
I have not tested this!
mrjoe:
Thank you ianobi - I'll try it when I get home, and report back.
mrjoe:
ianobi - thank you so much :)
works great!
mrjoe:
My inbound callroute now looks like this because I setup Simonics on Sipsorcery (SP3)
{>(<1:>1xxxxxxxxxx):sp3},{>(<3000:xxxxxxx@localphone.com>):sp1},{vg1}
calling US numbers gives me a 401 Unauthorised... (it does take away the first '1')
Navigation
[0] Message Index
[#] Next page