MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / print_request_uri

Function print_request_uri

modules/tm/t_msgbuilder.c:649–661  ·  view source on GitHub ↗

* Print Request-URI */

Source from the content-addressed store, hash-verified

647 * Print Request-URI
648 */
649static inline char* print_request_uri(char* w, str* method, dlg_t* dialog, struct cell* t, int branch)
650{
651 append_string(w, method->s, method->len);
652 *(w++) = ' ';
653
654 TM_BRANCH(t,branch).uri.s = w;
655 TM_BRANCH(t,branch).uri.len = dialog->hooks.request_uri->len;
656
657 append_string(w, dialog->hooks.request_uri->s, dialog->hooks.request_uri->len);
658 append_string(w, " " SIP_VERSION CRLF, 1 + SIP_VERSION_LEN + CRLF_LEN);
659 LM_DBG("%.*s\n",dialog->hooks.request_uri->len, dialog->hooks.request_uri->s );
660 return w;
661}
662
663
664/*

Callers 1

build_uac_reqFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected