[OpenSIPS-Users] B2BUA append_hf

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Apr 18 15:03:21 UTC 2022


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 <mailto: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  <https://www.opensips-solutions.com>
>     OpenSIPS eBootcamp 23rd May - 3rd June 2022
>        https://opensips.org/training/OpenSIPS_eBootcamp_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?
>>
>>     letobj =  {
>>     "jsonrpc":"2.0",
>>     "id":"7684",
>>     "method":"b2b_trigger_scenario",
>>     "params":[
>>     "marketing",
>>     "operator,sip:9000 at 192.168.0.213:5060
>>     <http://sip:9000@192.168.0.213:5060>",
>>     "customer,sip:microsip at 192.168.0.44:5060
>>     <http://sip:microsip@192.168.0.44:5060>",
>>     ]
>>       }
>>     I tried to use append_hf but no effect.
>>     thanks in advance.
>>     Antonio Couto
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users  <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220418/5d21a195/attachment.html>


More information about the Users mailing list