<span style="font-family: georgia,serif;">Ok, Could you please guide me how can I uninstall the alsa on my Ubuntu system.</span><br style="font-family: georgia,serif;"><br style="font-family: georgia,serif;"><span style="font-family: georgia,serif;">I tried installing on other system having Centos (this system is fresh freeswitch install). I followed the steps</span><br style="font-family: georgia,serif;">
<pre style="font-family: georgia,serif;">cd gsmlib/gsmlib-1.10-patched-12ubuntu1
./configure
make
make install<br><br>Now, I was confused at this below step. What does the below lines mean on wiki. <br><i>Without audio support (<b>SMSs only, no voice calls</b>)
</i></pre><ul style="font-family: georgia,serif;"><li><i> With gsmlib is in noaudio_gsmlib_cplusplus/mod_gsmopen
</i></li><li><i> Without gsmlib is in noaudio_nogsmlib_nocplusplus/mod_gsmopen
</i></li></ul><span style="font-family: georgia,serif;">Does it mean that I need to add one more layer of directory under endpoints/noaudio_gsmlib_cplusplus/mod_gsmopen
?</span><br style="font-family: georgia,serif;"><br style="font-family: georgia,serif;"><span style="font-family: georgia,serif;">Although I was not sure, Still I did install under normal mod_gsmopen. Now when I am trying to load mod_gsmopen. It is giving me the error </span><br style="font-family: georgia,serif;">
<span style="font-family: georgia,serif;">2011-07-01 09:59:53.689233 [CRIT] switch_loadable_module.c:928 Error</span><br style="font-family: georgia,serif;"><span style="font-family: georgia,serif;">
Loading module /usr/local/freeswitch/mod/mod_gsmopen.so</span><br style="font-family: georgia,serif;"><br style="font-family: georgia,serif;"><span style="font-family: georgia,serif;">Though the file </span><span style="font-family: georgia,serif;">mod_gsmopen.so </span><span style="font-family: georgia,serif;">exist and I logged into root which has all the permission.</span><br style="font-family: georgia,serif;">
<br style="font-family: georgia,serif;"><span style="font-family: georgia,serif;">Please help.</span><br style="font-family: georgia,serif;"><br style="font-family: georgia,serif;"><span style="font-family: georgia,serif;">Regards,</span><br style="font-family: georgia,serif;">
<span style="font-family: georgia,serif;">Ankit</span><br>
<br><br><br><div class="gmail_quote">On Thu, Jun 30, 2011 at 7:34 PM, Giovanni Maruzzelli <span dir="ltr"><<a href="mailto:gmaruzz@gmail.com">gmaruzz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
the "plughw:1" alsa device does not exists (or is not read-write to<br>
the FS user).<br>
<br>
Are you using a soundcard connected to the cellphone? To be audio<br>
enabled, gsmopen need a soundcard connected to the cellphone (as<br>
explained in the wiki page).<br>
<br>
If you're not interested in audio, but only in SMS, then compile<br>
gsmopen without audio, so it will not check for the soundcard.<br>
<br>
Also, I don't know if gsmopen will work with the kind of cellphone<br>
you're using. For sure it works with mobigater embedded devices, with<br>
motorolas, with ericssons.<br>
<br>
-giovanni<br>
-giovanni<br>
<div><div></div><div class="h5"><br>
On Thu, Jun 30, 2011 at 3:37 PM, ankIT WALiA <<a href="mailto:ankitwalia4u@gmail.com">ankitwalia4u@gmail.com</a>> wrote:<br>
> Hi all,<br>
><br>
> I have properly compiled the gsmopen module.<br>
><br>
> Added the Dialplan<br>
><br>
> <extension name="gsmopen"><br>
> <condition field="destination_number" expression="^1002$"><br>
> <action application="bridge" data="gsmopen/interface1/xxxxxxxxx"/><br>
> </condition><br>
> </extension><br>
> ----------------------------------------------------<br>
> And the gsm conf file<br>
> <configuration name="gsmopen.conf" description="GSMopen Configuration"><br>
> -<br>
> <global_settings><br>
><br>
> <param name="debug" value="8"/><br>
> <param name="dialplan" value="XML"/><br>
> <param name="context" value="default"/><br>
> <param name="hold-music" value="$${moh_uri}"/><br>
><br>
> <param name="destination" value="9999"/><br>
> </global_settings><br>
> <!-- one entry here per gsmopen interface --><br>
> -<br>
> <per_interface_settings><br>
> -<br>
> <interface id="1" name="interface1"><br>
><br>
> <param name="hold-music" value="$${moh_uri}"/><br>
> <param name="dialplan" value="XML"/><br>
> <param name="context" value="default"/><br>
> <param name="destination" value="5000"/><br>
><br>
> <param name="alsacname" value="plughw:1"/><br>
> <param name="alsapname" value="plughw:1"/><br>
> <param name="controldevice_name" value="/dev/ttyACM1"/><br>
><br>
> </interface><br>
> <!-- following interfaces are commented out!<br>
> --><br>
> </per_interface_settings><br>
> </configuration><br>
> ------------------------------------------------------------------<br>
> I am using a Nokia handset in India<br>
><br>
> ---------------------------------------------------------------------<br>
> I am getting the below error on gsm_load.<br>
><br>
> gsm reload<br>
> 2011-06-30 19:03:52.716491 [WARNING] mod_gsmopen.cpp:1860 rev<br>
> exported[(nil)|37 ][WARNINGA 1860 ][interface1][-1, 0, 0] STARTING<br>
> interface_id=1<br>
><br>
> 2011-06-30 19:03:56.616460 [ERR] gsmopen_protocol.cpp:2999 rev<br>
> exported[(nil)|37 ][ERRORA 2999 ][interface1][-1, 0, 0] snd_pcm_open<br>
> failed with error 'No such file or directory' on device 'plughw:1', if you<br>
> are using a plughw:n device please change it to be a default:n device (so to<br>
> allow it to be shared with other concurrent programs), or maybe you are<br>
> using an ALSA voicemodem and slmodemd is running?<br>
><br>
> 2011-06-30 19:03:56.616460 [ERR] gsmopen_protocol.cpp:2891 rev<br>
> exported[(nil)|37 ][ERRORA 2891 ][interface1][-1, 0, 0] Failed opening<br>
> ALSA capture device: plughw:1<br>
> 2011-06-30 19:03:56.616460 [ERR] mod_gsmopen.cpp:1931 rev exported[(nil)|37<br>
> ][ERRORA 1931 ][interface1][-1, 0, 0] alsa_init failed<br>
><br>
> 2011-06-30 19:03:56.616460 [ERR] mod_gsmopen.cpp:1932 rev exported[(nil)|37<br>
> ][ERRORA 1932 ][interface1][-1, 0, 0] STARTING interface_id=1 FAILED<br>
> 2011-06-30 19:03:56.616460 [ERR] mod_gsmopen.cpp:3146 rev exported[(nil)|37<br>
> ][ERRORA 3146 ][interface1][-1, 0, 0] ALARM on interface interface1:<br>
><br>
><br>
> -----------------------------------------------------------------------------------------------------------------<br>
> I could not understand what does the error message trying to say? I am<br>
> connected to friend's mobile with datacable on com1 port. I jsut wanted to<br>
> check SMS. Please help.<br>
><br>
> Thanks<br>
> Ankit<br>
><br>
> --<br>
> Life is like a rose its upto u feel it as its fragrance or thorns<br>
><br>
</div></div>> _______________________________________________<br>
> Join us at ClueCon 2011, Aug 9-11, Chicago<br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
Sincerely,<br>
<br>
Giovanni Maruzzelli<br>
Cell : +39-347-2665618<br>
<br>
_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Life is like a rose its upto u feel it as its fragrance or thorns<br>