Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] chan_mobile type=


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
manouchk at gmail.com
Guest





PostPosted: Tue Jan 15, 2008 4:08 pm    Post subject: [asterisk-users] chan_mobile type= Reply with quote

Le mardi 15 janvier 2008, Robert Moskowitz a ?crit?:
Quote:
What are the values for type for chan_mobile?

headset and phone ???

I think that if you let
#type=headset
it is by default a phone. It means that asterisk will try to use the mobile as
a hand's free .
If you set
type=headset
It means that asterisk will connect to the mobile as a bluetooth headset.

I don't know what's the best in your case. For my mobile, w300i the rfcomm
port number are 4 for handfreeprofile and 5 for headset profile.
For the w300i, the handfree profile seems to be the best choice (yet no so
good)
port=4 ;handfreeprofile ; the rfcomm port number (from mobile search)
;port=5 ;headset profile

chan_mobile did not told me the right rfcomm port number. I got the right
number (at least I think) from kdebluetoothd that opens o konqueror window...
with the mobile and gives all services. If I remember well, if you select
services and copy them to a text editor you will get the rfcomm port.

Quote:
I get my Treo650 to pair.

hcitool scan shows the device.
hcitool con comes up empty.

I go into Asterisk cli.

mobile search shows the device (while I am waiting for a response, I see
the phone showing a connection being set up). And I am shown that I
have a device that is:

NOT available and is a headset

May not mean it won't work, I observed the same thing...

Quote:
OOPS.

So I think I need to force Asterisk to see this as a phone? Or is there
something I need in a bluetooth config file?

You need a mobile.conf file
Most usefull links for me for configuring chan_mobile were
http://www.geek-pages.com/articles/asterisk/howto_build_and_configure_chan_mobile_on_trixbox.html
http://www.saghul.net/blog/2007/08/29/howto-review-chan_mbile/
http://snapvoip.blogspot.com/2007/10/configuring-using-and-debugging.html
more /etc/asterisk/mobile.conf
[general]
interval=10 ; Number of seconds between trying to connect to devices.

[adapter]
id=intuix
address=00:11:67:2E:B4:FD
;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
[adapter]
id=trendnet
address=00:18:E7:2E:DC:AB
;forcemaster=yes ; attempt to force adapter into master mode. default is no.
[W300i]
address=00:16:B8:5F:C2:71 ; the address of the phone
port=4 ;handfreeprofile ; the rfcomm port number (from mobile search)
;port=5 ;headset profile
context=frommobile
adapter=intuix
;adapter=trendnet
dtmfskip=60
;type=headset ; This is a headset, not a Phone !
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
Back to top
rgm at htt-consult.com
Guest





PostPosted: Tue Jan 15, 2008 5:19 pm    Post subject: [asterisk-users] chan_mobile type= Reply with quote

What are the values for type for chan_mobile?

headset and phone ???

I get my Treo650 to pair.

hcitool scan shows the device.
hcitool con comes up empty.

I go into Asterisk cli.

mobile search shows the device (while I am waiting for a response, I see
the phone showing a connection being set up). And I am shown that I
have a device that is:

NOT available and is a headset

OOPS.

So I think I need to force Asterisk to see this as a phone? Or is there
something I need in a bluetooth config file?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services