MCPcopy Create free account
hub / github.com/SIPp/sipp / sendBuffer

Method sendBuffer

src/call.cpp:1509–1519  ·  view source on GitHub ↗

This method is used to send messages that are not */ part of the XML scenario */

Source from the content-addressed store, hash-verified

1507/* This method is used to send messages that are not */
1508/* part of the XML scenario */
1509void call::sendBuffer(char * msg, int len)
1510{
1511 /* call send_raw but with a special scenario index */
1512 if (send_raw(msg, -1, len) < 0) {
1513 if (sendbuffer_warn) {
1514 ERROR_NO("Error sending raw message");
1515 } else {
1516 WARNING_NO("Error sending raw message");
1517 }
1518 }
1519}
1520
1521char * call::get_header_field_code(const char *msg, const char * name)
1522{

Callers

nothing calls this directly

Calls 2

ERROR_NOFunction · 0.85
WARNING_NOFunction · 0.85

Tested by

no test coverage detected