<div dir="ltr">Thank You. <div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Senior Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jan 11, 2019 at 3:23 PM Răzvan Crainea <<a href="mailto:razvan@opensips.org">razvan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi, Sasmita!<br>
<br>
You are right, I've checked now and unfortunately in this case the <br>
siprec module does not send the request headers to B2B. Therefore the <br>
only way you can do this is to "manually" add them in the INVITE caught <br>
by local_route.<br>
<br>
Best regards,<br>
Răzvan<br>
<br>
On 1/11/19 11:48 AM, Sasmita Panda wrote:<br>
>     My initial INVITE looks like below :<br>
> <br>
>      Request-Line: INVITE <a href="http://sip:6001@p2p.i3clogic.com:5507" rel="noreferrer" target="_blank">sip:6001@p2p.i3clogic.com:5507</a> <br>
> <<a href="http://sip:6001@p2p.i3clogic.com:5507/" rel="noreferrer" target="_blank">http://sip:6001@p2p.i3clogic.com:5507/</a>> SIP/2.0<br>
>      Message Header<br>
>          Via: SIP/2.0/UDP <br>
> 180.151.95.154:52075;rport;branch=z9hG4bKPjc71c77196989435d8a66406b2f3911e9<br>
>          Max-Forwards: 70<br>
>          From: <br>
> <a href="mailto:sip%3Awebuser@p2p.i3clogic.com" target="_blank">sip:webuser@p2p.i3clogic.com</a>:5507;tag=f4e76f6568f74697b55a865842214362<br>
>          To: <a href="http://sip:6001@p2p.i3clogic.com:5507" rel="noreferrer" target="_blank">sip:6001@p2p.i3clogic.com:5507</a> <br>
> <<a href="http://sip:6001@p2p.i3clogic.com:5507/" rel="noreferrer" target="_blank">http://sip:6001@p2p.i3clogic.com:5507/</a>><br>
>          Contact: <<a href="http://sip:webuser@180.151.95.154:52075" rel="noreferrer" target="_blank">sip:webuser@180.151.95.154:52075</a> <br>
> <<a href="http://sip:webuser@180.151.95.154:52075/" rel="noreferrer" target="_blank">http://sip:webuser@180.151.95.154:52075/</a>>><br>
>          Call-ID: 7fa9909d3769498380c33e52758eca16<br>
>          CSeq: 11538 INVITE<br>
>          X-Proxy: false<br>
>          Allow: SUBSCRIBE, NOTIFY, REFER, MESSAGE<br>
>          Supported: replaces, timer<br>
>          Session-Expires: 3600<br>
>          Min-SE: 90<br>
>          User-Agent: WebAstra<br>
> X-Info: normal;;A=sip3;C=140;R=4<br>
>          Content-Type: application/sdp<br>
>          Content-Length:   225<br>
>      Message Body<br>
> <br>
> <br>
> Below is the Invite opesips generate for recording server :<br>
> <br>
>   Request-Line: INVITE sip:x.x.x.x:5060 SIP/2.0<br>
>      Message Header<br>
>          Via: SIP/2.0/UDP x.x.x.y:5507;branch=z9hG4bK5ad5.d0081b53.0<br>
>          To: sip:x.x.x.x:5060<br>
>          From: <sip:x.x.x.x:5060>;tag=204a7ab5593cac3dd64ab293b65e4314-ce21<br>
>          CSeq: 2 INVITE<br>
>          Call-ID: B2B.430.6291654.1547195241<br>
>          Max-Forwards: 70<br>
>          Content-Length: 1379<br>
>          User-Agent: OpenSIPS (2.4.3 (x86_64/linux))<br>
>          Require: siprec<br>
>          Content-Type: multipart/mixed;boundary=OSS-unique-boundary-42<br>
>          Contact: <sip:x.x.x.y:5507><br>
>      Message Body<br>
> <br>
> Even though I have mentioned the customer_headers parameter still its <br>
> not adding . What must be the error ? Is there any issue with siprec <br>
> module of opensips-2.4.3 ?<br>
> <br>
> Please do help me .<br>
> <br>
> */Thanks & Regards/*<br>
> /Sasmita Panda/<br>
> /Senior Network Testing and Software Engineer/<br>
> /3CLogic , ph:07827611765/<br>
> <br>
> <br>
> On Fri, Jan 11, 2019 at 3:16 PM Sasmita Panda <<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</a> <br>
> <mailto:<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</a>>> wrote:<br>
> <br>
>     My initial INVITE looks like below :<br>
> <br>
>          Request-Line: INVITE <a href="http://sip:6001@p2p.i3clogic.com:5507" rel="noreferrer" target="_blank">sip:6001@p2p.i3clogic.com:5507</a><br>
>     <<a href="http://sip:6001@p2p.i3clogic.com:5507" rel="noreferrer" target="_blank">http://sip:6001@p2p.i3clogic.com:5507</a>> SIP/2.0<br>
>          Message Header<br>
>              Via: SIP/2.0/UDP<br>
>     180.151.95.154:52075;rport;branch=z9hG4bKPjc71c77196989435d8a66406b2f3911e9<br>
>              Max-Forwards: 70<br>
>              From:<br>
>     <a href="mailto:sip%3Awebuser@p2p.i3clogic.com" target="_blank">sip:webuser@p2p.i3clogic.com</a>:5507;tag=f4e76f6568f74697b55a865842214362<br>
>              To: <a href="http://sip:6001@p2p.i3clogic.com:5507" rel="noreferrer" target="_blank">sip:6001@p2p.i3clogic.com:5507</a><br>
>     <<a href="http://sip:6001@p2p.i3clogic.com:5507" rel="noreferrer" target="_blank">http://sip:6001@p2p.i3clogic.com:5507</a>><br>
>              Contact: <<a href="http://sip:webuser@180.151.95.154:52075" rel="noreferrer" target="_blank">sip:webuser@180.151.95.154:52075</a><br>
>     <<a href="http://sip:webuser@180.151.95.154:52075" rel="noreferrer" target="_blank">http://sip:webuser@180.151.95.154:52075</a>>><br>
>              Call-ID: 7fa9909d3769498380c33e52758eca16<br>
>              CSeq: 11538 INVITE<br>
>              X-Proxy: false<br>
>              Allow: SUBSCRIBE, NOTIFY, REFER, MESSAGE<br>
>              Supported: replaces, timer<br>
>              Session-Expires: 3600<br>
>              Min-SE: 90<br>
>              User-Agent: WebAstra<br>
>              X-Info: normal;;A=sip3;C=140;R=4<br>
>              Content-Type: application/sdp<br>
>              Content-Length:   225<br>
>          Message Body<br>
> <br>
> <br>
>     Below is the Invite opesips generate for recording server :<br>
> <br>
>     */Thanks & Regards/*<br>
>     /Sasmita Panda/<br>
>     /Senior Network Testing and Software Engineer/<br>
>     /3CLogic , ph:07827611765/<br>
> <br>
> <br>
>     On Fri, Jan 11, 2019 at 1:42 PM Sasmita Panda <<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</a><br>
>     <mailto:<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</a>>> wrote:<br>
> <br>
>         X-Info header is coming in the initial Invite , still its not<br>
>         adding .<br>
> <br>
>         Even I am not getting anything in the logs too.<br>
> <br>
> <br>
>         */Thanks & Regards/*<br>
>         /Sasmita Panda/<br>
>         /Senior Network Testing and Software Engineer/<br>
>         /3CLogic , ph:07827611765/<br>
> <br>
> <br>
>         On Fri, Jan 11, 2019 at 1:38 PM Răzvan Crainea<br>
>         <<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a> <mailto:<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>>> wrote:<br>
> <br>
>             Hello!<br>
> <br>
>             Is the X-Info header received in the initial INVITE, or is<br>
>             it added by<br>
>             your script? In case it is received, it should be added if<br>
>             you set it in<br>
>             the custom_headers parameters. If you add it  yourself in<br>
>             the script, it<br>
>             won't be added.<br>
>             Nevertheless, you can modify the INVITE generated by b2b in<br>
>             local_route<br>
>             - you can add your header there. Hope this helps!<br>
> <br>
>             Best regards,<br>
>             Razvan<br>
> <br>
>             On 1/11/19 10:03 AM, Sasmita Panda wrote:<br>
>              > Hi All,<br>
>              ><br>
>              > version: opensips 2.4.3 (x86_64/linux)<br>
>              ><br>
>              > I am using siprec module with orex (3rd party software ) .<br>
>              > I wanted to send 1 customize header of main dialog to the<br>
>             dialog getting<br>
>              > forwarded to recording server .<br>
>              ><br>
>              > As I know , opensips acts as a b2b UA , and generate its<br>
>             own Invite for<br>
>              > recording server in this case . Its only sending the<br>
>             default headers and<br>
>              > wont send any information of the initial dialog .<br>
>              ><br>
>              > I have a header X-Info . I wanted to pass this . I have<br>
>             tried the below<br>
>              > thing .<br>
>              ><br>
>              > loadmodule "b2b_entities.so"<br>
>              > loadmodule "b2b_logic.so"<br>
>              > modparam("b2b_logic", "custom_headers", "X-Info")<br>
>              ><br>
>              > I have tried to send custom header through b2b_logic ,<br>
>             but that wont<br>
>              > work . It wont add the header . What should I do for this ?<br>
>              ><br>
>              ><br>
>              ><br>
>              ><br>
>              ><br>
>              > */ Thanks & Regards/*<br>
>              > /Sasmita Panda/<br>
>              > /Senior Network Testing and Software Engineer/<br>
>              > /3CLogic , ph:07827611765/<br>
>              ><br>
>              > _______________________________________________<br>
>              > Users mailing list<br>
>              > <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><br>
>              > <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
>              ><br>
> <br>
>             -- <br>
>             Răzvan Crainea<br>
>             OpenSIPS Core Developer<br>
>             <a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
>             Meet the OpenSIPS team at the next OpenSIPS Summit:<br>
>             <a href="https://www.opensips.org/events" rel="noreferrer" target="_blank">https://www.opensips.org/events</a><br>
> <br>
>             _______________________________________________<br>
>             Users mailing list<br>
>             <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><br>
>             <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> <br>
> <br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> <br>
<br>
-- <br>
Răzvan Crainea<br>
OpenSIPS Core Developer<br>
   <a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
Meet the OpenSIPS team at the next OpenSIPS Summit:<br>
   <a href="https://www.opensips.org/events" rel="noreferrer" target="_blank">https://www.opensips.org/events</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>