[Serdev] sending a request message

Mario Kolberg mko at cs.stir.ac.uk
Mon Jul 14 09:53:31 UTC 2003


Hi,

I cannot find a mehtod called t_relay_within. Do you mean request_within 
defined in uac.h? I guess I can generate a dlg_t from an existing 
message using dlg_response_uac and then change the structure to my needs 
afterwards? What are the other two parameters of request_within, i.e. 
transaction_cb and the void* cbp? What am I supposed to set them to?

Thank you very much!

Regards,
Mario


 >   No, but you can use t_relay_within where you can specify values for
 >   all the automatically included headers in the dlg_t structure.
 >
 >
 >   Basically, this function cand send a request within a dialog and for
 >   that you need to specify, callid, cseq, from and to tags and so on.
 >   All the dialog-related data is stored in the dlg_t structure.
 >
 >     Jan.
 >

>>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?
> 
> 

-- 
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