Hi Alex,

%o = account identifier/information of incoming message. The value depends
on the SMSC module and has been introduced to allow the forwarding of an
operator ID from aggregator SMSCs to the application layer, hence the smsbox
HTTP calling instance.

How do I send that parameter to Kannel through HTTP?

Thanks
Rafael


2010/10/16 Alejandro Guerrieri <[email protected]>

> Can't you pass it on account (%o) ?
>
> Regards,
>
> Alex
>
>
> On Sat, Oct 16, 2010 at 9:32 PM, Rafael Azevedo <[email protected]>wrote:
>
>> 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