[Freeswitch-users] XML_radius module doesn't send request to radius server

Artur Mega findmeinwland at gmail.com
Wed Jul 26 09:47:42 UTC 2017


My mistake, I used not correct xml config file.

2017-07-26 1:59 GMT+05:00 Artur Mega <findmeinwland at gmail.com>:

> Thanks for reply, now I have
>
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:933 Result of (null)
> match: 168.9.82.191 == ^168.9.82.191
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:94 Attempting to add
> param 'acctserver' with value '6.7.32.422:1813:dsfdssfww'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:94 Attempting to add
> param 'radius_timeout' with value '10'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:94 Attempting to add
> param 'radius_retries' with value '0'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:94 Attempting to add
> param 'radius_deadtime' with value '0'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:94 Attempting to add
> param 'dictionary' with value '/etc/radiusclient-ng/dictionary'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:94 Attempting to add
> param 'seqfile' with value '/var/run/radius.seq'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:378 mod_xml_radius: dict
> attr 'Acct-Session-Id' value '44' type '0'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:557 mod_xml_radius:
> value: 63C50CB0-5977AFEC000E8E1D-D59CF700
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:378 mod_xml_radius: dict
> attr 'h323-call-origin' value '589850' type '0'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:394 mod_xml_radius: dict
> vend name 'Cisco' vendorpec '9'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:557 mod_xml_radius:
> value: answer
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:378 mod_xml_radius: dict
> attr 'h323-conf-id' value '589848' type '0'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:394 mod_xml_radius: dict
> vend name 'Cisco' vendorpec '9'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:557 mod_xml_radius:
> value: 63C50CB0-5977AFEC000E8E1D-D59CF700
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:378 mod_xml_radius: dict
> attr 'Cisco-AVPair' value '589825' type '0'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:394 mod_xml_radius: dict
> vend name 'Cisco' vendorpec '9'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:557 mod_xml_radius:
> value: h323-call-id=63C50CB0-5977AFEC000E8E1D-D59CF700
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:378 mod_xml_radius: dict
> attr 'Cisco-AVPair' value '589825' type '0'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:394 mod_xml_radius: dict
> vend name 'Cisco' vendorpec '9'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:557 mod_xml_radius:
> value: src-gw-ip=130.211.110.78
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:378 mod_xml_radius: dict
> attr 'Cisco-AVPair' value '589825' type '0'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:394 mod_xml_radius: dict
> vend name 'Cisco' vendorpec '9'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:557 mod_xml_radius:
> value: src-gw-name=arturtrunk
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:378 mod_xml_radius: dict
> attr 'Cisco-AVPair' value '589825' type '0'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:394 mod_xml_radius: dict
> vend name 'Cisco' vendorpec '9'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:557 mod_xml_radius:
> value: src-number-in=arturtrunk
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:378 mod_xml_radius: dict
> attr 'Cisco-AVPair' value '589825' type '0'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:394 mod_xml_radius: dict
> vend name 'Cisco' vendorpec '9'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:557 mod_xml_radius:
> value: src-number-out=arturtrunk
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:378 mod_xml_radius: dict
> attr 'Calling-Station-Id' value '31' type '0'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:557 mod_xml_radius:
> value: arturtrunk
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:378 mod_xml_radius: dict
> attr 'Cisco-AVPair' value '589825' type '0'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:394 mod_xml_radius: dict
> vend name 'Cisco' vendorpec '9'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:557 mod_xml_radius:
> value: dst-gw-ip=168.9.82.191
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:378 mod_xml_radius: dict
> attr 'Cisco-AVPair' value '589825' type '0'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:394 mod_xml_radius: dict
> vend name 'Cisco' vendorpec '9'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:557 mod_xml_radius:
> value: dst-gw-name=79273004050
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:378 mod_xml_radius: dict
> attr 'Cisco-AVPair' value '589825' type '0'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:394 mod_xml_radius: dict
> vend name 'Cisco' vendorpec '9'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:557 mod_xml_radius:
> value: dst-number-in=79273004050
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:378 mod_xml_radius: dict
> attr 'Cisco-AVPair' value '589825' type '0'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:394 mod_xml_radius: dict
> vend name 'Cisco' vendorpec '9'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:557 mod_xml_radius:
> value: dst-number-out=79273004050
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:378 mod_xml_radius: dict
> attr 'Called-Station-Id' value '30' type '0'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:557 mod_xml_radius:
> value: 79273004050
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:378 mod_xml_radius: dict
> attr 'h323-setup-time' value '589849' type '0'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:394 mod_xml_radius: dict
> vend name 'Cisco' vendorpec '9'
> 2017-07-26 01:57:02.218338 [ERR] mod_xml_radius.c:437 mod_xml_radius:
> value: 01:57:02.218 UTC Wed Jul 26 2017
> 2017-07-26 01:57:02.218338 [INFO] mod_xml_radius.c:986 mod_xml_radius:
>  Accounting Start success
> 2017-07-26 01:57:02.218338 [DEBUG] switch_core_state_machine.c:166
> sofia/internal/arturtrunk at 168.9.82.191 Standard ROUTING
> 2017-07-26 01:57:02.218338 [INFO] mod_dialplan_xml.c:637 Processing 301
> <74950000011>->79273004050 in context internal
>
> Why this?
>
> 2017-07-25 22:13 GMT+05:00 Michael Jerris <mike at jerris.com>:
>
>> anti being set at all is what is triggering your issue, if you remove it,
>> it should work.
>>
>> On Jul 25, 2017, at 12:06 PM, Artur Mega <findmeinwland at gmail.com> wrote:
>>
>> Yes, anti="true". When I set it to "false", same error raises
>>
>> 2017-07-25 21:00 GMT+05:00 Michael Jerris <mike at jerris.com>:
>>
>>> do you have “anti” set in your config?
>>>
>>> On Jul 25, 2017, at 11:47 AM, Artur Mega <findmeinwland at gmail.com>
>>> wrote:
>>>
>>> Good day,
>>> I see in the logs this error. What does it mean? How to handle it?
>>> 2017-07-25 20:44:21.129627 [ERR] mod_xml_radius.c:930 Didn't
>>> match: 168.9.82.191 == ^168.9.82.191
>>>
>>> --
>>> ​Regards, Arthur​
>>>
>>>
>>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> 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
>>
>
>
>
> --
> ​С уважением, ​
> Артур
> ​Regards, Arthur​
>



-- 
​С уважением, ​
Артур
​Regards, Arthur​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170726/05474dec/attachment-0001.html>


More information about the FreeSWITCH-users mailing list