<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=184809" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/miconda">@miconda</a>, Kamailio has its own RADIUS dictionary and attributes.  But we need to send custom auth request. Here is example from Cisco VoIP:</p>
<p>User-Name = "74951011123"<br>
Calling-Station-Id = "74951011123"<br>
Called-Station-Id = "74951234567"<br>
Service-Type = 30<br>
Acct-Session-Id = "93F51D6D 1FD111E0 99AD0014 F26ABCA0"<br>
Cisco-AVPair = "xpgk-remote-id=kamailio"<br>
Cisco-AVPair = "xpgk-src-number-in=74951011123"<br>
Cisco-AVPair = "xpgk-dst-number-in=74951234567"<br>
h323-conf-id = "93F51D6D 1FD111E0 99AD0014 F26ABCA0"<br>
h323-call-origin = "originate"<br>
h323-call-type = "VoIP"<br>
NAS-Port = 0<br>
NAS-IP-Address = 192.168.1.1</p>
<p>And thought to do it with auth_extra string. But faced with a limitation MAX_EXTRA.To make it universal I propose to make a sufficiently large number. Then it will be possible to write a request and emulate the request from any equipment. Also be able add custom dictionaries from FreeRADIUS to Kamailio: radis_dictionary_add('custom_dict_file'). Then the request can be made using the fields of custom dictionaries.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2025?email_source=notifications&email_token=ABO7UZLXBJPJW2BHN57X7LTQDERFLA5CNFSM4IJOAZCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3UFHXI#issuecomment-518542301">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZLMBFD4CCSGDRMAM4LQDERFLANCNFSM4IJOAZCA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZLGDMXWKIBIWD4CMVTQDERFLA5CNFSM4IJOAZCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3UFHXI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2025?email_source=notifications\u0026email_token=ABO7UZLXBJPJW2BHN57X7LTQDERFLA5CNFSM4IJOAZCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3UFHXI#issuecomment-518542301",
"url": "https://github.com/kamailio/kamailio/issues/2025?email_source=notifications\u0026email_token=ABO7UZLXBJPJW2BHN57X7LTQDERFLA5CNFSM4IJOAZCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3UFHXI#issuecomment-518542301",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>