[Freeswitch-users] mod_lcr and extra_vars
Boris Kovalenko
boris at tagnet.ru
Mon Jan 10 20:43:09 MSK 2011
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
More information about the FreeSWITCH-users
mailing list