@@ -420,7 +420,7 @@ static int topo_dlg_replace_contact(struct sip_msg* msg, struct dlg_cell* dlg, i
420
420
goto error ;
421
421
}
422
422
423
- if ((lump = insert_new_lump_after (lump , prefix , ct -> len , HDR_CONTACT_T )) == 0 ) {
423
+ if ((lump = insert_new_lump_after (lump , prefix , ct -> len , 0 )) == 0 ) {
424
424
LM_ERR ("failed inserting '%.*s'\n" , ct -> len , prefix );
425
425
goto error ;
426
426
}
@@ -597,19 +597,19 @@ static int topo_dlg_replace_contact(struct sip_msg* msg, struct dlg_cell* dlg, i
597
597
goto error ;
598
598
}
599
599
600
- if ((lump = insert_new_lump_after (lump ,prefix ,prefix_len ,HDR_CONTACT_T )) == 0 ) {
600
+ if ((lump = insert_new_lump_after (lump ,prefix ,prefix_len ,0 )) == 0 ) {
601
601
LM_ERR ("failed inserting '<sip:'\n" );
602
602
goto error ;
603
603
}
604
604
/* make sure we do not free this string in case of a further error */
605
605
prefix = NULL ;
606
606
607
- if ((lump = insert_subst_lump_after (lump , SUBST_SND_ALL , HDR_CONTACT_T )) == 0 ) {
607
+ if ((lump = insert_subst_lump_after (lump , SUBST_SND_ALL , 0 )) == 0 ) {
608
608
LM_ERR ("failed inserting SUBST_SND buf\n" );
609
609
goto error ;
610
610
}
611
611
612
- if ((lump = insert_new_lump_after (lump ,suffix ,suffix_len ,HDR_CONTACT_T )) == 0 ) {
612
+ if ((lump = insert_new_lump_after (lump ,suffix ,suffix_len ,0 )) == 0 ) {
613
613
LM_ERR ("failed inserting '<sip:'\n" );
614
614
goto error ;
615
615
}
@@ -1775,7 +1775,7 @@ static int topo_no_dlg_encode_contact(struct sip_msg *msg,int flags, str *routes
1775
1775
prefix [prefix_len - 1 ] = '@' ;
1776
1776
}
1777
1777
1778
- if (!(lump = insert_new_lump_after (lump ,prefix ,prefix_len ,HDR_CONTACT_T ))) {
1778
+ if (!(lump = insert_new_lump_after (lump ,prefix ,prefix_len ,0 ))) {
1779
1779
LM_ERR ("failed inserting '<sip:'\n" );
1780
1780
goto error ;
1781
1781
}
@@ -1787,12 +1787,12 @@ static int topo_no_dlg_encode_contact(struct sip_msg *msg,int flags, str *routes
1787
1787
goto error ;
1788
1788
}
1789
1789
1790
- if (!(lump = insert_subst_lump_after (lump , SUBST_SND_ALL , HDR_CONTACT_T ))) {
1790
+ if (!(lump = insert_subst_lump_after (lump , SUBST_SND_ALL , 0 ))) {
1791
1791
LM_ERR ("failed inserting SUBST_SND buf\n" );
1792
1792
goto error ;
1793
1793
}
1794
1794
1795
- if (!(lump = insert_new_lump_after (lump ,suffix ,suffix_len ,HDR_CONTACT_T ))) {
1795
+ if (!(lump = insert_new_lump_after (lump ,suffix ,suffix_len ,0 ))) {
1796
1796
LM_ERR ("failed inserting '<sip:'\n" );
1797
1797
goto error ;
1798
1798
}
0 commit comments