[OpenSIPS-Users] I need some help in b2b module .
spanda at 3clogic.com
Fri Jan 11 04:46:16 EST 2019
My initial INVITE looks like below :
Request-Line: INVITE sip:6001 at p2p.i3clogic.com:5507 SIP/2.0
Via: SIP/2.0/UDP 184.108.40.206:52075
From: sip:webuser at p2p.i3clogic.com:5507
To: sip:6001 at p2p.i3clogic.com:5507
Contact: <sip:webuser at 220.127.116.11:52075>
CSeq: 11538 INVITE
Allow: SUBSCRIBE, NOTIFY, REFER, MESSAGE
Supported: replaces, timer
Below is the Invite opesips generate for recording server :
*Thanks & Regards*
*Senior Network Testing and Software Engineer*
*3CLogic , ph:07827611765*
On Fri, Jan 11, 2019 at 1:42 PM Sasmita Panda <spanda at 3clogic.com> wrote:
> X-Info header is coming in the initial Invite , still its not adding .
> Even I am not getting anything in the logs too.
> *Thanks & Regards*
> *Sasmita Panda*
> *Senior Network Testing and Software Engineer*
> *3CLogic , ph:07827611765*
> On Fri, Jan 11, 2019 at 1:38 PM Răzvan Crainea <razvan at opensips.org>
>> Is the X-Info header received in the initial INVITE, or is it added by
>> your script? In case it is received, it should be added if you set it in
>> the custom_headers parameters. If you add it yourself in the script, it
>> won't be added.
>> Nevertheless, you can modify the INVITE generated by b2b in local_route
>> - you can add your header there. Hope this helps!
>> Best regards,
>> On 1/11/19 10:03 AM, Sasmita Panda wrote:
>> > Hi All,
>> > version: opensips 2.4.3 (x86_64/linux)
>> > I am using siprec module with orex (3rd party software ) .
>> > I wanted to send 1 customize header of main dialog to the dialog
>> > forwarded to recording server .
>> > As I know , opensips acts as a b2b UA , and generate its own Invite for
>> > recording server in this case . Its only sending the default headers
>> > wont send any information of the initial dialog .
>> > I have a header X-Info . I wanted to pass this . I have tried the below
>> > thing .
>> > loadmodule "b2b_entities.so"
>> > loadmodule "b2b_logic.so"
>> > modparam("b2b_logic", "custom_headers", "X-Info")
>> > I have tried to send custom header through b2b_logic , but that wont
>> > work . It wont add the header . What should I do for this ?
>> > */ Thanks & Regards/*
>> > /Sasmita Panda/
>> > /Senior Network Testing and Software Engineer/
>> > /3CLogic , ph:07827611765/
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.opensips.org
>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> Răzvan Crainea
>> OpenSIPS Core Developer
>> Meet the OpenSIPS team at the next OpenSIPS Summit:
>> Users mailing list
>> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users