Hello 1. Found in gw/dlr.c that function dlr_update is called with the following parameters:
round line 420 : dlr_update(smsc, ts, dst, typ); but if we look at gw/dlr_pgsql.c , the function dlr_pgsql_update never uses parameter 'dst': line 260 dlr_pgsql_update is defined as: static void dlr_pgsql_update(const Octstr *smsc, const Octstr *ts, const Octstr *dst, int status) and actually update is called like : "UPDATE %s SET %s=%d WHERE oid = (SELECT oid FROM %s WHERE %s='%s' AND %s='%s' LIMIT 1); instead it should be: "UPDATE %s SET %s=%d WHERE oid = (SELECT oid FROM %s WHERE %s='%s' AND %s='%s' and %s='%s' LIMIT 1); where last %s would be octstr_get_cstr(dst) ? Please correct me if I'm wrong. 2. I'm using bearebox and sqlbox,inserting message for sending directly from PostgreSQL dabatase. I have a question regarding sending long (concatenated) messages. If I put 'udhdata' with a value like '0500' and in msgdata the whole message,bearebox splits the message by itself and send as 2,3,4 separated messages. For example,I can split messages before inserting them into send_sms table. Is there an option to specify full UDH header in udhdata and put only certain part of the long message into msgdata,so kannel(bearebox) will not split anything because the message was splitted before,and send one by one message and prepending UDH header from udhdata column ? Basically I need to send my own formed messages with udhdata and don't want kannel(bearebox) to split anything and alter udh header. 3. Does anybody has some examples for sending various types of messages by manually inserting them into table 'send_sms' ? Unicode messages,long plain text,long unicode message,wap push messages,mms notifications,ringtones,operator's logo,etc. I'm using EMI UCP protokol for sending messages,not SMPP. Sincerely Dragan -- _______________________________________________ Surf the Web in a faster, safer and easier way: Download Opera 9 at http://www.opera.com Powered by Outblaze
