OBiBT as a trunk on asterisk

(1/2) > >>

gelcom:
Guys, Is it possible to use a Obi202 + ObiBT as an asterisk trunk? My idea is to have the Obi as a gateway to my cellphone via Bluetooth so when I'm near the device all calls ring the asterisk server and all calls dialed by asterisk phones go out via my cellphone line. Is it possible to do that without any other online service involved?

There is a how-to on Nerd Vittels ( http://nerdvittles.com/?p=4945 ) but this option relies on Voip.ms but I dont want this service to be internet dependent.
 
Is it possible to do that? How?

King regards

azrobert:
I use Freepbx.

Asterisk

Setup an outbound trunk without registration for the OBi202:
type=peer
username=gelcom
host=192.168.1.102 (OBi202 IP address)
port=5063  (OBi202 SP4)

Setup an inbound route for 9999 (See OBi202 BT inbound route)

OBi202

SP4 must be defined as an SIP trunk to send/receive to/from Asterisk.
If SP4 is not defined, setup a dummy SIP definition like this:

Service Providers -> ITSP Profile D -> SIP -> ProxyServer: 127.0.0.1
Voice Services -> SP4 Service -> AuthUserName: (any userid)
Voice Services -> SP4 Service -> X_RegisterEnable: (unchecked)
Voice Services -> SP4 Service -> X_ServProvProfile: D

Route outbound calls from Asterisk to BT
Voice Services -> SP4 Service -> X_InboundCallRoute: bt

Route inbound calls to Asterisk
Voice Services -> OBiBluetooth -> InboundCallRoute:
sp4(9999@192.168.1.100:5060)  (Asterisk IP address)

Edit:
I fixed a typo on the last line of my post.

gelcom:
Thanks for the reply.

Is call quality good with this setup? I heard I could hear some echo on this kind of connection...

I already have a router and I wont use the device's FXS port so I wonder if I could get this working with Obi200+ObiBT instead of Obi202+ObiBT. Is there any difference from these devices apart the routing stuff and additional FXS?


Quote from: azrobert on December 10, 2014, 04:11:11 pm

Voice Services -> OBiBluetooth -> InboundCallRoute:
sp4(9999@192.168.1.100:5060)  (Asterisk IP address)

Here I should use port 5060 or 5063 as you mentioned before?

Is there a way to have a password protected register to have a more secure approach to your sugestion?


kind regards
Gustavo

azrobert:
Quote

Is call quality good with this setup? I heard I could hear some echo on this kind of connection...
I have never read that the OBiBT causes an echo, but I'm not sure. Some people have reported an echo with the OBiline adapter. Maybe someone else can answer this.

Quote

I already have a router and I wont use the device's FXS port so I wonder if I could get this working with Obi200+ObiBT instead of Obi202+ObiBT. Is there any difference from these devices apart the routing stuff and additional FXS?
I believe they are the same except for the differences you noted and the size of the box. The OBi200 is much smaller.

Quote

Here I should use port 5060 or 5063 as you mentioned before?
192.168.1.100:5060 should be changed to the IP Address and port of Asterisk.

Quote

Is there a way to have a password protected register to have a more secure approach to your sugestion?
Yes. Add the following to the SP4 definition:
Voice Services -> SP4 Service -> AuthPassword: (any password)
Voice Services -> SP4 Service -> X-Proxy: (checked)

The above setting is only available on the OBi2xx models.

gelcom:
Thanks for the reply!

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?

In the same config is it possible to know which cellphone line is ringing on asterisk?

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...


kind regards
Gustavo

Navigation

[0] Message Index

[#] Next page