[Freeswitch-users] mod_lcr and extra_vars

Boris Kovalenko boris at tagnet.ru
Sat Jan 15 21:01:04 MSK 2011


Hello!

     Thank You, Rupa, I got it working the nibblebill way. But, imho, 
the way with one extra_vars field is more simple.
> The nibblebill example works.  I use it all the time.
>
> a) are you on current git?
>
> b) can you provide your profile and debug logs?
>
> On Sat, Jan 15, 2011 at 9:12 AM, Boris Kovalenko<boris at tagnet.ru>  wrote:
>> Hello!
>>
>>      I've tested as You recommended. No success. Would You please
>> provide an example?
>>> You aren't quite using it right.  You need to create a distinct sql
>>> field for each var you want imported.  Not a single field with a list
>>> of var=value like you show below.
>>>
>>> On Mon, Jan 10, 2011 at 11:43 AM, Boris Kovalenko<boris at tagnet.ru>    wrote:
>>>> Hello!
>>>>
>>>>       I need to set extra vars with mod_lcr. I did as wiki recomended:
>>>> 1) created sql column
>>>> 2) modified sql quer
>>>> 3) added<param name="export_fields" value="lcr_gw_extra_vars"/>    to profile
>>>> So, may lcr output looks nice:
>>>> | Digit Match | Carrier     | Rate     | Codec | CID Regexp          |
>>>> Limit |
>>>> Dialstring
>>>> |
>>>>    | 734353      | tagnet.ru   | 0.00000  |       |
>>>> |       |
>>>> [lcr_carrier=tagnet.ru,lcr_rate=0.00000,lcr_gw_extra_vars=,v_tagnet_ats_dstport=50000]sofia/epbx/73435350101 at X.X.X.X:5060
>>>>
>>>> Unfortunatelly I can't see (and can't use) v_tagnet_ats_dstport variable
>>>> in my cdr records (even with b-leg the variable isn't present) until I
>>>> set import=v_tagnet_ats_dstport variable. But I thinked mod_lcr should
>>>> do this?
>>>> Something wrong with my configuration?
>>>>
>>>>
>>>> --
>>>> С уважением,
>>>>     Борис Коваленко
>>>>     ЗАО "Тагнет"
>>>>     (3435) 494991
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>>
>>>
>>
>> --
>> С уважением,
>>    Борис Коваленко
>>    ЗАО "Тагнет"
>>    (3435) 494991
>>
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>


-- 
С уважением,
   Борис Коваленко
   ЗАО "Тагнет"
   (3435) 494991





More information about the FreeSWITCH-users mailing list