The method stores certain parts of the current SIP
request (it should be called when the request type is
MESSAGE and the destination user is offline or his UA
does not support MESSAGE requests). If the user is
registered with a UA which does not support MESSAGE
requests you should not use mode="0" if you have
changed the request uri with the contact address of
user's UA.
Meaning of the parameters is as follows:
mode - specifies what to save as R-URI.
"0" - first check if new_uri is an address of record.
If yes, then use it and store it as R-URI, otherwise
look at R-URI and, if necessary, at URI from "To"
header.
"1" - look first at R-URI and then at URI from "To"
header.
"2" - look only at URI form "To" header.
I have to set IM I use ser/serweb 0.9.3
Harry
--- Kong <kongzs(a)irepublics.com> a écrit :
Tried Windows Messenger, Xlite, SJPhone,
FireFly.
modparam("msilo", "registrar",
"sip:registrar@XXXXXX")
am i suppose to put XXXXXX as my domain?
then do i need to create any user call registrar?
At 06:24 PM 7/13/2005, you wrote:
What is your UA ?
--- Kong <kongzs(a)irepublics.com> a écrit :
> 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. >
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le
nouveau Yahoo! Messenger
Téléchargez cette version sur
http://fr.messenger.yahoo.com
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur