Hi everyone,

Does anybody knows how can I send trough http parameter the SMS FOREIGN ID?
I have kannel working with SMSC HTTP GATEWAY, that in order to check further
status, I need to send my system's ID to Kannel when sending the messages
from my app to Kannel's HTTP server.

I already use many parameteres, like

http://localhost/cgi-bin/sendsms?username=xxx&password=yyy&from=3000&to=xxxxx&dlr-mask=9&dlr-url=..
..

I want to know if is there any other parameter that I can send like
"foreign_id=1234567890".



My SMSC config has something like this:
================
*group = smsc         *
*smsc = http                   *
*smsc-id = httpgw        *
*system-type = generic               *
*port = 13009                 *
*send-url = "
http://mysuplier.com/sendurl.php?user=xxx&auth=yyy&sender=%P&mobile=%p&content=%b
"*
*status-success-regex = "ok"                          *
*status-permfail-regex = "failure"*
*status-tempfail-regex = "retry later"*
*sms-resend-retry = 1       *
*sms-resend-freq = 600    *
*
*
*##### THAT IS COMMENTED BECAUSE IT DOES NOT WORK*
*#generic-foreign-id-regex = "<id>(.+)</id>"*
*#generic-param-from = "phoneNumber"            *
*#generic-param-to = "shortCode"                *
*#generic-message-sent = "Message sent with ID: %I"*
*#generic-status-sent = 200*
*#generic-status-error = 404*
================



Does anybody knows how to go through this?

Thanks in advance.
Rafael

Reply via email to