Tigran Kocharyan
2006-Jun-09 22:24 UTC
[Asterisk-Users] VGSM Trouble: Kind people, help me please...
Dear Forum Members, I just purchased two VoiSmart GSM cards. Tried to install one of them on my Fedora Core 5 system, The compilation was not smooth, as expected, but after a small fix, it went through. Then I put two SIM cards in the card's slots. Then I loaded the modules. Then I started the Asterisk. After all I configured the vgsm.conf file according to my settings, that is just changed the slot numbers where I installed the SIM cards. Now, while the Asterisk reloads, it gives me this Error: >Jun 10 01:12:44 ERROR[5309]: chan_vgsm.c:3960 vgsm_module_codec_init: >ioctl(IOC_CODEC_SET, RESET) failed: Bad file descriptor Well, the Asterisk command "show vgsm interfaces" gives out this output: localhost*CLI> show vgsm interfaces wind : NO_NET NOT_REGISTERED vodafone: FAILED NOT_SEARCHING As a matter of fact, I followed the instructions on rarely found documentation on VoiSmart's GSM cards, at http://open.voismart.it/index.php/VGSM Are there any people that purchased those GSM cards and configured successfully or I'm the only one to struggle against this trouble? Any hint is highly appreciated, as I guess I'm totally lost! Kind Regards, Hohenzolern
Woodoo People .pGa!
2006-Jun-10 11:16 UTC
[Asterisk-Users] VGSM Trouble: Kind people, help me please...
It was a pain in the ass, to setup the driver first times... however, they just released a stable(?) driver what works well. http://open.voismart.it/ configure the vgsm.conf file as the following: [general] sms_spooler = /usr/lib/asterisk/sms_spooler sms_spooler_pars = -it [global] rx_gain = 255 tx_gain = 255 set_clock = yes [card0] device = /dev/vgsm0s0 pin context = gsm sms_service_center = +3620930xxx ;operator_selection = auto ;operator_id that file will make operate the first module (the nearest to the antennas) you should try to run asterisk as user root (asterisk -u root) the stuff installs the files suited for user root and not for user asterisk -- WoodOO-[P]an[G]alaktikan[A]gent-People <][> http://shadow.pganet.com wpeople@shadow.pganet.com]iCQ#33118021[wpeople.on.iRCNet]wpeople@RedHat.users
Tigran Kocharyan
2006-Jun-10 20:22 UTC
[Asterisk-Users] RE: VGSM Trouble: Kind people, help me please...
Thanks a lot for responding. I did what you recomended, and it works now. At least I can make simple calls out. Did not try the incoming part though. Now it is still unclear : - how to make the "Dial" application choose the first available channel? - or how to get CID out of the interface? Does it set the Global variables as it is in Zaptel? - ...and a lot of stuff alike, as it usually happens with newly developing project... Thanks Again. Regards, Hohenzolern
Woodoo People .pGa!
2006-Jun-11 03:32 UTC
[Asterisk-Users] RE: VGSM Trouble: Kind people, help me please...
> Thanks a lot for responding. > I did what you recomended, and it works now. At least I can make simple > calls out. Did not try the incoming part though. > Now it is still unclear : > - how to make the "Dial" application choose the first available channel?the easiest (for you) is installing freepbx (or amportal) set up the trunks (i mean all the four channels) and add all the trunks to outbound routing> - or how to get CID out of the interface? Does it set the Global > variables as it is in Zaptel?it works right.> - ...and a lot of stuff alike, as it usually happens with newly > developing project...you R welcome -- WoodOO-[P]an[G]alaktikan[A]gent-People <][> http://shadow.pganet.com wpeople@shadow.pganet.com]iCQ#33118021[wpeople.on.iRCNet]wpeople@RedHat.users