On Thu, Jun 30, 2011 at 3:37 PM, ankIT WALiA <
ankitwalia4u@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
>