[Serdev] sending a request message

Mario Kolberg mko at cs.stir.ac.uk
Fri Jul 11 15:28:50 UTC 2003


Hi,

I'm looking for a method which sends a request message and I'd like to 
be able to specify some headers.

ls_send_reply (sl module) is excellent for replies, but I'm looking for 
something similar for requests.

The method t_request in the tm module, sends a request, but I'd like to 
be able to specify some headers. t_request appears to include some 
headers and values by default (e.g. Cseq and Call-Id). If I pass the 
same headers as parameters, they are appended to the message, but the 
default ones are also still present. Is there a way of removing default 
headers for the t_request call?

Any pointers appreciated!

Thanks,
Mario


-- 
Mario Kolberg                   phone: +44 (0)1786 46 7440
Lecturer in Computing Science   fax  : +44 (0)1786 46 4551
                                 email: mko at cs.stir.ac.uk

Department of Computing Science and Mathematics
University of Stirling
Stirling FK9 4LA
Scotland, UK

-- 
The University of Stirling is a university established in Scotland by
charter at Stirling, FK9 4LA.  Privileged/Confidential Information may
be contained in this message.  If you are not the addressee indicated
in this message (or responsible for delivery of the message to such
person), you may not disclose, copy or deliver this message to anyone
and any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful.  In such case, you should destroy this
message and kindly notify the sender by reply email.  Please advise
immediately if you or your employer do not consent to Internet email
for messages of this kind.  Opinions, conclusions and other
information in this message that do not relate to the official
business of the University of Stirling shall be understood as neither
given nor endorsed by it.



More information about the Serdev mailing list