[OpenSIPS-Users] Doubts on call-center scenario

Daniel Zanutti daniel.zanutti at gmail.com
Fri Sep 21 08:43:40 EDT 2018


Got it!

Thanks

On Fri, Sep 21, 2018 at 6:12 AM Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:

> Hi Daniel,
>
> OK, so you want to get the parameter into the local route (when the calls
> are sent out). Right now, the out of the box solution is what you already
> did - put the scenario parameters into RURI so you can extract them in the
> local route.
> This is ugly, let me think of a better solution, correlated with the b2b
> rework (in order to replace the xml control with the scripting control).
>
> 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/20/2018 09:32 PM, Daniel Zanutti wrote:
>
> 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 <bogdan at 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 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/20180921/78b0310c/attachment.html>


More information about the Users mailing list