Skip to content

Commit

Permalink
Merge pull request #2014 from l2dy/emergency
Browse files Browse the repository at this point in the history
emergency: fix empty debug log
  • Loading branch information
liviuchircu committed Mar 12, 2020
2 parents eadb666 + c7561c0 commit 2d604cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/emergency/http_emergency.c
Expand Up @@ -99,9 +99,9 @@ int send_esct(struct sip_msg *msg, str callid_ori, str from_tag){
localtime_r(&rawtime, &timeinfo);

strftime(info_call->esct->datetimestamp, MAX_TIME_SIZE, "%Y-%m-%dT%H:%M:%S%Z", &timeinfo);
LM_DBG(" --- TREAT BYE - XML ESCT %s \n \n", xml);

xml = buildXmlFromModel(info_call->esct);
LM_DBG(" --- TREAT BYE - XML ESCT %s \n \n", xml);

// sends HTTP POST esctRequest to VPC
resp = post(url_vpc, xml, &response);
Expand Down

0 comments on commit 2d604cd

Please sign in to comment.