Hi Bogdan I'm triggering the script via MI. The idea is to send some parameter with the MI parameters and use this as a variable on localroute.
For example, a dialer place call to B destination, after answer, place call to A destination, then bridge. On B side, i need to store on DB the gateway_id that will process the call. On A side, I'll call the Queue number, but I need to send and store the campaign ID. These 2 values must be stored on CDR. I didn't find a way to send, for example, the gateway_id to the opensips script when using B2B. Thanks On Thu, Sep 20, 2018 at 12:48 PM Bogdan-Andrei Iancu <bog...@opensips.org> wrote: > Hi Daniel, > > Could you detail a bit on the flow of this customer related value ? where > does is originate (when triggering the b2b script via MI?) and where do you > want to get it ? > > Best regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > http://www.opensips-solutions.com > OpenSIPS Bootcamp 2018 > http://opensips.org/training/OpenSIPS_Bootcamp_2018/ > > On 09/12/2018 12:32 AM, Daniel Zanutti wrote: > > Hi everyone, > > I'm using opensips to originate a call to 2 destinations then bridge then, > using B2B scenario. > > How to send some custom parameters to help accounting? > I need to identify that this specific call, is related to some customer. > Didn't find in docs a proper way to do it, so my idea is to set r-uri with > some kind of csv data then fix it before it's sent out on local_route. But > I'm unsure this is a good idea. > > Is there a proper way to send custom parameter to be handled on > local_route? > > Thanks > > > > _______________________________________________ > Users mailing > listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users > > >
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users