[Serdev] Is rpid thread safe?
Papadopoulos Georgios
geop at altectelecoms.gr
Tue Mar 8 12:34:42 UTC 2005
Hello,
I am trying to get the rpid working but I am really confused. Since it
is stored in a static variable in auth/rpid.c how is it possible to get
the correct rpid for messages processed by different threads? Am I
missing something?
I am trying the following senario:
1. Send INVITE from user A with rpid=1001
2. Send INVITE from user B with rpid=1002
3. Send CANCEL from user A. If I call append_rpid_hf() on the CANCEL
message I get Remote-Party-ID header with B's rpid.
Thanks a lot for any help
George
Disclaimer
The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
More information about the Serdev
mailing list