Sorry, I am new on Opensips, I did understand when you said "local_route", now its working. Thank very so much for your time. best regards.
2022/04/18 12:56:29.681936 192.168.0.215:5070 -> 192.168.0.213:5060 INVITE sip:[email protected]:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.0.215:5070;branch=z9hG4bKd8e9.12db2f97.0 To: sip:[email protected]:5060 From: <sip:[email protected]:5060>;tag=c6cf02786cfbb0099acf67a3ce978fec CSeq: 2 INVITE Call-ID: B2B.332.605219.1650297388 Max-Forwards: 70 Content-Length: 0 User-Agent: OpenSIPS (3.2.5 (x86_64/linux)) Contact: <sip:192.168.0.215:5070> *X-TESTE: hasta la vista baby* On Mon, Apr 18, 2022 at 12:50 PM Bogdan-Andrei Iancu <[email protected]> wrote: > https://www.opensips.org/Documentation/Script-Routes-3-2#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 6:20 PM, Antonio Couto wrote: > > 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 <[email protected]> > 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 <[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
