Hi all,
is there a list explainging steps Kannel does in
order to open an smsc connection ?
As I see it in sema module, it initializes next
steps :
sema_pending_smsmessage
X28_data_read X28_msg_pop sema_pending_smsmessage X28_data_read X28_msg_pop sema_msg_session_mo sema_msg* sema_msg_new open_send_link X28_data_send X28_data_read This means, when starting sema connection, first
thing it does is check for new messages, even before it made connection to the
SMSC !!!
and after reading a prompt, and deciding it's an MO
(prompt looks like "PORT X" when you first open the port), it raises connection
to send ACK to first message that actually never came to it ..
This is very strange, and I'd like to know how this
could be changed i.e. I want the sema_open function to be the ignitor of Sema
module ..
Where do I change those things ?
Thanks.
|