Re: [asterisk-users] chan_mobile help.

2009-07-10 Thread Thomas Kenyon
Sasa Bobek wrote:
 Could not agree more.  I had chan_mobile up and running with an older 
 version of Trix, but never managed to recreate it with the latest 
 versions.  Other people I talked to even suggested that it was made on 
 purpose.  With elastix the only problem I had was the missing 
 mobile.conf.example, but you can create one from the Trix instructions 
 from scratch or download it from the SVN.
 
I've got a spare machine I can play with that on, I wish I could get it 
working on the server machine though.

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] chan_mobile help.

2009-07-07 Thread Thomas Kenyon
Razza wrote:
 I'm running centos, so tried a yum upgrade but nothing was marked for 
 upgrade. I've reinstalled bluez-libs.i386 0:3.7-1.1.
 I've tried a different dongle, but still get the same message.
 
I tried setting up chan_mobile again about a week ago. (admittedly last 
time I'd tried it, it had a different name and was using callweaver).

I had exactly the same problems as the first time, No audio (although on 
one attempt I had 1 way audio, but strangely the phone and the deskphone 
and other mobile appeared to be conferenced together), answering desk 
phone didn't answer call on mobile, hanging up didn't hang up etc.

Although I think I'm using bluez-4.40, the USB dongle is also a CSR one 
like the OP, asterisk 1.6.1.1, with a nokia e61.

Oh a piece of advice, when the computer is automatically connecting to 
the phone, you can't find it by calling it :-)

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] chan_mobile help.

2009-07-07 Thread Razza
Seems the only option is to give Elastix a go.
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] chan_mobile help.

2009-07-07 Thread Sasa Bobek
Could not agree more.  I had chan_mobile up and running with an older
version of Trix, but never managed to recreate it with the latest versions.
 Other people I talked to even suggested that it was made on purpose.  With
elastix the only problem I had was the missing mobile.conf.example, but you
can create one from the Trix instructions from scratch or download it from
the SVN.

On Tue, Jul 7, 2009 at 7:56 PM, Razza razz...@gmail.com wrote:

 Seems the only option is to give Elastix a go.

 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] chan_mobile help.

2009-07-06 Thread Razza
Thanks for your response. I gave loads of info in my original mail, surely
someone can help without jumping distro?
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] chan_mobile help.

2009-07-06 Thread Carlos Ruiz Diaz
Try upgrading your bluez library. You can also try a parallel installation
with the last revision of chan_mobile. Use the same phone always to discard
any phone issues.


On Mon, Jul 6, 2009 at 11:43 AM, Razza razz...@gmail.com wrote:

 Thanks for your response. I gave loads of info in my original mail, surely
 someone can help without jumping distro?

 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] chan_mobile help.

2009-07-06 Thread Razza
I'm running centos, so tried a yum upgrade but nothing was marked for
upgrade. I've reinstalled bluez-libs.i386 0:3.7-1.1.
I've tried a different dongle, but still get the same message.
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] chan_mobile help.

2009-07-05 Thread Razza
I've been failing to get chan_mobile working, so am looking to the experts
to help :o)

I have followed this guide -
http://www.voipphreak.ca/2008/10/30/installing-and-configuring-chan_mobile-for-bluetooth-presence-support-in-asterisk-16/
and this guide -
http://www.geek-pages.com/articles/asterisk/howto_build_and_configure_chan_mobile_on_trixbox.html
and tried hybrids of the two which is dangerous! ;o)

 When I pair my phone to my asterisk server, I see no adverstised bluetooth
services (such as headset etc.), is that correct?

Asterisk (every 30 seconds ish) reports -
-- Bluetooth Device PersX1 has connected.
-- Bluetooth Device PersX1 has disconnected, reason (104).

Also, when I run mobile search from the CLI, I get mismatched MAC's agains
phones (e.g. the MACs and phones swap?!) -
*CLI mobile search
Address   Name   Usable TypePort
-- Bluetooth Device PersX1 has connected.
-- Bluetooth Device PersX1 has disconnected, reason (104).
00:17:83:16:DD:85 Ray(Work)  No Headset 0
00:1C:CC:63:15:DD Ray pers   No Headset 0
00:23:45:32:78:57 BlackBerry PMWork 8310 YesHeadset 1
00:16:41:63:3C:5C Ray pers   No Headset 0
00:1D:F6:C6:C1:77 BTG209604  No Headset 0
*CLI mobile search
Address   Name   Usable TypePort
-- Bluetooth Device PersX1 has connected.
-- Bluetooth Device PersX1 has disconnected, reason (104).
00:16:41:63:3C:5C BTG209604  No Headset 0
00:23:45:32:78:57 Ray pers   YesHeadset 1
00:17:83:16:DD:85 Ray pers   No Headset 0
00:1C:CC:63:15:DD Ray(Work)  No Headset 0
00:1D:F6:C6:C1:77 BlackBerry PMWork 8310 No Headset 0
*CLI

Apparently my dongle is fully supported, lsusb -v yields -
Bus 002 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth
Dongle (HCI mode)
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass  224 Wireless
  bDeviceSubClass 1 Radio Frequency
  bDeviceProtocol 1 Bluetooth
  bMaxPacketSize064
  idVendor   0x0a12 Cambridge Silicon Radio, Ltd
  idProduct  0x0001 Bluetooth Dongle (HCI mode)
  bcdDevice   31.64
  iManufacturer   0
  iProduct0
  iSerial 0
  bNumConfigurations  1

My /etc/bluetooth/hcid.conf is as follows -
# HCId options
options {
autoinit yes;
security auto;
pairing multi;
passkey 0202;
}
device {
name AstTest;
class 0x3e0100;
iscan enable; pscan enable;
discovto 0;
lm accept;
lp rswitch,hold,sniff,park;
}
options {
autoinit yes;
security auto;
pairing multi;
pin_helper /etc/bluetooth/pin;
}

My /etc/asterisk/mobile.conf is as follows -
[general]
interval=30 ; Number of seconds between trying to connect to
devices.
; The following is a list of adapters we use.
; id must be unique and address is the bdaddr of the adapter from hciconfig.
; Each adapter may only have one device (headset or phone) connected at a
time.
; Add an [adapter] entry for each adapter you have.
[adapter]
id=blue
address=00:10:60:D0:EC:66
;forcemaster=yes; attempt to force adapter into master mode. default
is no.
;alignmentdetection=yes ; enable this if you sometimes get 'white noise' on
asterisk side of the call
; its a bug in the bluetooth adapter firmware,
enabling this will compensate for it.
; default is no.
[PersX1]
address=00:23:45:32:78:57   ; the address of the phone
port=2  ; the rfcomm port number (from mobile
search)
context=incoming-mobile ; dialplan context for incoming calls
adapter=blue; adapter to use
group=1 ; this phone is in channel group 1
;nocallsetup=yes; set this only if your phone reports that
it supports call progress notification, but does not do it. Motorola L6 for
example.

Help!
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] chan_mobile help.

2009-07-05 Thread Sasa Bobek
I had loads of issues when trying i on trix, but the same procedure worked
like a charm with elastix.

On Sun, Jul 5, 2009 at 7:09 PM, Razza razz...@gmail.com wrote:

 I've been failing to get chan_mobile working, so am looking to the experts
 to help :o)

 I have followed this guide -
 http://www.voipphreak.ca/2008/10/30/installing-and-configuring-chan_mobile-for-bluetooth-presence-support-in-asterisk-16/
 and this guide -
 http://www.geek-pages.com/articles/asterisk/howto_build_and_configure_chan_mobile_on_trixbox.html
 and tried hybrids of the two which is dangerous! ;o)

  When I pair my phone to my asterisk server, I see no adverstised
 bluetooth services (such as headset etc.), is that correct?

 Asterisk (every 30 seconds ish) reports -
 -- Bluetooth Device PersX1 has connected.
 -- Bluetooth Device PersX1 has disconnected, reason (104).

 Also, when I run mobile search from the CLI, I get mismatched MAC's
 agains phones (e.g. the MACs and phones swap?!) -
 *CLI mobile search
 Address   Name   Usable TypePort
 -- Bluetooth Device PersX1 has connected.
 -- Bluetooth Device PersX1 has disconnected, reason (104).
 00:17:83:16:DD:85 Ray(Work)  No Headset 0
 00:1C:CC:63:15:DD Ray pers   No Headset 0
 00:23:45:32:78:57 BlackBerry PMWork 8310 YesHeadset 1
 00:16:41:63:3C:5C Ray pers   No Headset 0
 00:1D:F6:C6:C1:77 BTG209604  No Headset 0
 *CLI mobile search
 Address   Name   Usable TypePort
 -- Bluetooth Device PersX1 has connected.
 -- Bluetooth Device PersX1 has disconnected, reason (104).
 00:16:41:63:3C:5C BTG209604  No Headset 0
 00:23:45:32:78:57 Ray pers   YesHeadset 1
 00:17:83:16:DD:85 Ray pers   No Headset 0
 00:1C:CC:63:15:DD Ray(Work)  No Headset 0
 00:1D:F6:C6:C1:77 BlackBerry PMWork 8310 No Headset 0
 *CLI

 Apparently my dongle is fully supported, lsusb -v yields -
 Bus 002 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth
 Dongle (HCI mode)
 Device Descriptor:
   bLength18
   bDescriptorType 1
   bcdUSB   2.00
   bDeviceClass  224 Wireless
   bDeviceSubClass 1 Radio Frequency
   bDeviceProtocol 1 Bluetooth
   bMaxPacketSize064
   idVendor   0x0a12 Cambridge Silicon Radio, Ltd
   idProduct  0x0001 Bluetooth Dongle (HCI mode)
   bcdDevice   31.64
   iManufacturer   0
   iProduct0
   iSerial 0
   bNumConfigurations  1

 My /etc/bluetooth/hcid.conf is as follows -
 # HCId options
 options {
 autoinit yes;
 security auto;
 pairing multi;
 passkey 0202;
 }
 device {
 name AstTest;
 class 0x3e0100;
 iscan enable; pscan enable;
 discovto 0;
 lm accept;
 lp rswitch,hold,sniff,park;
 }
 options {
 autoinit yes;
 security auto;
 pairing multi;
 pin_helper /etc/bluetooth/pin;
 }

 My /etc/asterisk/mobile.conf is as follows -
 [general]
 interval=30 ; Number of seconds between trying to connect to
 devices.
 ; The following is a list of adapters we use.
 ; id must be unique and address is the bdaddr of the adapter from
 hciconfig.
 ; Each adapter may only have one device (headset or phone) connected at a
 time.
 ; Add an [adapter] entry for each adapter you have.
 [adapter]
 id=blue
 address=00:10:60:D0:EC:66
 ;forcemaster=yes; attempt to force adapter into master mode.
 default is no.
 ;alignmentdetection=yes ; enable this if you sometimes get 'white noise' on
 asterisk side of the call
 ; its a bug in the bluetooth adapter firmware,
 enabling this will compensate for it.
 ; default is no.
 [PersX1]
 address=00:23:45:32:78:57   ; the address of the phone
 port=2  ; the rfcomm port number (from mobile
 search)
 context=incoming-mobile ; dialplan context for incoming calls
 adapter=blue; adapter to use
 group=1 ; this phone is in channel group 1
 ;nocallsetup=yes; set this only if your phone reports that
 it supports call progress notification, but does not do it. Motorola L6 for
 example.

 Help!

 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users