I am trying to implement Messaging from serweb to UA, but not a success.
i have this script in my ser.cfg
if (!lookup("location")) {
if (method == "MESSAGE") {
if (!t_newtran()) {
sl_reply_error();
break;
};
if (m_store("0")) {
t_reply("202", "Accepted for Later Delivery");
break;
};
};
sl_send_reply("404", "User Not Found !");
break;
};
but i read somewhere in google that i need to add in this line.
modparam("msilo", "registrar", "sip:registrar@iptel.org")
so that the UA will be notify if there is any new message.
If i don't add this line, the message can be send from serweb to the
account (which stored in SILO) then can be checked from the recipient
serweb account. But once i add the registrar line in, the sending process
return error code of 405 timeout. can i know whats the problem here?
i am using ser-0.9.3
thank you.
Show replies by date