Re: Unable to Open get-url in sms-service
Kyriacos/Netsmart <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
probably should have posted this to user. Not sure but maybe the semicolons at the end of the URL lines are messing things up? try just: get-url = "http://192.168.0.212:8080/AGSMS/agMessage" On 17/08/2012 10:26, Talha Syed wrote: > Hi Guys ! > > I am newbie in kannel sms gateway configuration. Recently I have > configured kannel on redhat enterprise linux and using (WaveCom > FASTTRACK modem serial # M1306B) . Every thing is fine > but the problem is : > > when i send message to kannel, it is not invoking get-url > get-url = "http://192.168.0.212:8080/AGSMS/agMessage";; > > i have made java servlet which display only "Hello World" > but when i send message, it gives error : > url does'nt start with 'http' or 'https' > > please help > > > here is my kannel.config: > > #http://192.168.0.216:8013/cgi-bin/sendsms?username=foo&password=bar&to=03463243505&from=&text=assalamoalikum:) > group = core > admin-port = 25200 > smsbox-port = 25201 > admin-password = bar > admin-deny-ip = "*.*.*.*" > admin-allow-ip = "127.0.0.1;192.168.0.*" > box-deny-ip = "*.*.*.*" > box-allow-ip = "127.0.0.1;192.168.0.*" > #log-file = "/tmp/kannel.log" > log-level = 0 > #access-log = "/tmp/kannel.access" > #unified-prefix = "0,86;0,+86" > > group = smsc > smsc = at > smsc-id = GSMModem > modemtype = auto > device = /dev/ttyS0 > #device = /dev/modem > #speed = 9600 > speed = auto > sim-buffering = true > #my-number = 86138xxxxxxxx > #sms-center = 03035069783 > validityperiod = 168 > #pin = 1234 > > group = modems > id = iTegno > detect-string = "WAVECOM" > detect-string2 = "MODEM" > message-storage = sm > speed = 9600 > #speed = auto > need-sleep = true > init-string="ATZ" > init-string="ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" > > group = smsbox > bearerbox-host = localhost > ######################################## > sendsms-port = 25024 > global-sender = "03002433320" > #sendsms-chars = "0123456789 +-" > #access-log = "/tmp/kannel.access" > #log-file = "/tmp/smsbox.log" > log-level = 0 > > group = sendsms-user > username = foo > password = bar > user-deny-ip = "*.*.*.*" > user-allow-ip = "192.168.0.*;127.0.0.1" > max-messages = 3 > concatenation = true > > group = sms-service > keyword = complex > text = "Talha Syed hussain" > > group = sms-service > keyword = abc > get-url = "http://%S";; > > group = sms-service > keyword = default > get-url = "http://192.168.0.212:8080/AGSMS/agMessage";; > accept-x-kannel-headers = true > max-messages = 3 > > >