[Freeswitch-users] Could not connect thru GSMOpen
Giovanni Maruzzelli
gmaruzz at gmail.com
Thu Jun 30 18:04:54 MSD 2011
the "plughw:1" alsa device does not exists (or is not read-write to
the FS user).
Are you using a soundcard connected to the cellphone? To be audio
enabled, gsmopen need a soundcard connected to the cellphone (as
explained in the wiki page).
If you're not interested in audio, but only in SMS, then compile
gsmopen without audio, so it will not check for the soundcard.
Also, I don't know if gsmopen will work with the kind of cellphone
you're using. For sure it works with mobigater embedded devices, with
motorolas, with ericssons.
-giovanni
-giovanni
On Thu, Jun 30, 2011 at 3:37 PM, ankIT WALiA <ankitwalia4u at gmail.com> wrote:
> Hi all,
>
> I have properly compiled the gsmopen module.
>
> Added the Dialplan
>
> <extension name="gsmopen">
> <condition field="destination_number" expression="^1002$">
> <action application="bridge" data="gsmopen/interface1/xxxxxxxxx"/>
> </condition>
> </extension>
> ----------------------------------------------------
> And the gsm conf file
> <configuration name="gsmopen.conf" description="GSMopen Configuration">
> -
> <global_settings>
>
> <param name="debug" value="8"/>
> <param name="dialplan" value="XML"/>
> <param name="context" value="default"/>
> <param name="hold-music" value="$${moh_uri}"/>
>
> <param name="destination" value="9999"/>
> </global_settings>
> <!-- one entry here per gsmopen interface -->
> -
> <per_interface_settings>
> -
> <interface id="1" name="interface1">
>
> <param name="hold-music" value="$${moh_uri}"/>
> <param name="dialplan" value="XML"/>
> <param name="context" value="default"/>
> <param name="destination" value="5000"/>
>
> <param name="alsacname" value="plughw:1"/>
> <param name="alsapname" value="plughw:1"/>
> <param name="controldevice_name" value="/dev/ttyACM1"/>
>
> </interface>
> <!-- following interfaces are commented out!
> -->
> </per_interface_settings>
> </configuration>
> ------------------------------------------------------------------
> I am using a Nokia handset in India
>
> ---------------------------------------------------------------------
> I am getting the below error on gsm_load.
>
> gsm reload
> 2011-06-30 19:03:52.716491 [WARNING] mod_gsmopen.cpp:1860 rev
> exported[(nil)|37 ][WARNINGA 1860 ][interface1][-1, 0, 0] STARTING
> interface_id=1
>
> 2011-06-30 19:03:56.616460 [ERR] gsmopen_protocol.cpp:2999 rev
> exported[(nil)|37 ][ERRORA 2999 ][interface1][-1, 0, 0] snd_pcm_open
> failed with error 'No such file or directory' on device 'plughw:1', if you
> are using a plughw:n device please change it to be a default:n device (so to
> allow it to be shared with other concurrent programs), or maybe you are
> using an ALSA voicemodem and slmodemd is running?
>
> 2011-06-30 19:03:56.616460 [ERR] gsmopen_protocol.cpp:2891 rev
> exported[(nil)|37 ][ERRORA 2891 ][interface1][-1, 0, 0] Failed opening
> ALSA capture device: plughw:1
> 2011-06-30 19:03:56.616460 [ERR] mod_gsmopen.cpp:1931 rev exported[(nil)|37
> ][ERRORA 1931 ][interface1][-1, 0, 0] alsa_init failed
>
> 2011-06-30 19:03:56.616460 [ERR] mod_gsmopen.cpp:1932 rev exported[(nil)|37
> ][ERRORA 1932 ][interface1][-1, 0, 0] STARTING interface_id=1 FAILED
> 2011-06-30 19:03:56.616460 [ERR] mod_gsmopen.cpp:3146 rev exported[(nil)|37
> ][ERRORA 3146 ][interface1][-1, 0, 0] ALARM on interface interface1:
>
>
> -----------------------------------------------------------------------------------------------------------------
> I could not understand what does the error message trying to say? I am
> connected to friend's mobile with datacable on com1 port. I jsut wanted to
> check SMS. Please help.
>
> Thanks
> Ankit
>
> --
> Life is like a rose its upto u feel it as its fragrance or thorns
>
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
--
Sincerely,
Giovanni Maruzzelli
Cell : +39-347-2665618
More information about the FreeSWITCH-users
mailing list