SMS service group is for incoming messages. You are trying to send outgoing message. Please set receiver parameter in the URL.
On Fri, Oct 30, 2015 at 10:12 AM, John Njuguna <[email protected]> wrote: > My kannel sms-service block looks like below ; > > #SMS SERVICE GROUP > group=sms-service > keyword=default > get-url="http://localhost/mobitext/receivesms.php?sender=%p&text=%b" > accept-x-kannel-headers=true > max-messages=0 > concatenation=true > catch-all=true > > > Regards. > > > > > On 29 October 2015 at 23:08, [email protected] <[email protected]> wrote: > >> Where is receiver? >> >> On Thu, Oct 29, 2015 at 2:11 PM, John Njuguna <[email protected]> wrote: >> >>> Hello All, >>> I'm trying to configure kannel to send sms via http smsc but i keep >>> getting >>> >>> "Insufficient args, rejected" error. Someone help me figure out where or >>> what am doing wrong. >>> >>> below is how my kannel.conf looks like. >>> >>> #SMS CENTER GROUP >>> group=smsc >>> smsc=http >>> smsc-id=HTTP >>> port=10000 >>> system-type=kannel >>> smsc-username=USER101 >>> smsc-password=PASS101 >>> no-sender=true >>> no-coding=true >>> send-url=" >>> http://api.infobip.com/api/v3/sendsms/plain?user=USER101&password=PASS101&sender=SENDERID&SMSText=%b&GSM=%p" >>> >>> status-success-regex = "ok" >>> status-permfail-regex = "failure" >>> status-tempfail-regex = "retry later" >>> allowed-smsc-id = HTTP >>> log-file = /tmp/smsc-http.log >>> log-level = 0 >>> >>> #SEND SMS USER GROUP >>> group=sendsms-user >>> username=kannel >>> password=kannelpassword >>> concatenation=true >>> max-messages=0 >>> >>> your help is highly appreciated. >>> >>> >>> >>> >> >
