Hi Rene,
I just review sqlbox_mysql.c and found something
Msg *mysql_fetch_msg()
{
...
msg->sms.foreign_id = octstr_null_create(row[0]);
…
}
int mysql_fetch_msg_list(List *qlist, long limit)
{
…
msg->sms.foreign_id = octstr_null_create(row[0]);
…
}
Additional case, field ts in dlr table value will also the same as sql_id in
sqlbox. The problem is when we send MT, the SMSC will expect the MT foreign-id
should be match with the MO foreign-id (many telco do this, unless it is a bulk
MT with no MO a.k.a push). And also when the DLR comes it wi