hi hafez,

How can I receive concatenated SMS as one hit, not many hits, i have the
following confugration for my sms-service:

there's a patch on the CVS version that allows this, but if you want to run the release version, i wrote this script which does concatenation in PHP:

http://www.workingsoftware.com.au/concatenate_mo.php.txt

in order to do this you have to filter all messages through that single URL. i needed to also get the destination phone number to route messages to different applications, so i developed a method of parsing the error logs to find out what number a message was sent *to* instead of what number it was sent from. let me know if you need this snippet.

cheers

iain

group = sms-service
keyword = default
get-url = "
http://localhost/scripts/myscript.php?sms_txt_binary=%b&sender_number=%p&receiver_number=%P&smsc_id=%i&message_coding=%c&udh=%u&originating_smsc=%f&message_charset=%C&first_word=%k&second_word_encoded=%s&second_word_uncoded=%S&rest_sms_txt=%r&sms_txt_spaces_squeezed=%a&sent_datetime=%t&sent_timestamp=%T&sender_number_no_zeros=%q&reciver_number_no_zeros=%Q&smsc_id_internal=%I&delivery_report=%d&delivery_report_reply=%A&sendsms_user_service=%n&message_class=%m&mwi=%M&billing_identifier=%B&account_identifier=%o
"

omit-empty = true
max-messages = 10
concatenation = true


Any Ideas,
Thanks,
Hafez


Reply via email to