Hi all!
Every message which is in-dialog should be forwarded without lookup().
That means, for the first INVITE you make a lookup(), but if there are
othere messages within this dialog (re-INVITE, INFO, REFER, ACK, BYE,
MESSAGE ...) you don't use lookup.
dialog-creating requests and messages which are always outside a dialog
will use lookup(), e.g.: INVITE, SUBSCRIBE, MESSAGE, PUBLISH
For NOTIFY: these belong to an existing dialog, so there is no need use
lookup().
regards,
klaus
Java Rockx wrote:
Great! But is that necessary? I mean if an ACK is
being processed,
does lookup('location') really need to be called?
The same thing for BYE.
I only see that lookup() needs to be called for SUBSCRIBE, NOTIFY,
INVITE, and possibly REFER
Regards,
Paul
On Wed, 23 Feb 2005 07:56:55 -1000, Richard <richard(a)o-matrix.org> wrote:
In my logic, lookup is called for all types
(except REGISTER) for all sip
phones.
-----Original Message-----
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On
Behalf Of Java Rockx
Sent: Wednesday, February 23, 2005 7:12 AM
To: serusers(a)lists.iptel.org
Subject: [Serusers] Which SIP messages types use lookup("location")?
Hi All,
Can anyone tell me for which message types I should call
lookup("location") before t_relay()?
ACK
BYE
CANCEL
INVITE
NOTIFY
REFER
SUBSCRIBE
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers