| 613 | int extract_ftc_hdrs( char *buf, int len, str *from, str *to, str *cseq,str *callid); |
| 614 | |
| 615 | inline static struct timeval *get_msg_time(struct sip_msg *msg) |
| 616 | { |
| 617 | static struct timeval static_time; |
| 618 | if (!msg || msg == (struct sip_msg *)-1) { |
| 619 | gettimeofday(&static_time, NULL); |
| 620 | return &static_time; |
| 621 | } |
| 622 | if (msg->time.tv_sec == 0 && msg->time.tv_usec == 0) |
| 623 | gettimeofday(&msg->time, NULL); |
| 624 | return &msg->time; |
| 625 | } |
| 626 | |
| 627 | #endif |
no outgoing calls
no test coverage detected