OK. May be it depends of modem firmware, never seen before E1550 with 4 ttyUSB. wvdial method is not precise for searching right modem control device port. I suggest to use picocom/minicom. Make sure that not gsmopen, nor any other software that may use serial port is running. Run: # ls /dev/ttyUSB* /dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2 Connect to serial port (recommend revers order) #picocom /dev/ttyUSBx then call to modem sim-card number. If you will see: RING That port will be controldevice_name. For controldevice_audio_name use x-1, usually it work. Last of /dev/ttyUSB usually is controldevice_name. Best Wishes, Dmitry. 2012/8/22 Sameer Khan <sameer2k3t@gmail.com>
It worked with
<param name="controldevice_name" value="/dev/ttyUSB3"/> <param name="controldevice_audio_name" value="/dev/ttyUSB2"/>
I tried usermod -a -G dialout root
before typo as freeswitch was running with root, so may it fixed the issue.
Thanks alot for your help my friend
On Wed, Aug 22, 2012 at 6:49 PM, Dmitry Lysenko <dvl36.ripe.nick@gmail.com
wrote:
So, if it doesn't work with audio device at /dev/ttyUSB2, try /dev/ttyUSB1 Typo was at ttyUSB1 too.
2012/8/22 Sameer Khan <sameer2k3t@gmail.com>
Could not be because freeswitch is being run as root
And it can load /dev/ttyUSB0
sorry I had typo in audio line, It can load ttyUSB2 now
On Wed, Aug 22, 2012 at 6:03 PM, Dmitry Lysenko < dvl36.ripe.nick@gmail.com> wrote:
Maybe:
http://lists.freeswitch.org/pipermail/freeswitch-users/2012-August/087009.ht... ?
2012/8/22 Sameer Khan <sameer2k3t@gmail.com>
this is wvdial output
Found a modem on /dev/ttyUSB0. Modem configuration written to /etc/wvdial.conf. ttyUSB0<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" ttyUSB3<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
On Wed, Aug 22, 2012 at 5:39 PM, Sameer Khan <sameer2k3t@gmail.com>wrote:
No luck
2012-08-22 17:35:38.337967 [ERR] gsmopen_protocol.cpp:3160 rev ccae5cd|07bc7ba[(nil)|37 ][ERRORA 3160 ][gsm01 ][-1, 0, 0] port ttyUSB2, NOT open
2012-08-22 17:37:27.057967 [ERR] gsmopen_protocol.cpp:3160 rev ccae5cd|07bc7ba[(nil)|37 ][ERRORA 3160 ][gsm01 ][-1, 0, 0] port ttyUSB1, NOT open
Yes It is enabled, I tested before on other box
On Wed, Aug 22, 2012 at 5:01 PM, Dmitry Lysenko < dvl36.ripe.nick@gmail.com> wrote:
> Hi, > > I have reproduced such situation. It seems that > controldevice_audio_name is pointing to wrong /dev/ttyUSBx. > I suggest try: > > <param name="controldevice_name" value="/dev/ttyUSB0"/> > <param name="controldevice_audio_name" value="/dev/ttyUSB1"/> > > if doesn't help try: > <param name="controldevice_name" value="/dev/ttyUSB0"/> > <param name="controldevice_audio_name" value="/dev/ttyUSB2"/> > > P.S. Are you sure modem voice feature enabled? > > 2012/8/22 Sameer Khan <sameer2k3t@gmail.com> > >> Hi, >> >> It says >> >> option 8690 0 >> usb_wwan 9960 1 option >> usbserial 31372 2 option,usb_wwan >> >> What should I do now to get it working ? >> >> Thanks for replying >> >> On Tue, Aug 21, 2012 at 2:55 PM, Dmitry Lysenko < >> dvl36.ripe.nick@gmail.com> wrote: >> >>> As root: lsmod | grep option >>> Should be something like that: >>> --- >>> root@debian:~# lsmod | grep option >>> option 15351 6 >>> usb_wwan 8362 1 option >>> usbserial 26535 14 usb_wwan,option >>> usbcore 122921 10 >>> ehci_hcd,usb_storage,usbserial,gspca_main,usb_wwan,option,gspca_zc3xx,snd_usbmidi_lib,snd_usb_audio >>> --- >>> 2012/8/21 Sameer Khan <sameer2k3t@gmail.com> >>> >>>> I guess so, I have CentOS 6 minimal installed >>>> >>>> how can I identify if this is option driver ? >>>> >>>> Yes I saw this message on ttyUSB0 >>>> >>>> I can not load gsmopen with ttyUSB2 or ttyUSB1 >>>> >>>> >>>> On Tue, Aug 21, 2012 at 2:21 PM, Dmitry Lysenko < >>>> dvl36.ripe.nick@gmail.com> wrote: >>>> >>>>> Are you using "option" linux driver? >>>>> I checked Huawei E1550, E153 and E173 modems on some systems and >>>>> they have only 3 virtual serial ports.(using "option" driver) >>>>> Also you can check manually with minicom. >>>>> Usually ttyUSB0 is accepting AT-commands, but will not reply >>>>> with OK or ERROR, ttyUSB1 is used for audio, and ttyUSB2 is accepting >>>>> AT-commands and replying as normal serial modem. >>>>> >>>>> >>>>> 2012/8/21 Sameer Khan <sameer2k3t@gmail.com> >>>>> >>>>>> It didn't for me, according to wvdial my modem is ttyUSB0 and >>>>>> ttyUSB3 >>>>>> >>>>>> On Mon, Aug 20, 2012 at 1:43 PM, Dmitry Lysenko < >>>>>> dvl36.ripe.nick@gmail.com> wrote: >>>>>> >>>>>>> >>>>>>> Hello. >>>>>>> Try: >>>>>>> <param name="controldevice_name" value="/dev/ttyUSB2"/> >>>>>>> <param name="controldevice_audio_name" value="/dev/ttyUSB1"/> >>>>>>> It's worked for me. >>>>>>> >>>>>>> 2012/8/20 Sameer Khan <sameer2k3t@gmail.com> >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> I can't get audio working with e1550 >>>>>>>> >>>>>>>> I have this config : >>>>>>>> <interface id="1" name="gsm01"> >>>>>>>> <param name="controldevice_name" value="/dev/ttyUSB0"/> >>>>>>>> <param name="controldevice_audio_name" >>>>>>>> value="/dev/ttyUSB3"/> >>>>>>>> >>>>>>>> I tried swaping 0 and 3 but having same results >>>>>>>> >>>>>>>> I am originating a call from softphone and answering it on >>>>>>>> cell phone but softphone doesn't get notified of being answered and keeps >>>>>>>> ringing >>>>>>>> >>>>>>>> Please help >>>>>>>> >>>>>>>> Thanks >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting@freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >>>>>>>> http://www.cudatel.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://wiki.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users@lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting@freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >>>>>>> http://www.cudatel.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://wiki.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users@lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting@freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >>>>>> http://www.cudatel.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://wiki.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users@lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting@freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >>>>> http://www.cudatel.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://wiki.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users@lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting@freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >>>> http://www.cudatel.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://wiki.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users@lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting@freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >>> http://www.cudatel.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://wiki.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users@lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting@freeswitch.org >> http://www.freeswitchsolutions.com >> >> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >> http://www.cudatel.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://wiki.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users@lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org > http://www.freeswitchsolutions.com > > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > http://www.cudatel.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > >
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org