Selaa lähdekoodia

RecordRouter header is also copied now from request into response

Bogdan-Andrei Iancu 23 vuotta sitten
vanhempi
commit
a98c048707
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      msg_translator.c

+ 2 - 0
msg_translator.c

@@ -654,6 +654,7 @@ char * build_res_buf_from_sip_req( unsigned int code, char *text,
 			case HDR_FROM:
 			case HDR_CALLID:
 			case HDR_CSEQ:
+			case HDR_RECORDROUTE:
 				len += ((hdr->body.s+hdr->body.len )-hdr->name.s )+CRLF_LEN;
 		}
 	/*lumps length*/
@@ -730,6 +731,7 @@ char * build_res_buf_from_sip_req( unsigned int code, char *text,
 			case HDR_FROM:
 			case HDR_CALLID:
 			case HDR_CSEQ:
+			case HDR_RECORDROUTE:
 				append_str_trans( p, hdr->name.s ,
 					((hdr->body.s+hdr->body.len )-hdr->name.s ),msg);
 				append_str( p, CRLF,CRLF_LEN,msg);