[Serusers] IM problem.

Kong kongzs at irepublics.com
Wed Jul 13 14:22:12 CEST 2005


apparently that happens because of this line.

   if (!mf_process_maxfwd_header("16")) {
     sl_send_reply("483", "Too Many Hops !");
     break;
   };

but if i comment it out, there is a infinite loop happening at the background.
then it comeout timeout again.

btw, do u have
modparam("msilo", "registrar","sip:registrar at XXXXXX")
in ur ser.cfg?

At 08:18 PM 7/13/2005, you wrote:

>--- Kong <kongzs at irepublics.com> a écrit :
>
> > Humm.. that seems to help, but now i got this error.
> >
> > 483 Too Many Hops
> >
> > i wonder how is that....
> > do i really need this line?
> > modparam("msilo", "registrar",
> > "sip:registrar at XXXXXX")
>
>according to doc not really
>
> > At 07:08 PM 7/13/2005, you wrote:
> > >read
> > http://openser.org/docs/modules/0.9.x/msilo.html
> > >
> > >  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 at irepublics.com> a écrit :
> > >
> > > > Tried Windows Messenger, Xlite, SJPhone,
> > FireFly.
> > > >
> > > > modparam("msilo", "registrar",
> > > > "sip:registrar at 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 at 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 at 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 at 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 at 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 at 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




More information about the sr-users mailing list