#497 B2B_LOGIC - insert_hf() ignored by b2b

1.8.x
closed-invalid
nobody
modules (454)
5
2012-04-02
2012-03-30
No

I set modparam("b2b_logic", "custom_headers", "test") in options.
insert_hf("test: test\r\n", "To") doesn't work before b2b_init_request command, also it doesn't work in b2b_request route.
After b2b processing tag was removed.

I think, it should be there in both cases.

Discussion

  • Anca Vamanu

    Anca Vamanu - 2012-03-31

    Hi,

    The usage that you describe is not supported.
    But you can achieve what you want by inserting the new header in local_route.

    Regards,
    Anca

     
  • Nick Altmann

    Nick Altmann - 2012-03-31

    It's not really good when I should add tag with real ip-address to save it in local cache when packet received and restore it in local route to add to sip packet after b2b processing. As workaround it may be helpful to add option to b2b_logic module to add tag with source ip address.

     
  • Bogdan-Andrei Iancu

    As Anca said, this is a know issues that is not suppose to work in b2b.

    I suggest opening a feature request, so that, from script, you will be able to pass to b2b module a string of headers to be added to the newly generated outbound call.

    Regards,
    Bogdan

     
  • Bogdan-Andrei Iancu

    • status: open --> closed-invalid
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks