MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / makeUri

Function makeUri

SIP/SIPBase.cpp:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 return format("<sip:%s@%s>;tag=%s",username,ip,tag);
75}
76string makeUri(string username, string ip, unsigned port)
77{
78 if (port) {
79 return format("sip:%s@%s:%u",username,ip,port);
80 } else {
81 return format("sip:%s@%s",username,ip);
82 }
83}
84
85static int get_rtp_tev_type(char dtmf){
86 switch (dtmf){

Callers 6

dsSetLocalMOMethod · 0.85
makeRegisterMsgMethod · 0.85
newSipDialogMOSMSMethod · 0.85
newSipDialogMOUssdMethod · 0.85
newSipDialogMOCMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected