chan_mobile.conf.sample 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. ;
  2. ; chan_mobile.conf
  3. ; configuration file for chan_mobile
  4. ;
  5. [general]
  6. interval=30 ; Number of seconds between trying to connect to devices.
  7. ; The following is a list of adapters we use.
  8. ; id must be unique and address is the bdaddr of the adapter from hciconfig.
  9. ; Each adapter may only have one device (headset or phone) connected at a time.
  10. ; Add an [adapter] entry for each adapter you have.
  11. [adapter]
  12. id=blue
  13. address=00:09:DD:60:01:A3
  14. ;forcemaster=yes ; attempt to force adapter into master mode. default is no.
  15. ;alignmentdetection=yes ; enable this if you sometimes get 'white noise' on asterisk side of the call
  16. ; its a bug in the bluetooth adapter firmware, enabling this will compensate for it.
  17. ; default is no.
  18. [adapter]
  19. id=dlink
  20. address=00:80:C8:35:52:78
  21. ; The following is a list of the devices we deal with.
  22. ; Every device listed below will be available for calls in and out of Asterisk.
  23. ; Each device needs an adapter=xxxx entry which determines which bluetooth adapter is used.
  24. ; Use the CLI command 'mobile search' to discover devices.
  25. ; Use the CLI command 'mobile show devices' to see device status.
  26. ;
  27. ; To place a call out through a mobile phone use Dial(Mobile/[device]/NNN.....) or Dial(Mobile/gn/NNN......) in your dialplan.
  28. ; To call a headset use Dial(Mobile/[device]).
  29. [LGTU550]
  30. address=00:E0:91:7F:46:44 ; the address of the phone
  31. port=4 ; the rfcomm port number (from mobile search)
  32. context=incoming-mobile ; dialplan context for incoming calls
  33. adapter=dlink ; adapter to use
  34. group=1 ; this phone is in channel group 1
  35. ;sms=no ; support SMS, defaults to yes
  36. ;nocallsetup=yes ; set this only if your phone reports that it supports call progress notification, but does not do it. Motorola L6 for example.
  37. [blackberry]
  38. address=00:60:57:32:7E:B2
  39. port=2
  40. context=incoming-mobile
  41. adapter=dlink
  42. group=1
  43. ;blackberry=yes ; set this if you are using a blackberry device
  44. [6310i]
  45. address=00:60:57:32:7E:B1
  46. port=13
  47. context=incoming-mobile
  48. adapter=dlink
  49. group=1 ; this phone is in channel group 1 also.
  50. [headset]
  51. address=00:0B:9E:11:AE:C6
  52. port=1
  53. type=headset ; This is a headset, not a Phone !
  54. adapter=blue
  55. [headset1]
  56. address=00:0B:9E:11:74:A5
  57. port=1
  58. type=headset
  59. adapter=dlink