<div dir="ltr"><div dir="ltr"><div> My initial INVITE looks like below :</div><div><br></div><div><div> Request-Line: INVITE <a href="http://sip:6001@p2p.i3clogic.com:5507/" target="_blank">sip:6001@p2p.i3clogic.com:5507</a> SIP/2.0</div><div> Message Header</div><div> Via: SIP/2.0/UDP 180.151.95.154:52075;rport;branch=z9hG4bKPjc71c77196989435d8a66406b2f3911e9</div><div> Max-Forwards: 70</div><div> From: sip:webuser@p2p.i3clogic.com:5507;tag=f4e76f6568f74697b55a865842214362</div><div> To: <a href="http://sip:6001@p2p.i3clogic.com:5507/" target="_blank">sip:6001@p2p.i3clogic.com:5507</a></div><div> Contact: <<a href="http://sip:webuser@180.151.95.154:52075/" target="_blank">sip:webuser@180.151.95.154:52075</a>></div><div> Call-ID: 7fa9909d3769498380c33e52758eca16</div><div> CSeq: 11538 INVITE</div><div> X-Proxy: false</div><div> Allow: SUBSCRIBE, NOTIFY, REFER, MESSAGE</div><div> Supported: replaces, timer</div><div> Session-Expires: 3600</div><div> Min-SE: 90</div><div> User-Agent: WebAstra</div><div> <font color="#ff0000">X-Info: normal;;A=sip3;C=140;R=4</font></div><div> Content-Type: application/sdp</div><div> Content-Length: 225</div><div> Message Body</div><div><br></div><div><br></div><div>Below is the Invite opesips generate for recording server :</div></div><div><br></div><div> Request-Line: INVITE sip:x.x.x.x:5060 SIP/2.0</div><div> Message Header</div><div> Via: SIP/2.0/UDP x.x.x.y:5507;branch=z9hG4bK5ad5.d0081b53.0</div><div> To: sip:x.x.x.x:5060</div><div> From: <sip:x.x.x.x:5060>;tag=204a7ab5593cac3dd64ab293b65e4314-ce21</div><div> CSeq: 2 INVITE</div><div> Call-ID: B2B.430.6291654.1547195241</div><div> Max-Forwards: 70</div><div> Content-Length: 1379</div><div> User-Agent: OpenSIPS (2.4.3 (x86_64/linux))</div><div> Require: siprec</div><div> Content-Type: multipart/mixed;boundary=OSS-unique-boundary-42</div><div> Contact: <sip:x.x.x.y:5507></div><div> Message Body</div><div><br></div><div>Even though I have mentioned the customer_headers parameter still its not adding . What must be the error ? Is there any issue with siprec module of opensips-2.4.3 ?</div><div><br></div><div>Please do help me .</div><div><br></div><div><div dir="ltr" class="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:16 PM Sasmita Panda <<a href="mailto:spanda@3clogic.com">spanda@3clogic.com</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"><div dir="ltr"><div dir="ltr">My initial INVITE looks like below :<div><br></div><div><div> Request-Line: INVITE <a href="http://sip:6001@p2p.i3clogic.com:5507" target="_blank">sip:6001@p2p.i3clogic.com:5507</a> SIP/2.0</div><div> Message Header</div><div> Via: SIP/2.0/UDP 180.151.95.154:52075;rport;branch=z9hG4bKPjc71c77196989435d8a66406b2f3911e9</div><div> Max-Forwards: 70</div><div> From: sip:webuser@p2p.i3clogic.com:5507;tag=f4e76f6568f74697b55a865842214362</div><div> To: <a href="http://sip:6001@p2p.i3clogic.com:5507" target="_blank">sip:6001@p2p.i3clogic.com:5507</a></div><div> Contact: <<a href="http://sip:webuser@180.151.95.154:52075" target="_blank">sip:webuser@180.151.95.154:52075</a>></div><div> Call-ID: 7fa9909d3769498380c33e52758eca16</div><div> CSeq: 11538 INVITE</div><div> X-Proxy: false</div><div> Allow: SUBSCRIBE, NOTIFY, REFER, MESSAGE</div><div> Supported: replaces, timer</div><div> Session-Expires: 3600</div><div> Min-SE: 90</div><div> User-Agent: WebAstra</div><div> X-Info: normal;;A=sip3;C=140;R=4</div><div> Content-Type: application/sdp</div><div> Content-Length: 225</div><div> Message Body</div><div><br></div><div><br></div><div>Below is the Invite opesips generate for recording server :</div><div><br></div><div><div dir="ltr" class="gmail-m_-5314825316043692490gmail_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></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jan 11, 2019 at 1:42 PM Sasmita Panda <<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</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"><div dir="ltr">X-Info header is coming in the initial Invite , still its not adding . <div><br></div><div>Even I am not getting anything in the logs too. </div><div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail-m_-5314825316043692490gmail-m_-1898379067183237084gmail_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 1:38 PM Răzvan Crainea <<a href="mailto:razvan@opensips.org" target="_blank">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">Hello!<br>
<br>
Is the X-Info header received in the initial INVITE, or is it added by <br>
your script? In case it is received, it should be added if you set it in <br>
the custom_headers parameters. If you add it yourself in the script, it <br>
won't be added.<br>
Nevertheless, you can modify the INVITE generated by b2b in 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 dialog getting <br>
> forwarded to recording server .<br>
> <br>
> As I know , opensips acts as a b2b UA , and generate its own Invite for <br>
> recording server in this case . Its only sending the 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 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 , 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><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>
</blockquote></div>
</blockquote></div>