\section{eXosip2 INVITE and Call Management} \label{group__eXosip2__call}\index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsection*{Functions} \begin{DoxyCompactItemize} \item int {\bf eXosip\_\-call\_\-set\_\-reference} (int id, void $\ast$reference) \item void $\ast$ {\bf eXosip\_\-call\_\-get\_\-reference} (int cid) \item int {\bf eXosip\_\-call\_\-build\_\-initial\_\-invite} (osip\_\-message\_\-t $\ast$$\ast$invite, const char $\ast$to, const char $\ast$from, const char $\ast$route, const char $\ast$subject) \item int {\bf eXosip\_\-call\_\-send\_\-initial\_\-invite} (osip\_\-message\_\-t $\ast$invite) \item int {\bf eXosip\_\-call\_\-build\_\-request} (int did, const char $\ast$method, osip\_\-message\_\-t $\ast$$\ast$request) \item int {\bf eXosip\_\-call\_\-build\_\-ack} (int did, osip\_\-message\_\-t $\ast$$\ast$ack) \item int {\bf eXosip\_\-call\_\-send\_\-ack} (int did, osip\_\-message\_\-t $\ast$ack) \item int {\bf eXosip\_\-call\_\-build\_\-refer} (int did, const char $\ast$refer\_\-to, osip\_\-message\_\-t $\ast$$\ast$request) \item int {\bf eXosip\_\-call\_\-build\_\-info} (int did, osip\_\-message\_\-t $\ast$$\ast$request) \item int {\bf eXosip\_\-call\_\-build\_\-options} (int did, osip\_\-message\_\-t $\ast$$\ast$request) \item int {\bf eXosip\_\-call\_\-build\_\-update} (int did, osip\_\-message\_\-t $\ast$$\ast$request) \item int {\bf eXosip\_\-call\_\-build\_\-notify} (int did, int subscription\_\-status, osip\_\-message\_\-t $\ast$$\ast$request) \item int {\bf eXosip\_\-call\_\-send\_\-request} (int did, osip\_\-message\_\-t $\ast$request) \item int {\bf eXosip\_\-call\_\-build\_\-answer} (int tid, int status, osip\_\-message\_\-t $\ast$$\ast$answer) \item int {\bf eXosip\_\-call\_\-send\_\-answer} (int tid, int status, osip\_\-message\_\-t $\ast$answer) \item int {\bf eXosip\_\-call\_\-terminate} (int cid, int did) \item int {\bf eXosip\_\-call\_\-build\_\-prack} (int tid, osip\_\-message\_\-t $\ast$$\ast$prack) \item int {\bf eXosip\_\-call\_\-send\_\-prack} (int tid, osip\_\-message\_\-t $\ast$prack) \item int {\bf eXosip\_\-transfer\_\-send\_\-notify} (int did, int subscription\_\-status, char $\ast$body) \item int {\bf eXosip\_\-call\_\-get\_\-referto} (int did, char $\ast$refer\_\-to, size\_\-t refer\_\-to\_\-len) \item int {\bf eXosip\_\-call\_\-find\_\-by\_\-replaces} (char $\ast$replaces) \end{DoxyCompactItemize} \subsection{Function Documentation} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-set\_\-reference@{eXosip\_\-call\_\-set\_\-reference}} \index{eXosip\_\-call\_\-set\_\-reference@{eXosip\_\-call\_\-set\_\-reference}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-set\_\-reference}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-call\_\-set\_\-reference ( \begin{DoxyParamCaption} \item[{int}]{id, } \item[{void $\ast$}]{reference} \end{DoxyParamCaption} )}\label{group__eXosip2__call_gac064e54c7dd68c73ec793dc9d5e4d0ba} Set a new application context for an existing call \begin{DoxyParams}{Parameters} {\em id} & call-\/id or dialog-\/id of call \\ \hline {\em reference} & New application context. \\ \hline \end{DoxyParams} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-get\_\-reference@{eXosip\_\-call\_\-get\_\-reference}} \index{eXosip\_\-call\_\-get\_\-reference@{eXosip\_\-call\_\-get\_\-reference}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-get\_\-reference}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ eXosip\_\-call\_\-get\_\-reference ( \begin{DoxyParamCaption} \item[{int}]{cid} \end{DoxyParamCaption} )}\label{group__eXosip2__call_gaf43b46529a9b63dda1e2adc8a909d96f} Get the application context pointer for an existing call. \begin{DoxyParams}{Parameters} {\em cid} & id of the call. \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} Application context reference \end{DoxyReturn} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-build\_\-initial\_\-invite@{eXosip\_\-call\_\-build\_\-initial\_\-invite}} \index{eXosip\_\-call\_\-build\_\-initial\_\-invite@{eXosip\_\-call\_\-build\_\-initial\_\-invite}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-build\_\-initial\_\-invite}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-call\_\-build\_\-initial\_\-invite ( \begin{DoxyParamCaption} \item[{osip\_\-message\_\-t $\ast$$\ast$}]{invite, } \item[{const char $\ast$}]{to, } \item[{const char $\ast$}]{from, } \item[{const char $\ast$}]{route, } \item[{const char $\ast$}]{subject} \end{DoxyParamCaption} )}\label{group__eXosip2__call_ga86f502b61ae37a8504811618c74896fc} Build a default INVITE message for a new call. \begin{DoxyParams}{Parameters} {\em invite} & Pointer for the SIP element to hold. \\ \hline {\em to} & SIP url for callee. \\ \hline {\em from} & SIP url for caller. \\ \hline {\em route} & Route header for INVITE. (optionnal) \\ \hline {\em subject} & Subject for the call. \\ \hline \end{DoxyParams} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-send\_\-initial\_\-invite@{eXosip\_\-call\_\-send\_\-initial\_\-invite}} \index{eXosip\_\-call\_\-send\_\-initial\_\-invite@{eXosip\_\-call\_\-send\_\-initial\_\-invite}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-send\_\-initial\_\-invite}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-call\_\-send\_\-initial\_\-invite ( \begin{DoxyParamCaption} \item[{osip\_\-message\_\-t $\ast$}]{invite} \end{DoxyParamCaption} )}\label{group__eXosip2__call_ga5bae2085b87eca68265eac5b7770c2c1} Initiate a call. \begin{DoxyParams}{Parameters} {\em invite} & SIP INVITE message to send. \\ \hline \end{DoxyParams} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-build\_\-request@{eXosip\_\-call\_\-build\_\-request}} \index{eXosip\_\-call\_\-build\_\-request@{eXosip\_\-call\_\-build\_\-request}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-build\_\-request}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-call\_\-build\_\-request ( \begin{DoxyParamCaption} \item[{int}]{did, } \item[{const char $\ast$}]{method, } \item[{osip\_\-message\_\-t $\ast$$\ast$}]{request} \end{DoxyParamCaption} )}\label{group__eXosip2__call_ga6f6e99f5f5f410e3ff5fa74e5f4819e4} Build a default request within a call. (INVITE, OPTIONS, INFO, REFER) \begin{DoxyParams}{Parameters} {\em did} & dialog id of call. \\ \hline {\em method} & request type to build. \\ \hline {\em request} & The sip request to build. \\ \hline \end{DoxyParams} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-build\_\-ack@{eXosip\_\-call\_\-build\_\-ack}} \index{eXosip\_\-call\_\-build\_\-ack@{eXosip\_\-call\_\-build\_\-ack}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-build\_\-ack}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-call\_\-build\_\-ack ( \begin{DoxyParamCaption} \item[{int}]{did, } \item[{osip\_\-message\_\-t $\ast$$\ast$}]{ack} \end{DoxyParamCaption} )}\label{group__eXosip2__call_ga862b62b7e0e21294d3d0e38b2006af3b} Build a default ACK for a 200ok received. \begin{DoxyParams}{Parameters} {\em did} & dialog id of call. \\ \hline {\em ack} & The sip request to build. \\ \hline \end{DoxyParams} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-send\_\-ack@{eXosip\_\-call\_\-send\_\-ack}} \index{eXosip\_\-call\_\-send\_\-ack@{eXosip\_\-call\_\-send\_\-ack}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-send\_\-ack}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-call\_\-send\_\-ack ( \begin{DoxyParamCaption} \item[{int}]{did, } \item[{osip\_\-message\_\-t $\ast$}]{ack} \end{DoxyParamCaption} )}\label{group__eXosip2__call_gaad048f1b0b252f9b83e8508190a67a43} Send the ACK for the 200ok received.. \begin{DoxyParams}{Parameters} {\em did} & dialog id of call. \\ \hline {\em ack} & SIP ACK message to send. \\ \hline \end{DoxyParams} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-build\_\-refer@{eXosip\_\-call\_\-build\_\-refer}} \index{eXosip\_\-call\_\-build\_\-refer@{eXosip\_\-call\_\-build\_\-refer}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-build\_\-refer}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-call\_\-build\_\-refer ( \begin{DoxyParamCaption} \item[{int}]{did, } \item[{const char $\ast$}]{refer\_\-to, } \item[{osip\_\-message\_\-t $\ast$$\ast$}]{request} \end{DoxyParamCaption} )}\label{group__eXosip2__call_ga129738ca894e2adf5ace2d03f361784a} Build a default REFER for a call transfer. \begin{DoxyParams}{Parameters} {\em did} & dialog id of call. \\ \hline {\em refer\_\-to} & url for call transfer (Refer-\/To header). \\ \hline {\em request} & The sip request to build. \\ \hline \end{DoxyParams} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-build\_\-info@{eXosip\_\-call\_\-build\_\-info}} \index{eXosip\_\-call\_\-build\_\-info@{eXosip\_\-call\_\-build\_\-info}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-build\_\-info}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-call\_\-build\_\-info ( \begin{DoxyParamCaption} \item[{int}]{did, } \item[{osip\_\-message\_\-t $\ast$$\ast$}]{request} \end{DoxyParamCaption} )}\label{group__eXosip2__call_ga8ab3c615d85eba761f6d69a50bce3fdf} Build a default INFO within a call. \begin{DoxyParams}{Parameters} {\em did} & dialog id of call. \\ \hline {\em request} & The sip request to build. \\ \hline \end{DoxyParams} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-build\_\-options@{eXosip\_\-call\_\-build\_\-options}} \index{eXosip\_\-call\_\-build\_\-options@{eXosip\_\-call\_\-build\_\-options}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-build\_\-options}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-call\_\-build\_\-options ( \begin{DoxyParamCaption} \item[{int}]{did, } \item[{osip\_\-message\_\-t $\ast$$\ast$}]{request} \end{DoxyParamCaption} )}\label{group__eXosip2__call_gacb5e43238ccc5dd17d83191380f735e0} Build a default OPTIONS within a call. \begin{DoxyParams}{Parameters} {\em did} & dialog id of call. \\ \hline {\em request} & The sip request to build. \\ \hline \end{DoxyParams} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-build\_\-update@{eXosip\_\-call\_\-build\_\-update}} \index{eXosip\_\-call\_\-build\_\-update@{eXosip\_\-call\_\-build\_\-update}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-build\_\-update}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-call\_\-build\_\-update ( \begin{DoxyParamCaption} \item[{int}]{did, } \item[{osip\_\-message\_\-t $\ast$$\ast$}]{request} \end{DoxyParamCaption} )}\label{group__eXosip2__call_ga7eab6580829f14c42d68550a53808007} Build a default UPDATE within a call. \begin{DoxyParams}{Parameters} {\em did} & dialog id of call. \\ \hline {\em request} & The sip request to build. \\ \hline \end{DoxyParams} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-build\_\-notify@{eXosip\_\-call\_\-build\_\-notify}} \index{eXosip\_\-call\_\-build\_\-notify@{eXosip\_\-call\_\-build\_\-notify}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-build\_\-notify}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-call\_\-build\_\-notify ( \begin{DoxyParamCaption} \item[{int}]{did, } \item[{int}]{subscription\_\-status, } \item[{osip\_\-message\_\-t $\ast$$\ast$}]{request} \end{DoxyParamCaption} )}\label{group__eXosip2__call_gab01f644f14d643e42f03f7d0d3b5a297} Build a default NOTIFY within a call. \begin{DoxyParams}{Parameters} {\em did} & dialog id of call. \\ \hline {\em subscription\_\-status} & Subscription status of the request. \\ \hline {\em request} & The sip request to build. \\ \hline \end{DoxyParams} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-send\_\-request@{eXosip\_\-call\_\-send\_\-request}} \index{eXosip\_\-call\_\-send\_\-request@{eXosip\_\-call\_\-send\_\-request}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-send\_\-request}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-call\_\-send\_\-request ( \begin{DoxyParamCaption} \item[{int}]{did, } \item[{osip\_\-message\_\-t $\ast$}]{request} \end{DoxyParamCaption} )}\label{group__eXosip2__call_ga2e34520786d63be4246c96cbef0c26f8} send the request within call. (INVITE, OPTIONS, INFO, REFER, UPDATE) \begin{DoxyParams}{Parameters} {\em did} & dialog id of call. \\ \hline {\em request} & The sip request to send. \\ \hline \end{DoxyParams} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-build\_\-answer@{eXosip\_\-call\_\-build\_\-answer}} \index{eXosip\_\-call\_\-build\_\-answer@{eXosip\_\-call\_\-build\_\-answer}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-build\_\-answer}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-call\_\-build\_\-answer ( \begin{DoxyParamCaption} \item[{int}]{tid, } \item[{int}]{status, } \item[{osip\_\-message\_\-t $\ast$$\ast$}]{answer} \end{DoxyParamCaption} )}\label{group__eXosip2__call_ga47c8fd974b269bc7b1c1a44f2252c420} Build default Answer for request. \begin{DoxyParams}{Parameters} {\em tid} & id of transaction to answer. \\ \hline {\em status} & Status code to use. \\ \hline {\em answer} & The sip answer to build. \\ \hline \end{DoxyParams} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-send\_\-answer@{eXosip\_\-call\_\-send\_\-answer}} \index{eXosip\_\-call\_\-send\_\-answer@{eXosip\_\-call\_\-send\_\-answer}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-send\_\-answer}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-call\_\-send\_\-answer ( \begin{DoxyParamCaption} \item[{int}]{tid, } \item[{int}]{status, } \item[{osip\_\-message\_\-t $\ast$}]{answer} \end{DoxyParamCaption} )}\label{group__eXosip2__call_ga62bd1c0ff354fe3baf362b6539f66d24} Send Answer for invite. \begin{DoxyParams}{Parameters} {\em tid} & id of transaction to answer. \\ \hline {\em status} & response status if answer is NULL. (not allowed for 2XX) \\ \hline {\em answer} & The sip answer to send. \\ \hline \end{DoxyParams} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-terminate@{eXosip\_\-call\_\-terminate}} \index{eXosip\_\-call\_\-terminate@{eXosip\_\-call\_\-terminate}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-terminate}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-call\_\-terminate ( \begin{DoxyParamCaption} \item[{int}]{cid, } \item[{int}]{did} \end{DoxyParamCaption} )}\label{group__eXosip2__call_ga79da38a9e1e2a617ca32eea1fa505987} Terminate a call. send CANCEL, BYE or 603 Decline. \begin{DoxyParams}{Parameters} {\em cid} & call id of call. \\ \hline {\em did} & dialog id of call. \\ \hline \end{DoxyParams} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-build\_\-prack@{eXosip\_\-call\_\-build\_\-prack}} \index{eXosip\_\-call\_\-build\_\-prack@{eXosip\_\-call\_\-build\_\-prack}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-build\_\-prack}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-call\_\-build\_\-prack ( \begin{DoxyParamCaption} \item[{int}]{tid, } \item[{osip\_\-message\_\-t $\ast$$\ast$}]{prack} \end{DoxyParamCaption} )}\label{group__eXosip2__call_gac1e34921f8dc462717efab20c60b0752} Build a PRACK for invite. \begin{DoxyParams}{Parameters} {\em tid} & id of the invite transaction. \\ \hline {\em prack} & The sip prack to build. \\ \hline \end{DoxyParams} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-send\_\-prack@{eXosip\_\-call\_\-send\_\-prack}} \index{eXosip\_\-call\_\-send\_\-prack@{eXosip\_\-call\_\-send\_\-prack}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-send\_\-prack}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-call\_\-send\_\-prack ( \begin{DoxyParamCaption} \item[{int}]{tid, } \item[{osip\_\-message\_\-t $\ast$}]{prack} \end{DoxyParamCaption} )}\label{group__eXosip2__call_gaca00251a89ad35cec7e47ac14eb27d9c} Send a PRACK for invite. \begin{DoxyParams}{Parameters} {\em tid} & id of the invite transaction. \\ \hline {\em prack} & The sip prack to send. \\ \hline \end{DoxyParams} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-transfer\_\-send\_\-notify@{eXosip\_\-transfer\_\-send\_\-notify}} \index{eXosip\_\-transfer\_\-send\_\-notify@{eXosip\_\-transfer\_\-send\_\-notify}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-transfer\_\-send\_\-notify}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-transfer\_\-send\_\-notify ( \begin{DoxyParamCaption} \item[{int}]{did, } \item[{int}]{subscription\_\-status, } \item[{char $\ast$}]{body} \end{DoxyParamCaption} )}\label{group__eXosip2__call_gaa09f706cd75e6a68c30468c22e500a71} Send a NOTIFY containing the information about a call transfer. THIS METHOD WILL BE REPLACED or REMOVED, please use the new API to build NOTIFY. \begin{DoxyParams}{Parameters} {\em did} & dialog id of call. \\ \hline {\em subscription\_\-status} & the subscription status. \\ \hline {\em body} & the body to attach to NOTIFY. \\ \hline \end{DoxyParams} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-get\_\-referto@{eXosip\_\-call\_\-get\_\-referto}} \index{eXosip\_\-call\_\-get\_\-referto@{eXosip\_\-call\_\-get\_\-referto}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-get\_\-referto}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-call\_\-get\_\-referto ( \begin{DoxyParamCaption} \item[{int}]{did, } \item[{char $\ast$}]{refer\_\-to, } \item[{size\_\-t}]{refer\_\-to\_\-len} \end{DoxyParamCaption} )}\label{group__eXosip2__call_ga449bf82bf54fbf0bb1cecffc2a137d93} Get Refer-\/To header with Replace parameter from dialog. \begin{DoxyParams}{Parameters} {\em did} & id of the dialog. \\ \hline {\em refer\_\-to} & buffer to be filled with refer-\/to info. \\ \hline {\em refer\_\-to\_\-len} & size of refer\_\-to buffer. \\ \hline \end{DoxyParams} \index{eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}!eXosip\_\-call\_\-find\_\-by\_\-replaces@{eXosip\_\-call\_\-find\_\-by\_\-replaces}} \index{eXosip\_\-call\_\-find\_\-by\_\-replaces@{eXosip\_\-call\_\-find\_\-by\_\-replaces}!eXosip2 INVITE and Call Management@{eXosip2 INVITE and Call Management}} \subsubsection[{eXosip\_\-call\_\-find\_\-by\_\-replaces}]{\setlength{\rightskip}{0pt plus 5cm}int eXosip\_\-call\_\-find\_\-by\_\-replaces ( \begin{DoxyParamCaption} \item[{char $\ast$}]{replaces} \end{DoxyParamCaption} )}\label{group__eXosip2__call_gaea701eed5a2d5482152b7eec521fa3c1} Return did (or cid) for the replace header. \begin{DoxyParams}{Parameters} {\em replaces} & buffer to be filled with refer-\/to info. \\ \hline \end{DoxyParams}