OBiBT as a trunk on asterisk
azrobert:
Quote
Sorry for the noob questions. As I need to use 2 cellphones at once Í'm not sure if I can do that with just 1 Obi200 or I need 2 Obis...
I wanted to make sure I got this correct. I have an OBi200 and an OBiBT. When I try to pair a 2nd device the OBiBT drops connection to the 1st device.
The OBi200 has definitions for 2 OBiBT dongles, so you would need a second OBiBT dongle. The OBi200 only has one USB port, but I assume it will work with a USB hub. How else would you get 2 OBiBT dongles connected?
Your choice:
1 OBi200 w/USB hub
2 OBi200s
I was wrong in my last post on the differences between the OBi202 and the OBi200. The OBi202 also has 1 USB port. I corrected the post.
Quote
If I pair the OBiBT with 2 cellphones at the same time is it possible to choose which cellphone will be used to send out a call via SIP?
The OBi2xx has definitions for 2 BT trunks.
You would need a prefix to route calls out the second.
The default prefix for the OBi Phone Port to route calls to BT2 is "**82", but you can use any prefix.
In this example I'm using a prefix "2".
The prefix is replaced by "1".
I also added extra security. I'm checking for userid "gelcom" (the userid on the Asterisk trunk)
Route outbound calls from Asterisk to BT1 or BT2
Voice Services -> SP4 Service -> X_InboundCallRoute:
{gelcom>(1xxxxxxxxxx):bt1},{gelcom>(<2:1>xxxxxxxxxx:bt2}
Quote
In the same config is it possible to know which cellphone line is ringing on asterisk?
There is an inbound route for each bt trunk. Route the calls to 2 separate numbers.
Route inbound calls to Asterisk
Voice Services -> OBiBluetooth 1 -> InboundCallRoute:
sp4(1000@192.168.1.100:5060) (Asterisk IP address and port)
Voice Services -> OBiBluetooth 2 -> InboundCallRoute:
sp4(2000@192.168.1.100:5060) (Asterisk IP address and port)
azrobert:
Route inbound calls to Asterisk
Voice Services -> OBiBluetooth 1 -> InboundCallRoute:
sp4(1000@192.168.1.100:5060) (Asterisk IP address and port)
Voice Services -> OBiBluetooth 2 -> InboundCallRoute:
sp4(2000@192.168.1.100:5060) (Asterisk IP address and port)
There might some confusion with the above.
The OBi is NOT routing calls to Asterisk via the Trunk you defined in Asterisk.
It's using SP4 to route calls to Asterisk via SIP URI.
I believe the default for Asterisk is to reject these calls, but since you defined a trunk with the OBi's IP address Asterisk will accept the calls.
azrobert:
I thought of 2 ways to route outbound calls without using a prefix.
You can route certain area codes to BT1 and everything else to BT2.
OR
You can setup 2 trunks on Asterisk pointing to the OBi200.
One with a username of "gelcom1" and the other "gelcom2".
In the OBi200 route call from "gelcom1" out BT1 and "gelcom2" out BT2.
Navigation
[0] Message Index
[*] Previous page