Menu

Bluetooth Trunks via RasPBX

Scott H
2012-11-26
2012-12-05
  • Scott H

    Scott H - 2012-11-26

    Has anyone figured out how to enable Bluetooth Trunks, so that a cellphone could be used to provide the phone service (dialtone if you will). Granted a Bluetooth adapter would have to be added, but for emergency services such as Red Cross Shelters this project along with the Bluetooth capabilities wuld be huge!!!

     
  • Tirso Ramirez

    Tirso Ramirez - 2012-11-26

    I already put the bluetooth dongle to my RaspberryPI count with me if you need testers.

     
  • Gernot

    Gernot - 2012-11-28

    Does it work for you? Can you share a bit your experience?

     
  • Tirso Ramirez

    Tirso Ramirez - 2012-12-01

    Just finished my first test

    Test equipment
    Raspberry Pi 256mb
    Moderated OC
    8gb SDHC Class 10
    Generic Buetooth dongle
    1 Sip extension (X-Lite 5 Softphone)
    Blackberry Curve

    CPU usage:
    Idle: 5-7%
    During a call: 15%

    Call quality:
    Massive lag, several seconds.

    I hope I can do more tests during the weekend.

    btw, I found this guide quite helpful.
    http://samyantoun.50webs.com/asterisk/chan_mobile/

     

    Last edit: Tirso Ramirez 2012-12-05
  • Gernot

    Gernot - 2012-12-02

    Thanks for sharing! Unfortunately I have not came that far yet. My mobile seems to pair fine with Asterisk:

    raspbx*CLI> module load chan_mobile.so
    Loaded chan_mobile.so
      == Parsing '/etc/asterisk/chan_mobile.conf': Found
      == Registered channel type 'Mobile' (Bluetooth Mobile Device Channel Driver)
      == Registered application 'MobileStatus'
      == Registered application 'MobileSendSMS'
     Loaded chan_mobile.so => (Bluetooth Mobile Device Channel Driver)
    raspbx*CLI> Confirmation request of 223494 for device /org/bluez/3694/hci0    /dev_00_25_67_6D_D3_77
        -- Bluetooth Device bluephone has connected, initializing...
        -- Bluetooth Device bluephone initialized and ready.
    raspbx*CLI> mobile show devices
    ID              Address           Group Adapter         Connected     State      SMS
    bluephone       00:25:67:6D:D3:77 1     pabx            Yes     Free       Yes
    

    I've also added this custom trunk as described, but when calling out I only get "your call cannot be completed as dialed". Maybe its only a simple call routing issue. Need to try more on this.

     
  • Tirso Ramirez

    Tirso Ramirez - 2012-12-03

    For an unknown reason X-Lite adds a "1" to every number you try to dial. Check if your outbound route allow this.

     
  • Gernot

    Gernot - 2012-12-04

    I have now the same situation as you do. I made a small mistake in the routing, but now this works. I can make calls, but the audio is very very lagged. Also I had only one way audio. I tried with 2 different Samsung phones, one of them had no audio at all.
    CPU usage was between 30 and 50% for me. Unfortunately this cannot be used like this... :-(

     
  • Tirso Ramirez

    Tirso Ramirez - 2012-12-05

    It is a shame, I was hoping this could work on the PI.

     
  • Gernot

    Gernot - 2012-12-05

    You are right, I would also love to see this work. Maybe it can still work by trying other Bluetooth adapters and phones, maybe there is a working combination. Or the chan_mobile code needs some debugging, but this can be quite time consuming...

     

Log in to post a comment.

MongoDB Logo MongoDB