[OpenSIPS-Users] B2BUA append_hf

Antonio Couto couto.a at gmail.com
Mon Apr 18 15:20:58 UTC 2022


OK, but using the request on json that I inform on may email send ny mi
command,
all messages are handle on these routes only:

route[b2b_request]
route[b2b_reply]

there no messages captured on main *route {*

thanks




On Mon, Apr 18, 2022 at 12:03 PM Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:

> As per my suggestion, try the local_route
>
> 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 5:35 PM, Antonio Couto wrote:
>
> 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 <bogdan at opensips.org>
> 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:9000 at 192.168.0.213:5060",
>>       "customer,sip:microsip at 192.168.0.44:5060",
>> ]
>>   }
>> I tried to use append_hf but no effect.
>> thanks in advance.
>> Antonio Couto
>>
>>
>> _______________________________________________
>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220418/01296e3b/attachment-0001.html>


More information about the Users mailing list