Thanks for quick response.

I put on route[b2b_request] and route[b2b_reply] routes, but I think this
model I am trying to use will not work
like you said.

i think I will need to send a complete INVITE from another application to
start b2b from a INVITE message,
so I can preserve this original header on b2b logic module.

thanks a lot.


On Mon, Apr 18, 2022 at 11:16 AM Bogdan-Andrei Iancu <[email protected]>
wrote:

> Hi Antonio,
>
> not sure where you placed the append_hf(), but you need to place it in the
> local_route, for original INVITEs.
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>   https://www.opensips-solutions.com
> OpenSIPS eBootcamp 23rd May - 3rd June 2022
>   https://opensips.org/training/OpenSIPS_eBootcamp_2022/
>
> On 4/18/22 4:58 PM, Antonio Couto wrote:
>
> It is possible to insert header on outgoing INVITE from a B2BUA scenario
> start by mi command
> via UDP like this?
>
>  let obj =  {
>     "jsonrpc":"2.0",
>     "id":"7684",
>     "method":"b2b_trigger_scenario",
>     "params":[
>       "marketing",
>       "operator,sip:[email protected]:5060",
>       "customer,sip:[email protected]:5060",
> ]
>   }
> I tried to use append_hf but no effect.
> thanks in advance.
> Antonio Couto
>
>
> _______________________________________________
> Users mailing 
> [email protected]http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to