* OSP callback function * param t * param type * param ps */
| 104 | * param ps |
| 105 | */ |
| 106 | static void ospTmcbFunc( |
| 107 | struct cell* t, |
| 108 | int type, |
| 109 | struct tmcb_params* ps) |
| 110 | { |
| 111 | if (type & TMCB_RESPONSE_OUT) { |
| 112 | LM_DBG("RESPONSE_OUT\n"); |
| 113 | } else if (type & TMCB_RESPONSE_IN) { |
| 114 | LM_DBG("RESPONSE_IN\n"); |
| 115 | } else if (type & TMCB_REQUEST_FWDED) { |
| 116 | LM_DBG("REQUEST_FWDED\n"); |
| 117 | } else if (type & TMCB_RESPONSE_FWDED) { |
| 118 | LM_DBG("RESPONSE_FWDED\n"); |
| 119 | } else if (type & TMCB_ON_FAILURE) { |
| 120 | LM_DBG("FAILURE\n"); |
| 121 | } else if (type & TMCB_LOCAL_COMPLETED) { |
| 122 | LM_DBG("COMPLETED\n"); |
| 123 | } else { |
| 124 | LM_DBG("something else '%d'\n", type); |
| 125 | } |
| 126 | |
| 127 | if (t) { |
| 128 | ospRecordEvent(t->uac[t->first_branch].last_received, t->uas.status); |
| 129 | } else { |
| 130 | LM_DBG("cell is empty\n"); |
| 131 | } |
| 132 | } |
nothing calls this directly
no test coverage detected