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

Function mod_load

modules/tm/tm.c:889–901  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

887}
888
889static int mod_load(void)
890{
891 if(register_pv_context("request", tm_pv_context_request)< 0) {
892 LM_ERR("Failed to register pv contexts\n");
893 return -1;
894 }
895
896 if(register_pv_context("reply", tm_pv_context_reply)< 0) {
897 LM_ERR("Failed to register pv contexts\n");
898 return -1;
899 }
900 return 0;
901}
902
903static int mod_init(void)
904{

Callers

nothing calls this directly

Calls 1

register_pv_contextFunction · 0.85

Tested by

no test coverage detected