you need to  inject the fake sms via smsbox to face smsc
no other way i think


Nikos Balkanas wrote:
> Hi Seikath,
> 
> And thanx for your advise. As you noticed I am using fake smsc
> interface. According to the manual, it supports (fake) DLRs. I am using
> fakesmsc to generate the sms'. My primary problem is that I am not
> getting any DLR's. And that is what i am trying to solve.
> 
> I print some diagnostics from within dlr.cgi, but I do not see any log
> entries.
> 
> Any ideas what might be wrong?
> 
> BTW how do I set dlr-mask/msg?
> 
> BR,
> Nikos
> ----- Original Message ----- From: "seikath" <[EMAIL PROTECTED]>
> To: "Nikos Balkanas" <[EMAIL PROTECTED]>
> Cc: <[email protected]>
> Sent: Saturday, November 22, 2008 12:17 AM
> Subject: Re: DLR help
> 
> 
>> Hi Nikos,
>>
>> its much better to set th dlr-mask per message, not per account.
>>
>> and in case you want to get DLR, set unique ID in the DLR URL value, in
>> a view to be trace back to the right message sent by right msisdn.
>>
>> example
>>
>> dlr-url value of
>> "http://localhost/dlr.pgsql.php?smscID=%i&dlr=%d&answer=%A&to=%p&from=%P&ts=%T&smsID={$mesgid}&charset=%C&kannel_id=%I";
>>
>> results in this real dlr request
>> $mesgid=8fbb0419c2dae258fecdf234845d411f
>>
>> dlr.pgsql.php?smscID=mtel&dlr=8&answer=ACK%2F&to=%2B359886204959&from=1916&ts=1227305616&smsID=8fbb0419c2dae258fecdf234845d411f&charset=ISO-8859-1&kannel_id=2171c57c-fc63-4436-8a82-848a5821719c
>>
>>
>> cheers
>>
>>
>> Nikos Balkanas wrote:
>>> Guys, any help or any leads on this?
>>>
>>> P.S. Where is dlr-mask used?
>>>
>>> My configuration:
>>>
>>> group = core
>>> admin-port = 13001
>>> wapbox-port = 13002
>>> smsbox-port = 13003
>>> admin-password = bar
>>> #status-password = foo
>>> #admin-deny-ip = ""
>>> #admin-allow-ip = ""
>>> wdp-interface-name = "*"
>>> log-file = "/tmp/bearerbox.log"
>>> log-level = 4
>>> #box-deny-ip = "*.*.*.*"
>>> box-allow-ip = "*.*.*.*"
>>> access-log = "/tmp/access.log"
>>> #store-file = "/tmp/ianwap.store"
>>> store-location = "/tmp/ianwap.store"
>>> #store-type = internal
>>> dlr-storage = internal
>>> #ssl-server-cert-file = "cert.pem"
>>> #ssl-server-key-file = "key.pem"
>>> #ssl-certkey-file = "mycertandprivkeyfile.pem"
>>>
>>> group = wapbox
>>> bearerbox-host = 212.205.200.120
>>> log-file = "/tmp/wapbox.log"
>>> log-level = 4
>>> syslog-level = none
>>> #access-log = "/tmp/wapaccess.log"
>>> access-log = "/dev/null"
>>>
>>> # SMSC CONNECTIONS, for pushing SI, SL, MMS notifications or whatever
>>> over SMS
>>>
>>> group = smsc
>>> smsc = http
>>> smsc-id = HTTP
>>> port = 13004
>>> system-type = kannel
>>> #connect-allow-ip = "*.*.*.*"
>>> smsc-username = foo
>>> smsc-password = bar
>>> no-sender = true
>>> no-coding = true
>>> send-url = "http://www.kannel.gr:9200/pap.cgi";
>>>
>>> group = smsc
>>> smsc = fake
>>> smsc-id = FAKE
>>> port = 13005
>>> #connect-allow-ip = "*.*.*.*"
>>>
>>> # SMSBOX SETUP (a kludge!)
>>>
>>> group = smsbox
>>> bearerbox-host = 212.205.200.120
>>> sendsms-port =  13006
>>> #smsbox-id = dlrbox
>>>
>>> #group = smsbox-route
>>> #smsbox-id = dlrbox
>>> #smsc-ids = "FAKE;HTTP"
>>>
>>> group = sendsms-user
>>> username = simple
>>> password = elpmis
>>> default-smsc = FAKE
>>> dlr-url = "http://www.kannel.gr:9200/cgi/dlr.cgi?dlr-mask=31";
>>>
>>> # SERVICES
>>>
>>> group = sms-service
>>> keyword = nop
>>> text = "You asked nothing and I did it!"
>>>
>>> # this service is for Kannel www testing
>>>
>>> group = sms-service
>>> keyword = www
>>> get-url =
>>> "http://www.kannel.gr:9200/cgi/sms.cgi?status=%d&dlr=%A&from=%p&to=%P&text=%r
>>>
>>> <http://www.kannel.gr:9200/cgi/sms.cgi?status=%d&dlr=%A&from=%p&to=%P&text=%r>"
>>>
>>> #max-messages = 0
>>>
>>> # there should be default always
>>>
>>> group = sms-service
>>> keyword = default
>>> text = "Thanx for using IAN test bed"
>>>
>>> # PPG CORE SETUP, for defining the push request interface
>>>
>>> group = ppg
>>> ppg-url = "http://www.kannel.gr:9200/cgi/pap.cgi";
>>> #ppg-port = 9200
>>> #ppg-ssl-port = 8081
>>> concurrent-pushes = 1000
>>> trusted-pi = false
>>> users = 1024
>>> service-name = ppg
>>> ppg-smsbox-id = dlrbox
>>> default-dlr-url = "http://www.kannel.gr:9200/cgi/dlr.cgi?dlr-mask=31";
>>> #ppg-deny-ip = "*.*.*.*"
>>> ppg-allow-ip = "*.*.*.*"
>>> #ssl-server-cert-file = "cert.pem"
>>> #ssl-server-key-file = "key.pem"
>>>
>>> # PPG USER SETUP, for authorizing a specific push user
>>>
>>> group = wap-push-user
>>> wap-push-user = foo
>>> ppg-username = foo
>>> ppg-password = bar
>>> dlr-url = "http://www.kannel.gr:9200/cgi/dlr.cgi?dlr-mask=31";
>>> #country-prefix = +358
>>> #allowed-prefix = "40;60;70"
>>> #denied-prefix = 50
>>> #white-list = http://localhost:8082/whitelist
>>> #black-list =  http://localhost:8082/blacklist
>>> #deny-ip = "*.*.*.*"
>>> #allow-ip = "127.0.0.1"
>>>
>>>     ----- Original Message -----
>>>     *From:* Nikos Balkanas <mailto:[EMAIL PROTECTED]>
>>>     *To:* [email protected] <mailto:[email protected]>
>>>     *Sent:* Friday, November 21, 2008 8:10 AM
>>>     *Subject:* DLR help
>>>
>>>     Dear list,
>>>
>>>     I hope I haven't sent this message before, but I couldn't find
>>>     anything in my "Sent" mailbox, so bear with me.
>>>     I need an example, guidance or hint on how to configure DLRs to the
>>>     fake smsc service. The manual doesn't say anything about it, except
>>>     that the driver supports it, and I have no clue what to do about it.
>>>     Has anybody tried it before?
>>>
>>>     Eventually I need to link it to receive fake DLRs from PPG. I intend
>>>     to do the coding between the 2, but first I have to figure out how
>>>     to activate DLRs on the fake smsc interface. Any help would be
>>>     appreciated.
>>>
>>>     Thanx,
>>>     Nikos 
> 
> 

Reply via email to