Hello Elton, You need a sender and a receiver. The sender gets specified by the "from" variable in the URL. The receiver, by the "to" variable. The error states that the sender is missing. Give it another try. :)
On Mon, Mar 2, 2009 at 10:47 AM, Elton Hoxha <[email protected]> wrote: > Hi, > > IT was just a mistake, pasting directly from the guide. Normally I tried > invoking like this; > > http://smsbox.localhost:13013/cgi-bin/sendsms?username=a&password=a&to=355672000040&text=Hello+world > > About the URL, I don't know the reason of smsbox.localhost. I saw it in the > guide under the Running SMS gateway section. > When I try to invoke like this; > > http://localhost:13013/cgi-bin/sendsms?username=a&password=a&to=355672000040&text=Hello+world > > I get this error on the page: > > Sender missing and no global set, rejected > > Thanks in advance > > > > > -----Original Message----- > From: Rodrigo Cremaschi [mailto:[email protected]] > Sent: Monday, March 02, 2009 1:44 PM > To: Elton Hoxha > Cc: Falko Ziemann; [email protected] > Subject: Re: SMPP problem > > Hi, > > 1) Why are you defining > > username = a > password = a > > in sendsms-user group, and then using another user and pass when > invoking the URL? > > 2) Does "smsbox.localhost" exist at all? > > Regards, > Rodrigo. > > On Mon, Mar 2, 2009 at 10:34 AM, Elton Hoxha <[email protected]> > wrote: >> Hi, >> >> >> >> I followed the instruction in the guide and configured the smskannel.conf >> like this; >> >> >> >> group = core >> >> admin-port = 13000 >> >> smsbox-port = 13001 >> >> admin-password = bar >> >> log-file = "/tmp/kannel.log" >> >> log-level = 0 >> >> box-deny-ip = "*.*.*.*" >> >> box-allow-ip = "127.0.0.1" >> >> >> >> group=smsc >> >> smsc=smpp >> >> smsc-id=internal >> >> interface-version=34 >> >> host=10.234.252.80 >> >> port=3700 >> >> system-id=bkt >> >> smsc-password=bkt >> >> system-type=bkt >> >> transceiver-mode=1 >> >> >> >> group = smsbox >> >> bearerbox-host = 127.0.0.1 >> >> sendsms-port = 13013 >> >> log-level = 0 >> >> >> >> group = sendsms-user >> >> username = a >> >> password = a >> >> >> >> Then I try to call from the browser like that; >> >> >> >> http://smsbox.localhost:13013/cgi-bin/sendsms?username=foo&password=bar&to=0123456&text=Hello+world >> but is not responding. >> >> >> >> Any clue? >> >> >> >> >> >> >> >> From: Falko Ziemann [mailto:[email protected]] >> Sent: Monday, March 02, 2009 11:22 AM >> To: Elton Hoxha >> Cc: [email protected] >> Subject: Re: SMPP problem >> >> >> >> Please take a look at the userguide. There is nice chapter "Running SMS >> Gateway" >> >> >> >> Am 02.03.2009 um 11:11 schrieb Elton Hoxha: >> >> Hi, >> >> >> >> Thank you for your prompt reply. >> >> >> >> I managed to connect to my SMPP Server, making bind and unbind normally. Now >> could you please tell me how can I test now sending sms from this account I >> have defined to my mobile. >> >> >> >> Regards >> >> Elton >> >> >> >> From: Falko Ziemann [mailto:[email protected]] >> Sent: Monday, March 02, 2009 10:55 AM >> To: Elton Hoxha >> Cc: [email protected] >> Subject: Re: SMPP problem >> >> >> >> Hi, >> >> >> >> Yes, there really seems to be a problem in your config an kannel says ist >> appears in line 91 but only posted about 30 lines of config... are you sure >> this is your complete config?? >> >> >> >> Regards >> >> Falko >> >> >> >> Am 02.03.2009 um 10:34 schrieb Elton Hoxha: >> >> >> Hi >> >> >> >> After configuring the setting to connect to SMPP Server, I run ./smsbox -v 1 >> smskannel.conf and I receive the below error: >> >> >> >> 2009-03-02 05:52:00 [6213] [0] INFO: Debug_lvl = -1, log_file = <none>, >> log_lvl = 0 >> >> 2009-03-02 05:52:00 [6213] [0] ERROR: Group does not contain variable >> 'group'. >> >> 2009-03-02 05:52:00 [6213] [0] ERROR: Error found on line 91 of file >> `smskannel.conf'. >> >> 2009-03-02 05:52:00 [6213] [0] PANIC: Couldn't read configuration from >> `smskannel.conf'. >> >> 2009-03-02 05:52:00 [6213] [0] PANIC: ./smsbox(gw_panic+0xc2) [0x8087212] >> >> 2009-03-02 05:52:00 [6213] [0] PANIC: ./smsbox(main+0x133b) [0x80541eb] >> >> 2009-03-02 05:52:00 [6213] [0] PANIC: /lib/libc.so.6(__libc_start_main+0xdc) >> [0x942dec] >> >> 2009-03-02 05:52:00 [6213] [0] PANIC: ./smsbox [0x8052701] >> >> >> >> Below it is my smskannel.conf >> >> >> >> group = core >> >> admin-port = 13000 >> >> smsbox-port = 13001 >> >> admin-password = bar >> >> #status-password = foo >> >> #admin-deny-ip = "" >> >> admin-allow-ip = "127.0.0.1" >> >> log-file = "/tmp/kannel.log" >> >> log-level = 0 >> >> #box-deny-ip = "*.*.*.*" >> >> box-allow-ip = "127.0.0.1" >> >> #unified-prefix = "+358,00358,0;+,00" >> >> #access-log = "/tmp/access.log" >> >> #store-file = "kannel.store" >> >> #ssl-server-cert-file = "cert.pem" >> >> #ssl-server-key-file = "key.pem" >> >> #ssl-certkey-file = "mycertandprivkeyfile.pem" >> >> >> >> group = smsbox >> >> bearerbox-host = 127.0.0.1 >> >> sendsms-port = 13013 >> >> global-sender = 13013 >> >> #sendsms-chars = "0123456789 +-" >> >> #log-file = "/tmp/smsbox.log" >> >> #log-level = 0 >> >> #access-log = "/tmp/access.log" >> >> >> >> >> >> >> >> # SMSC SMPP >> >> group = smsc >> >> smsc = smpp >> >> host = 10.234.252.80 >> >> port = 3700 >> >> receive-port = 3700 >> >> smsc-username = "bkt" >> >> smsc-password = bkt >> >> system-type = "bkt" >> >> address-range = "15166" >> >> transceiver-mode = 1 >> >> >> >> Is there any problem in my configuration file? >> >> >> >> Thanks >> >> Elton >> >> __________ Information from ESET NOD32 Antivirus, version of virus signature >> database 3900 (20090302) __________ >> >> The message was checked by ESET NOD32 Antivirus. >> >> http://www.eset.com >> >> ________________________________ >> >> "This e-mail and any files transmitted with it are confidential and intended >> solely for the use of the individual or entity to whom they are addressed. >> If you are not the intended recipient you are hereby notified that any >> dissemination, forwarding, copying or use of any of the information is >> strictly prohibited. If you receive this e-mail in error, please notify the >> sender by phone or e-mail immediately and delete it! Eagle Mobile makes no >> warranty as to the accuracy or completeness of any information contained in >> this message and hereby excludes any liability of any kind for the >> information contained therein or for the information transmission, >> reception, storage or use of such in any way whatsoever. The opinions >> expressed in this message may belong to sender alone and may not necessarily >> reflect the opinions of Eagle Mobile. Eagle Mobile shall bear no liability >> for any loss or damage caused by software or e-mail viruses." >> >> >> "Ky mesazh dhe cdo informacion i transmetuar ne permbajtje te ketij mesazhi >> eshte konfidencial dhe eshte i destinuar vetem per individin ose per >> institucionin te cilit i eshte drejtuar. Nese nuk jeni marresi i destinuar, >> Ju bejme me dije se cdo perhapje, transmetim, kopjim apo perdorim i cdo >> informacioni eshte i ndaluar. Nese e merrni kete mesazh gabimisht, ju lutem >> kontaktoni urgjentisht nisesin e tij me telefon apo poste elektronike dhe >> fshijeni ate. >> Eagle Mobile nuk jep asnje garanci per saktesine apo plotesine e >> informacionit ne permbajtje te ketij mesazhi dhe nuk mban asnje pergjegjesi >> per informacionin e permbajtur, transmetimin, marrjen, ruajtjen apo >> perdorimin e tij ne cfaredolloj menyre. Mendimet e shprehura ne kete mesazh >> mund t'i perkasin vete nisesit dhe nuk mund te reflektojne domosdoshmerisht >> qendrimet e Eagle Mobile. Eagle Mobile nuk do te mbaje asnje pergjegjesi per >> humbje ose deme te shkaktuara nga programet apo viruset." >> >> >> >> >> >> ________________________________ >> >> "This e-mail and any files transmitted with it are confidential and intended >> solely for the use of the individual or entity to whom they are addressed. >> If you are not the intended recipient you are hereby notified that any >> dissemination, forwarding, copying or use of any of the information is >> strictly prohibited. If you receive this e-mail in error, please notify the >> sender by phone or e-mail immediately and delete it! Eagle Mobile makes no >> warranty as to the accuracy or completeness of any information contained in >> this message and hereby excludes any liability of any kind for the >> information contained therein or for the information transmission, >> reception, storage or use of such in any way whatsoever. The opinions >> expressed in this message may belong to sender alone and may not necessarily >> reflect the opinions of Eagle Mobile. Eagle Mobile shall bear no liability >> for any loss or damage caused by software or e-mail viruses." >> >> >> "Ky mesazh dhe cdo informacion i transmetuar ne permbajtje te ketij mesazhi >> eshte konfidencial dhe eshte i destinuar vetem per individin ose per >> institucionin te cilit i eshte drejtuar. Nese nuk jeni marresi i destinuar, >> Ju bejme me dije se cdo perhapje, transmetim, kopjim apo perdorim i cdo >> informacioni eshte i ndaluar. Nese e merrni kete mesazh gabimisht, ju lutem >> kontaktoni urgjentisht nisesin e tij me telefon apo poste elektronike dhe >> fshijeni ate. >> Eagle Mobile nuk jep asnje garanci per saktesine apo plotesine e >> informacionit ne permbajtje te ketij mesazhi dhe nuk mban asnje pergjegjesi >> per informacionin e permbajtur, transmetimin, marrjen, ruajtjen apo >> perdorimin e tij ne cfaredolloj menyre. Mendimet e shprehura ne kete mesazh >> mund t'i perkasin vete nisesit dhe nuk mund te reflektojne domosdoshmerisht >> qendrimet e Eagle Mobile. Eagle Mobile nuk do te mbaje asnje pergjegjesi per >> humbje ose deme te shkaktuara nga programet apo viruset." >> >> >> >> ________________________________ >> "This e-mail and any files transmitted with it are confidential and intended >> solely for the use of the individual or entity to whom they are addressed. >> If you are not the intended recipient you are hereby notified that any >> dissemination, forwarding, copying or use of any of the information is >> strictly prohibited. If you receive this e-mail in error, please notify the >> sender by phone or e-mail immediately and delete it! Eagle Mobile makes no >> warranty as to the accuracy or completeness of any information contained in >> this message and hereby excludes any liability of any kind for the >> information contained therein or for the information transmission, >> reception, storage or use of such in any way whatsoever. The opinions >> expressed in this message may belong to sender alone and may not necessarily >> reflect the opinions of Eagle Mobile. Eagle Mobile shall bear no liability >> for any loss or damage caused by software or e-mail viruses." >> >> >> "Ky mesazh dhe cdo informacion i transmetuar ne permbajtje te ketij mesazhi >> eshte konfidencial dhe eshte i destinuar vetem per individin ose per >> institucionin te cilit i eshte drejtuar. Nese nuk jeni marresi i destinuar, >> Ju bejme me dije se cdo perhapje, transmetim, kopjim apo perdorim i cdo >> informacioni eshte i ndaluar. Nese e merrni kete mesazh gabimisht, ju lutem >> kontaktoni urgjentisht nisesin e tij me telefon apo poste elektronike dhe >> fshijeni ate. >> Eagle Mobile nuk jep asnje garanci per saktesine apo plotesine e >> informacionit ne permbajtje te ketij mesazhi dhe nuk mban asnje pergjegjesi >> per informacionin e permbajtur, transmetimin, marrjen, ruajtjen apo >> perdorimin e tij ne cfaredolloj menyre. Mendimet e shprehura ne kete mesazh >> mund t'i perkasin vete nisesit dhe nuk mund te reflektojne domosdoshmerisht >> qendrimet e Eagle Mobile. Eagle Mobile nuk do te mbaje asnje pergjegjesi per >> humbje ose deme te shkaktuara nga programet apo viruset." >> > > "This e-mail and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. If > you are not the intended recipient you are hereby notified that any > dissemination, forwarding, copying or use of any of the information is > strictly prohibited. If you receive this e-mail in error, please notify the > sender by phone or e-mail immediately and delete it! Eagle Mobile makes no > warranty as to the accuracy or completeness of any information contained in > this message and hereby excludes any liability of any kind for the > information contained therein or for the information transmission, reception, > storage or use of such in any way whatsoever. The opinions expressed in this > message may belong to sender alone and may not necessarily reflect the > opinions of Eagle Mobile. Eagle Mobile shall bear no liability for any loss > or damage caused by software or e-mail viruses." > > > "Ky mesazh dhe cdo informacion i transmetuar ne permbajtje te ketij mesazhi > eshte konfidencial dhe eshte i destinuar vetem per individin ose per > institucionin te cilit i eshte drejtuar. Nese nuk jeni marresi i destinuar, > Ju bejme me dije se cdo perhapje, transmetim, kopjim apo perdorim i cdo > informacioni eshte i ndaluar. Nese e merrni kete mesazh gabimisht, ju lutem > kontaktoni urgjentisht nisesin e tij me telefon apo poste elektronike dhe > fshijeni ate. > Eagle Mobile nuk jep asnje garanci per saktesine apo plotesine e > informacionit ne permbajtje te ketij mesazhi dhe nuk mban asnje pergjegjesi > per informacionin e permbajtur, transmetimin, marrjen, ruajtjen apo > perdorimin e tij ne cfaredolloj menyre. Mendimet e shprehura ne kete mesazh > mund t'i perkasin vete nisesit dhe nuk mund te reflektojne domosdoshmerisht > qendrimet e Eagle Mobile. Eagle Mobile nuk do te mbaje asnje pergjegjesi per > humbje ose deme te shkaktuara nga programet apo viruset." >
