返回列表 發帖

Chan_mobile and asterisk

It turns out to be very easy to use our mobile phone as a FXO device for asterisk

Just set up the bluetooth connection with the linux and then configure two files for asterisk
chan_mobile.conf
extension.conf

Then you can dial out to your friend using your mobile phone plan

https://wiki.asterisk.org/wiki/display/AST/Mobile+Channel

I am sure many of us have spare minutes for your mobile phone plan

Thank cleea for letting us know the most updated information. I believe that some of us will play with this mobile channel since we have used a lot of GSM mobile in Hong Kong.

Is there any approved list of 3G modems that is allowed to be used in Asterisk?

YH

TOP

This is different from the USB 3G stick I mention in the other threads. It is just simple asterisk built insupport of mobile device. What you need are
Compiled asterisk with chan_mobile enable
A Bluetooth dongle which first pair your mobile phone with the Bluetooth dongle
After that, load chan_mobile.so at asterisk CLI.
Update your chan_mobile.conf and extensions.conf
Unload and load chan_mobile.so again
Then enjoy incoming or outgoing call using your 2G or 3G mobile phone bridge to asterisk.

For the USB stick, it needs to use different driver chan_datacard

Both achieve same result, voice and SMS

TOP

I have not tested SMS with chan_mobile
Also not tested the headset

TOP

本帖最後由 ckleea 於 2011-4-30 14:29 編輯

回復 2# 角色


For USB stick that works with asterisk, e180 by pccw or k3715 by smartone vodafone works very well.

Information can be found here
http://www.telecom-cafe.com/foru ... &extra=page%3D1

TOP

To show you more output, when dial in
  1. Verbosity is at least 3
  2.   == Starting Mobile/Nokia C5-03-7bde at incoming-mobile,s,1 failed so falling back to exten 's'
  3.   == Starting Mobile/Nokia C5-03-7bde at incoming-mobile,s,1 still failed so falling back to context 'default'
  4.     -- Sent into invalid extension 's' in context 'default' on Mobile/Nokia C5-03-7bde
  5.     -- Executing [i@default:1] BackGround("Mobile/Nokia C5-03-7bde", "pbx-invalid") in new stack
  6.     -- <Mobile/Nokia C5-03-7bde> Playing 'pbx-invalid.slin' (language 'en')
  7.     -- Executing [i@default:2] Goto("Mobile/Nokia C5-03-7bde", "1001,1") in new stack
  8.     -- Goto (default,1001,1)
  9.     -- Executing [1001@default:1] Answer("Mobile/Nokia C5-03-7bde", "") in new stack
  10.     -- Executing [1001@default:2] Wait("Mobile/Nokia C5-03-7bde", "2") in new stack
  11.     -- Executing [1001@default:3] BackGround("Mobile/Nokia C5-03-7bde", "thank-you-for-calling") in new stack
  12.     -- <Mobile/Nokia C5-03-7bde> Playing 'thank-you-for-calling.slin' (language 'en')
  13.     -- Executing [1001@default:4] BackGround("Mobile/Nokia C5-03-7bde", "vm-enter-num-to-call") in new stack
  14.     -- <Mobile/Nokia C5-03-7bde> Playing 'vm-enter-num-to-call.slin' (language 'en')
  15.     -- Executing [1001@default:5] WaitExten("Mobile/Nokia C5-03-7bde", "") in new stack
  16.   == CDR updated on Mobile/Nokia C5-03-7bde
  17.     -- Executing [300@default:1] Playback("Mobile/Nokia C5-03-7bde", "demo-echotest") in new stack
  18.     -- <Mobile/Nokia C5-03-7bde> Playing 'demo-echotest.slin' (language 'en')
複製代碼
I have not touched my dialplan so it goes into my IVR

TOP

You meant the integration of mobile phone is very easy and without too much modification?, right?

How is the performance after entering your IVR?

YH

TOP

Very good,和Bubblestar 兄試,基本上冇問題。

TOP

最近也剛完成這個的實做,硬體使用的是
淘汰的舊PC + IVT BlueSoleil USB Dongle + Nokia E65

http://www.osslab.org.tw/index.p ... %E6%A9%9F#section_1
OSSLab Blog :: VoIP & IT Consultant

TOP

回復 9# alang

你有否出現bluetooth connection的問題?

TOP

Alang 師兄在他的網站有提到,可以執行一句指令,讓bluetooth dongle 及手機 被discoverable及連接。

TOP

沒錯,那個指令很容易忽略。
OSSLab Blog :: VoIP & IT Consultant

TOP

回復 12# alang


    Your advice is very good. Did you encounter problem that has one way audio or no audio. I try two mobile phones, one has perfect voice quality but other has one way audio

TOP

我只有試過兩支手機
Nokia E65 -> 通話正常
HTC Magic -> 透過藍芽,只能撥號,但無法傳遞聲音, 撥號後,手機自動切換成 hands-free mode
OSSLab Blog :: VoIP & IT Consultant

TOP

回復 14# alang


    Wondering if 3-way calling works seamless with chan_mobile?

TOP

返回列表