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

Function w_move_msg_branch

core_cmds.c:1019–1024  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1017}
1018
1019static int w_move_msg_branch(struct sip_msg *msg, int *src_idx,
1020 int *dst_idx, int *keep)
1021{
1022 return (move_msg_branch(msg,
1023 (src_idx?*src_idx:-1), (dst_idx?*dst_idx:-1), (keep?1:0))==0) ? 1 : -1;
1024}
1025
1026static int w_swap_msg_branches(struct sip_msg *msg, int *src_idx, int *dst_idx)
1027{

Callers

nothing calls this directly

Calls 1

move_msg_branchFunction · 0.85

Tested by

no test coverage detected