From dnadares@gmail.com Mon Dec 26 17:21:27 2016 From: Diego Nadares To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] set_body_multipart and append_body_part Date: Mon, 26 Dec 2016 16:21:10 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0397138525==" --===============0397138525== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Sergey, Thanks for your reply. You are right. I added a test with results in the second email calling only set_body_multipart. Do you have any idea what is happening? Thanks again! Diego El El lun, 26 de dic. de 2016 a las 13:10, Sergey Basov < sergey.v.basov(a)gmail.com> escribi=C3=B3: > Hi. > > As from textopsx module doc: "This function can be used from REQUEST_ROUTE > or ONREPLY_ROUTE." > > And you have error in your log: "Dec 26 11:36:22 dwrfsd01 > ./kamailio[8847]: ERROR: textopsx [textopsx.c:159]: msg_apply_changes_f(): > invalid usage - not in request route" > > -- > Sergey Basov > > > 26 =D0=B4=D0=B5=D0=BA. 2016 =D0=B3. 5:05 PM =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7= =D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Diego Nadares" > =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > > Sorry, I forgot to paste two log lines. > > ..... > Dec 26 11:36:22 dwrfsd01 ./kamailio[8847]: ERROR: textopsx > [textopsx.c:159]: msg_apply_changes_f(): invalid usage - not in request > route > Dec 26 11:36:22 dwrfsd01 ./kamailio[8847]: ERROR: textops > [textops.c:1879]: append_multibody_helper(): Cannot get boundary. Is body > multipart? > Dec 26 11:36:22 dwrfsd01 ./kamailio[8847]: INFO: