<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
code
{mso-style-priority:99;
font-family:"Courier New";}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1273784996;
mso-list-template-ids:-629376016;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Thank you George.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am still running on asterisk 18.14.0-rc1 and have not retrieved the patches yet.<o:p></o:p></p>
<p class="MsoNormal">Did this version have a bug with the variables?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m trying the location_info and variables in the AMI Originate you recommended at the end of the previous e-mail.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In case it’s not coming through correctly via e-mail, the variable names are preceeded with a single underscore in the AMI and in the location_info values.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[IS_loc_5]<o:p></o:p></p>
<p class="MsoNormal">type = location<o:p></o:p></p>
<p class="MsoNormal">format = civicAddress<o:p></o:p></p>
<p class="MsoNormal">location_info = country=${_MY_GEO_COUNTRY}<o:p></o:p></p>
<p class="MsoNormal">location_info = A1=${_MY_GEO_NATIONAL_SUBDIVISION}<o:p></o:p></p>
<p class="MsoNormal">location_info = A2=${_MY_GEO_NATSUB}<o:p></o:p></p>
<p class="MsoNormal">location_info = A3=${_MY_GEO_CITY}<o:p></o:p></p>
<p class="MsoNormal">location_info = HNO=${_MY_GEO_HNO}<o:p></o:p></p>
<p class="MsoNormal">location_info = RD=${_MY_GEO_RD}<o:p></o:p></p>
<p class="MsoNormal">location_info = STS=${_MY_GEO_STS}<o:p></o:p></p>
<p class="MsoNormal">location_info = PC=${_MY_GEO_PC}<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[IS_prof_9]<o:p></o:p></p>
<p class="MsoNormal">type = profile<o:p></o:p></p>
<p class="MsoNormal">location_reference = IS_loc_5<o:p></o:p></p>
<p class="MsoNormal">pidf_element = device<o:p></o:p></p>
<p class="MsoNormal">profile_action = discard_incoming<o:p></o:p></p>
<p class="MsoNormal">usage_rules = retransmission_allowed=yes<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[192.168.33.31]<o:p></o:p></p>
<p class="MsoNormal">type = endpoint<o:p></o:p></p>
<p class="MsoNormal">context = IS<o:p></o:p></p>
<p class="MsoNormal">transport = transport1<o:p></o:p></p>
<p class="MsoNormal">auth = auth14<o:p></o:p></p>
<p class="MsoNormal">aors = 192.168.33.31<o:p></o:p></p>
<p class="MsoNormal">accountcode = 20<o:p></o:p></p>
<p class="MsoNormal">dtmf_mode = inband<o:p></o:p></p>
<p class="MsoNormal">device_state_busy_at = 1600<o:p></o:p></p>
<p class="MsoNormal">moh_passthrough = no<o:p></o:p></p>
<p class="MsoNormal">identify_by = username,ip,header<o:p></o:p></p>
<p class="MsoNormal">disallow = all<o:p></o:p></p>
<p class="MsoNormal">allow = ulaw<o:p></o:p></p>
<p class="MsoNormal">acl = acl1<o:p></o:p></p>
<p class="MsoNormal">geoloc_incoming_call_profile = IS_prof_7<o:p></o:p></p>
<p class="MsoNormal">geoloc_outgoing_call_profile = IS_prof_9<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Using a telnet session, I connect up via AMI and login. Then I attempt to Originate. The call goes through, but none of the location_info settings are being updated<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Action: Originate<o:p></o:p></p>
<p class="MsoNormal">Channel: PJSIP/1234@192.168.33.31<o:p></o:p></p>
<p class="MsoNormal">Exten: createcall<o:p></o:p></p>
<p class="MsoNormal">Context: IS<o:p></o:p></p>
<p class="MsoNormal">Priority: 1<o:p></o:p></p>
<p class="MsoNormal">Timeout: 60000<o:p></o:p></p>
<p class="MsoNormal">CallerID: John Smith <8005551234><o:p></o:p></p>
<p class="MsoNormal">Variable: _MY_GEO_COUNTRY=US,_MY_GEO_NATSUB=Florida,_MY_GEO_CITY=Orlando,_MY_GEO_HNO=100,_MY_GEO_RD=Main,_MY_GEO_STS=Street,CALLERID(num-pres)=allowed_passed_screen<o:p></o:p></p>
<p class="MsoNormal">Async: true<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[08/10 15:04:12.470] DEBUG[1774] manager.c: Running action 'Originate'<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.470] DEBUG[1907] chan_pjsip.c: 1234@192.168.33.31 Topology: <0:audio-0:audio:sendrecv (slin)><o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.470] DEBUG[1614] chan_pjsip.c: 1234@192.168.33.31<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.470] DEBUG[1614] res_pjsip_session.c: 192.168.33.31 1234 Topology: <0:audio-0:audio:sendrecv (slin)><o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.470] DEBUG[1614] dsp.c: Setup tone 1100 Hz, 500 ms, block_size=160, hits_required=21<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.470] DEBUG[1614] dsp.c: Setup tone 2100 Hz, 2600 ms, block_size=160, hits_required=116<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.470] DEBUG[1614] chan_pjsip.c: 192.168.33.31<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.470] DEBUG[1614] chan_pjsip.c: Direct media no glare mitigation<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session/pjsip_session_caps.c: '192.168.33.31' Caps for outgoing audio call with pref 'remote_merge' - remote: (slin) local: (ulaw) joint: (ulaw)<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session.c:<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] chan_pjsip.c:<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1907] chan_pjsip.c: 192.168.33.31<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1907] channel_internal_api.c: <initializing>: Formats: (none)<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1907] channel_internal_api.c: Channel is being initialized or destroyed<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1907] stasis.c: Creating topic. name: channel:1660161852.8, detail:<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1907] stasis.c: Topic 'channel:1660161852.8': 0x7f19c0023210 created<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1907] channel.c: Channel 0x7f19c00048d0 'PJSIP/192.168.33.31-00000005' allocated<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1907] chan_pjsip.c: Topology: <0:audio-0:audio:sendrecv (ulaw)> Formats: (ulaw)<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1907] chan_pjsip.c: Compatible? yes<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1907] channel_internal_api.c: PJSIP/192.168.33.31-00000005: MultistreamFormats: (ulaw)<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1907] channel_internal_api.c: Set native formats but not topology<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1907] channel_internal_api.c: PJSIP/192.168.33.31-00000005: <0:audio-0:audio:sendrecv (ulaw)><o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1907] channel_internal_api.c: Used provided topology<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1907] chan_pjsip.c:<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1907] chan_pjsip.c: Channel: PJSIP/192.168.33.31-00000005<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1626] manager.c: Examining AMI event:<o:p></o:p></p>
<p class="MsoNormal">Event: Newchannel^M<o:p></o:p></p>
<p class="MsoNormal">Privilege: call,all^M<o:p></o:p></p>
<p class="MsoNormal">Channel: PJSIP/192.168.33.31-00000005^M<o:p></o:p></p>
<p class="MsoNormal">ChannelState: 0^M<o:p></o:p></p>
<p class="MsoNormal">ChannelStateDesc: Down^M<o:p></o:p></p>
<p class="MsoNormal">CallerIDNum: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">CallerIDName: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">ConnectedLineNum: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">ConnectedLineName: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">Language: en^M<o:p></o:p></p>
<p class="MsoNormal">AccountCode: 20^M<o:p></o:p></p>
<p class="MsoNormal">Context: IS^M<o:p></o:p></p>
<p class="MsoNormal">Exten: s^M<o:p></o:p></p>
<p class="MsoNormal">Priority: 1^M<o:p></o:p></p>
<p class="MsoNormal">Uniqueid: 1660161852.8^M<o:p></o:p></p>
<p class="MsoNormal">Linkedid: 1660161852.8^M<o:p></o:p></p>
<p class="MsoNormal">^M<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1569] threadpool.c: Increasing threadpool stasis/pool's size by 1<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1908] chan_pjsip.c: PJSIP/192.168.33.31-00000005 Topology: <0:audio-0:audio:sendrecv (ulaw)><o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1908] chan_pjsip.c: 'call' task pushed<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1774] manager.c: Examining AMI event:<o:p></o:p></p>
<p class="MsoNormal">Event: Newchannel^M<o:p></o:p></p>
<p class="MsoNormal">Privilege: call,all^M<o:p></o:p></p>
<p class="MsoNormal">Channel: PJSIP/192.168.33.31-00000005^M<o:p></o:p></p>
<p class="MsoNormal">ChannelState: 0^M<o:p></o:p></p>
<p class="MsoNormal">ChannelStateDesc: Down^M<o:p></o:p></p>
<p class="MsoNormal">CallerIDNum: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">CallerIDName: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">ConnectedLineNum: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">ConnectedLineName: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">Language: en^M<o:p></o:p></p>
<p class="MsoNormal">AccountCode: 20^M<o:p></o:p></p>
<p class="MsoNormal">Context: IS^M<o:p></o:p></p>
<p class="MsoNormal">Exten: s^M<o:p></o:p></p>
<p class="MsoNormal">Priority: 1^M<o:p></o:p></p>
<p class="MsoNormal">Uniqueid: 1660161852.8^M<o:p></o:p></p>
<p class="MsoNormal">Linkedid: 1660161852.8^M<o:p></o:p></p>
<p class="MsoNormal">^M<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1774] manager.c: Examining AMI event:<o:p></o:p></p>
<p class="MsoNormal">Event: Newexten^M<o:p></o:p></p>
<p class="MsoNormal">Privilege: dialplan,all^M<o:p></o:p></p>
<p class="MsoNormal">Channel: PJSIP/192.168.33.31-00000005^M<o:p></o:p></p>
<p class="MsoNormal">ChannelState: 0^M<o:p></o:p></p>
<p class="MsoNormal">ChannelStateDesc: Down^M<o:p></o:p></p>
<p class="MsoNormal">CallerIDNum: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">CallerIDName: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">ConnectedLineNum: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">ConnectedLineName: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">Language: en^M<o:p></o:p></p>
<p class="MsoNormal">AccountCode: 20^M<o:p></o:p></p>
<p class="MsoNormal">Context: IS^M<o:p></o:p></p>
<p class="MsoNormal">Exten: s^M<o:p></o:p></p>
<p class="MsoNormal">Priority: 1^M<o:p></o:p></p>
<p class="MsoNormal">Uniqueid: 1660161852.8^M<o:p></o:p></p>
<p class="MsoNormal">Linkedid: 1660161852.8^M<o:p></o:p></p>
<p class="MsoNormal">Extension: s^M<o:p></o:p></p>
<p class="MsoNormal">Application: AppDial2^M<o:p></o:p></p>
<p class="MsoNormal">AppData: (Outgoing Line)^M<o:p></o:p></p>
<p class="MsoNormal">^M<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1774] manager.c: Examining AMI event:<o:p></o:p></p>
<p class="MsoNormal">Event: VarSet^M<o:p></o:p></p>
<p class="MsoNormal">Privilege: dialplan,all^M<o:p></o:p></p>
<p class="MsoNormal">Channel: PJSIP/192.168.33.31-00000005^M<o:p></o:p></p>
<p class="MsoNormal">ChannelState: 0^M<o:p></o:p></p>
<p class="MsoNormal">ChannelStateDesc: Down^M<o:p></o:p></p>
<p class="MsoNormal">CallerIDNum: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">CallerIDName: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">ConnectedLineNum: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">ConnectedLineName: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">Language: en^M<o:p></o:p></p>
<p class="MsoNormal">AccountCode: 20^M<o:p></o:p></p>
<p class="MsoNormal">Context: IS^M<o:p></o:p></p>
<p class="MsoNormal">Exten: s^M<o:p></o:p></p>
<p class="MsoNormal">Priority: 1^M<o:p></o:p></p>
<p class="MsoNormal">Uniqueid: 1660161852.8^M<o:p></o:p></p>
<p class="MsoNormal">Linkedid: 1660161852.8^M<o:p></o:p></p>
<p class="MsoNormal">Variable: _MY_GEO_STS^M<o:p></o:p></p>
<p class="MsoNormal">Value: Street^M<o:p></o:p></p>
<p class="MsoNormal">^M<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1774] manager.c: Examining AMI event:<o:p></o:p></p>
<p class="MsoNormal">Event: VarSet^M<o:p></o:p></p>
<p class="MsoNormal">Privilege: dialplan,all^M<o:p></o:p></p>
<p class="MsoNormal">Channel: PJSIP/192.168.33.31-00000005^M<o:p></o:p></p>
<p class="MsoNormal">ChannelState: 0^M<o:p></o:p></p>
<p class="MsoNormal">ChannelStateDesc: Down^M<o:p></o:p></p>
<p class="MsoNormal">CallerIDNum: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">CallerIDName: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">ConnectedLineNum: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">CallerIDName: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">ConnectedLineNum: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">ConnectedLineName: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">Language: en^M<o:p></o:p></p>
<p class="MsoNormal">AccountCode: 20^M<o:p></o:p></p>
<p class="MsoNormal">Context: IS^M<o:p></o:p></p>
<p class="MsoNormal">Exten: s^M<o:p></o:p></p>
<p class="MsoNormal">Priority: 1^M<o:p></o:p></p>
<p class="MsoNormal">Uniqueid: 1660161852.8^M<o:p></o:p></p>
<p class="MsoNormal">Linkedid: 1660161852.8^M<o:p></o:p></p>
<p class="MsoNormal">Variable: _MY_GEO_RD^M<o:p></o:p></p>
<p class="MsoNormal">Value: Main^M<o:p></o:p></p>
<p class="MsoNormal">^M<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1626] manager.c: Examining AMI event:<o:p></o:p></p>
<p class="MsoNormal">Event: Newexten^M<o:p></o:p></p>
<p class="MsoNormal">Privilege: dialplan,all^M<o:p></o:p></p>
<p class="MsoNormal">Channel: PJSIP/192.168.33.31-00000005^M<o:p></o:p></p>
<p class="MsoNormal">ChannelState: 0^M<o:p></o:p></p>
<p class="MsoNormal">ChannelStateDesc: Down^M<o:p></o:p></p>
<p class="MsoNormal">CallerIDNum: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">CallerIDName: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">ConnectedLineNum: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">ConnectedLineName: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">Language: en^M<o:p></o:p></p>
<p class="MsoNormal">AccountCode: 20^M<o:p></o:p></p>
<p class="MsoNormal">Context: IS^M<o:p></o:p></p>
<p class="MsoNormal">Exten: s^M<o:p></o:p></p>
<p class="MsoNormal">Priority: 1^M<o:p></o:p></p>
<p class="MsoNormal">Uniqueid: 1660161852.8^M<o:p></o:p></p>
<p class="MsoNormal">Linkedid: 1660161852.8^M<o:p></o:p></p>
<p class="MsoNormal">Extension: s^M<o:p></o:p></p>
<p class="MsoNormal">Application: AppDial2^M<o:p></o:p></p>
<p class="MsoNormal">AppData: (Outgoing Line)^M<o:p></o:p></p>
<p class="MsoNormal">^M<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1626] manager.c: Examining AMI event:<o:p></o:p></p>
<p class="MsoNormal">Event: VarSet^M<o:p></o:p></p>
<p class="MsoNormal">Privilege: dialplan,all^M<o:p></o:p></p>
<p class="MsoNormal">Channel: PJSIP/192.168.33.31-00000005^M<o:p></o:p></p>
<p class="MsoNormal">ChannelState: 0^M<o:p></o:p></p>
<p class="MsoNormal">ChannelStateDesc: Down^M<o:p></o:p></p>
<p class="MsoNormal">CallerIDNum: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">CallerIDName: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">ConnectedLineNum: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">ConnectedLineName: <unknown>^M<o:p></o:p></p>
<p class="MsoNormal">Language: en^M<o:p></o:p></p>
<p class="MsoNormal">AccountCode: 20^M<o:p></o:p></p>
<p class="MsoNormal">Context: IS^M<o:p></o:p></p>
<p class="MsoNormal">Exten: s^M<o:p></o:p></p>
<p class="MsoNormal">Priority: 1^M<o:p></o:p></p>
<p class="MsoNormal">Uniqueid: 1660161852.8^M<o:p></o:p></p>
<p class="MsoNormal">Linkedid: 1660161852.8^M<o:p></o:p></p>
<p class="MsoNormal">Variable: _MY_GEO_STS^M<o:p></o:p></p>
<p class="MsoNormal">Value: Street^M<o:p></o:p></p>
<p class="MsoNormal">^M<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">….<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] chan_pjsip.c: PJSIP/192.168.33.31-00000005 Topology: <0:audio-0:audio:sendrecv (ulaw)><o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005: Processing streams<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005: Processing stream 0:audio-0:audio:sendrecv (ulaw)<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005 Adding position 0<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session.c: Creating new media session<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session.c: Setting media session as default for audio<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session.c: Done<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005 Stream: 0:audio-0:audio:sendrecv (ulaw)<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_sdp_rtp.c: PJSIP/192.168.33.31-00000005 Type: audio 0:audio-0:audio:sendrecv (ulaw)<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_sdp_rtp.c: Transport transport1 bound to 0.0.0.0: Using it for RTP media.<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] rtp_engine.c: Using engine 'asterisk' for RTP instance '0x7f19c80c3bf0'<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_rtp_asterisk.c: (0x7f19c80c3bf0) RTP allocated port 17214<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_rtp_asterisk.c: (0x7f19c80c3bf0) ICE creating session 0.0.0.0:17214 (17214)<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_rtp_asterisk.c: (0x7f19c80c3bf0) ICE create<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_rtp_asterisk.c: (0x7f19c80c3bf0) ICE add system candidates<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_rtp_asterisk.c: (0x7f19c80c3bf0) ICE add candidate: 192.168.33.33:17214, 2130706431<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] rtp_engine.c: RTP instance '0x7f19c80c3bf0' is setup and ready to go<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_rtp_asterisk.c: (0x7f19c80c3bf0) ICE stopped<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_rtp_asterisk.c: (0x7f19c80c3bf0) RTCP setup on RTP instance<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_sdp_rtp.c: RC: 1<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session.c: Handled<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005: Stream 0:audio-0:audio:sendrecv (ulaw) added<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005: Done with 0:audio-0:audio:sendrecv (ulaw)<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005: Adding bundle groups (if available)<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005: Copying connection details<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005: Processing media 0<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005: Media 0 reset<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.471] DEBUG[1614] res_pjsip_session.c:<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005: Method is INVITE<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_geolocation.c: PJSIP/192.168.33.31-00000005<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_geolocation.c: PJSIP/192.168.33.31-00000005: There was no geoloc datastore<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_geolocation.c: PJSIP/192.168.33.31-00000005: There are no geoloc profiles on this channel<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_geolocation.c: PJSIP/192.168.33.31-00000005: There are now 1 geoloc profiles to be sent<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_geolocation.c: ep: 'IS_prof_9' EffectiveLoc: country=${_MY_GEO_COUNTRY},A1=${_MY_GEO_NATIONAL_SUBDIVISION},A2=${_MY_GEO_NATSUB},A3=${_MY_GEO_CITY},HNO=${_MY_GEO_HNO},RD=${_MY_GEO_RD},STS=${_MY\<o:p></o:p></p>
<p class="MsoNormal">_GEO_STS},PC=${_MY_GEO_PC}<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_geolocation.c: PJSIP/192.168.33.31-00000005<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_geolocation/geoloc_eprofile.c: PJSIP/192.168.33.31-00000005<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_geolocation/geoloc_eprofile.c: PJSIP/192.168.33.31-00000005<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] pbx_variables.c: Variable _MY_GEO_COUNTRY result is '' from channel<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] pbx_variables.c: Variable _MY_GEO_COUNTRY result is '' from headp<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] pbx_variables.c: Variable _MY_GEO_NATIONAL_SUBDIVISION result is '' from channel<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] pbx_variables.c: Variable _MY_GEO_NATIONAL_SUBDIVISION result is '' from headp<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] pbx_variables.c: Variable _MY_GEO_NATSUB result is '' from channel<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] pbx_variables.c: Variable _MY_GEO_NATSUB result is '' from headp<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] pbx_variables.c: Variable _MY_GEO_CITY result is '' from channel<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] pbx_variables.c: Variable _MY_GEO_CITY result is '' from headp<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] pbx_variables.c: Variable _MY_GEO_HNO result is '' from channel<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] pbx_variables.c: Variable _MY_GEO_HNO result is '' from headp<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] pbx_variables.c: Variable _MY_GEO_RD result is '' from channel<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] pbx_variables.c: Variable _MY_GEO_RD result is '' from headp<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] pbx_variables.c: Variable _MY_GEO_STS result is '' from channel<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] pbx_variables.c: Variable _MY_GEO_STS result is '' from headp<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] pbx_variables.c: Variable _MY_GEO_PC result is '' from channel<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] pbx_variables.c: Variable _MY_GEO_PC result is '' from headp<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_geolocation/geoloc_civicaddr.c: PJSIP/192.168.33.31-00000005<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_geolocation/geoloc_civicaddr.c: PJSIP/192.168.33.31-00000005: Done<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_geolocation/geoloc_eprofile.c: PJSIP/192.168.33.31-00000005: Done<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_geolocation/geoloc_eprofile.c: PJSIP/192.168.33.31-00000005: Done<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_geolocation.c: body: 0x7f19c8048390 0<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_geolocation.c: cid: 'whjwo@192.168.33.33' uri: 'cid:whjwo@192.168.33.33' pidf_index: 0<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_geolocation.c: PJSIP/192.168.33.31-00000005: PIDF-LO added with cid 'whjwo@192.168.33.33'<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_geolocation.c: ix: 0 of 1 LocRef: cid:whjwo@192.168.33.33<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_geolocation.c: PJSIP/192.168.33.31-00000005: Geolocation: <cid:whjwo@192.168.33.33><o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip/pjsip_resolver.c: Performing SIP DNS resolution of target '192.168.33.31'<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip/pjsip_resolver.c: Transport type for target '192.168.33.31' is 'UDP transport'<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip/pjsip_resolver.c: Target '192.168.33.31' is an IP address, skipping resolution<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005 Event: TSX_STATE Inv State: CALLING<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005: Source of transaction state change is TX_MSG<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_session.c:<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005 TSX State: Calling Inv State: CALLING<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_session.c: Nothing delayed<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005 TSX State: Calling Inv State: CALLING<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_session.c: Topology: Pending: <0:audio-0:audio:sendrecv (ulaw)> Active: (null topology)<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] res_pjsip_session.c:<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] DEBUG[1614] chan_pjsip.c: RC: 0<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.473] DEBUG[1613] res_pjsip/pjsip_distributor.c: Searching for serializer associated with dialog dlg0x7f19c80a2798 for Response msg 100/INVITE/cseq=21131 (rdata0x7f19b4001768)<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.473] DEBUG[1613] res_pjsip/pjsip_distributor.c: Found serializer pjsip/outsess/192.168.33.31-000000a6 associated with dialog dlg0x7f19c80a2798<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.473] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005 Method: INVITE Status: 100<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.473] DEBUG[1614] res_pjsip_session.c:<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.473] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005 TSX State: Proceeding Inv State: CALLING<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.473] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005: Response is 100 Trying<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.473] DEBUG[1614] chan_pjsip.c: PJSIP/192.168.33.31-00000005: Status: 100<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.473] DEBUG[1614] chan_pjsip.c: PJSIP/192.168.33.31-00000005: Not queueing anything<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.473] DEBUG[1614] chan_pjsip.c: PJSIP/192.168.33.31-00000005<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.473] DEBUG[1614] chan_pjsip.c: PJSIP/192.168.33.31-00000005: Status: 100<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.473] DEBUG[1614] chan_pjsip.c: PJSIP/192.168.33.31-00000005<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.473] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.473] DEBUG[1614] res_pjsip_session.c: Nothing delayed<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.473] DEBUG[1614] res_pjsip_session.c: PJSIP/192.168.33.31-00000005 TSX State: Proceeding Inv State: CALLING<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.473] DEBUG[1614] res_pjsip_session.c: Topology: Pending: <0:audio-0:audio:sendrecv (ulaw)> Active: (null topology)<o:p></o:p></p>
<p class="MsoNormal">[08/10 15:04:12.473] DEBUG[1614] res_pjsip_session.c:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The SIP INVITE is as follows (all the civic address settings are blank, despite the AMI VarSet events showing the variables were set on the channel)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[08/10 15:04:12.472] VERBOSE[1614] res_pjsip_logger.c: <--- Transmitting SIP request (2265 bytes) to UDP:192.168.33.31:5060 ---><o:p></o:p></p>
<p class="MsoNormal">INVITE sip:1234@192.168.33.31 SIP/2.0^M<o:p></o:p></p>
<p class="MsoNormal">Via: SIP/2.0/UDP 192.168.33.33:5060;rport;branch=z9hG4bKPj37ef75eb-0ddc-4802-baa7-0921ff30ff8a^M<o:p></o:p></p>
<p class="MsoNormal">From: "John Smith" <sip:8005551234@192.168.33.33>;tag=1720fabc-afd7-46ad-aa08-ff84140a7add^M<o:p></o:p></p>
<p class="MsoNormal">To: <sip:1234@192.168.33.31>^M<o:p></o:p></p>
<p class="MsoNormal">Contact: <sip:asterisk@192.168.33.33:5060>^M<o:p></o:p></p>
<p class="MsoNormal">Call-ID: c0a41f60-08d7-43e3-9901-39860a8001f5^M<o:p></o:p></p>
<p class="MsoNormal">CSeq: 21131 INVITE^M<o:p></o:p></p>
<p class="MsoNormal">Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER^M<o:p></o:p></p>
<p class="MsoNormal">Supported: 100rel, timer, replaces, norefersub, histinfo^M<o:p></o:p></p>
<p class="MsoNormal">Session-Expires: 1800^M<o:p></o:p></p>
<p class="MsoNormal">Min-SE: 90^M<o:p></o:p></p>
<p class="MsoNormal">Geolocation: <cid:whjwo@192.168.33.33>^M<o:p></o:p></p>
<p class="MsoNormal">Geolocation-Routing: no^M<o:p></o:p></p>
<p class="MsoNormal">Max-Forwards: 70^M<o:p></o:p></p>
<p class="MsoNormal">User-Agent: Asterisk PBX 18.14.0-rc1^M<o:p></o:p></p>
<p class="MsoNormal">Content-Type: multipart/mixed;boundary=8542a9ce-7ac4-47f7-8c17-d42771ebd564^M<o:p></o:p></p>
<p class="MsoNormal">Content-Length: 1470^M<o:p></o:p></p>
<p class="MsoNormal">^M<o:p></o:p></p>
<p class="MsoNormal">^M<o:p></o:p></p>
<p class="MsoNormal">--8542a9ce-7ac4-47f7-8c17-d42771ebd564^M<o:p></o:p></p>
<p class="MsoNormal">Content-Type: application/sdp^M<o:p></o:p></p>
<p class="MsoNormal">Content-Length: 181^M<o:p></o:p></p>
<p class="MsoNormal">^M<o:p></o:p></p>
<p class="MsoNormal">v=0^M<o:p></o:p></p>
<p class="MsoNormal">o=- 823099435 823099435 IN IP4 192.168.33.33^M<o:p></o:p></p>
<p class="MsoNormal">s=Asterisk^M<o:p></o:p></p>
<p class="MsoNormal">c=IN IP4 192.168.33.33^M<o:p></o:p></p>
<p class="MsoNormal">t=0 0^M<o:p></o:p></p>
<p class="MsoNormal">m=audio 17214 RTP/AVP 0^M<o:p></o:p></p>
<p class="MsoNormal">a=rtpmap:0 PCMU/8000^M<o:p></o:p></p>
<p class="MsoNormal">a=ptime:20^M<o:p></o:p></p>
<p class="MsoNormal">a=maxptime:150^M<o:p></o:p></p>
<p class="MsoNormal">a=sendrecv^M<o:p></o:p></p>
<p class="MsoNormal">^M<o:p></o:p></p>
<p class="MsoNormal">--8542a9ce-7ac4-47f7-8c17-d42771ebd564^M<o:p></o:p></p>
<p class="MsoNormal">Content-ID: <whjwo@192.168.33.33>^M<o:p></o:p></p>
<p class="MsoNormal">Content-Type: application/pidf+xml^M<o:p></o:p></p>
<p class="MsoNormal">Content-Length: 1009^M<o:p></o:p></p>
<p class="MsoNormal">^M<o:p></o:p></p>
<p class="MsoNormal"><?xml version="1.0"?><o:p></o:p></p>
<p class="MsoNormal"><presence xmlns="urn:ietf:params:xml:ns:pidf" xmlns:ca="urn:ietf:params:xml:ns:pidf:geopriv10:civicAddr" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:gbp="urn:ietf:params:xml:\<o:p></o:p></p>
<p class="MsoNormal">ns:pidf:geopriv10:basicPolicy" xmlns:gml="http://www.opengis.net/gml" xmlns:gp="urn:ietf:params:xml:ns:pidf:geopriv10" xmlns:gs="http://www.opengis.net/pidflo/1.0" xmlns:date="http://exslt.org/dates-and-times" entity="IS_prof_9"><o:p></o:p></p>
<p class="MsoNormal"> <dm:device><o:p></o:p></p>
<p class="MsoNormal"> <gp:geopriv><o:p></o:p></p>
<p class="MsoNormal"> <gp:location-info><o:p></o:p></p>
<p class="MsoNormal"> <ca:civicAddress xml:lang="en"><o:p></o:p></p>
<p class="MsoNormal"> <ca:country/><o:p></o:p></p>
<p class="MsoNormal"> <ca:A1/><o:p></o:p></p>
<p class="MsoNormal"> <ca:A2/><o:p></o:p></p>
<p class="MsoNormal"> <ca:A3/><o:p></o:p></p>
<p class="MsoNormal"> <ca:HNO/><o:p></o:p></p>
<p class="MsoNormal"> <ca:RD/><o:p></o:p></p>
<p class="MsoNormal"> <ca:STS/><o:p></o:p></p>
<p class="MsoNormal"> <ca:PC/><o:p></o:p></p>
<p class="MsoNormal"> </ca:civicAddress><o:p></o:p></p>
<p class="MsoNormal"> </gp:location-info><o:p></o:p></p>
<p class="MsoNormal"> <gp:usage-rules><o:p></o:p></p>
<p class="MsoNormal"> <gp:retransmission_allowed>yes</gp:retransmission_allowed><o:p></o:p></p>
<p class="MsoNormal"> </gp:usage-rules><o:p></o:p></p>
<p class="MsoNormal"> </gp:geopriv><o:p></o:p></p>
<p class="MsoNormal"> <dm:timestamp>2022-08-10T20:04:12Z</dm:timestamp><o:p></o:p></p>
<p class="MsoNormal"> </dm:device><o:p></o:p></p>
<p class="MsoNormal"></presence><o:p></o:p></p>
<p class="MsoNormal">^M<o:p></o:p></p>
<p class="MsoNormal">--8542a9ce-7ac4-47f7-8c17-d42771ebd564--^M<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> asterisk-users <asterisk-users-bounces@lists.digium.com>
<b>On Behalf Of </b>George Joseph<br>
<b>Sent:</b> Wednesday, August 10, 2022 1:34 PM<br>
<b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com><br>
<b>Subject:</b> Re: [External] [asterisk-users] [External] [External] [External] Geo location 18.14.0-rc1 question<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Wed, Aug 10, 2022 at 11:25 AM Dan Cropp <<a href="mailto:dan@amtelco.com">dan@amtelco.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thank you George.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Looking forward to working with the changes. I will retrieve them when the next release candidate comes out.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">A quick question on using variables to pass custom Geo Location settings on via an AMI Originate.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">If my AMI originate request looks something like this…<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Action: Originate<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Channel:
<a href="mailto:PJSIP/1234@192.168.x.x">PJSIP/1234@192.168.x.x</a><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Exten: createcall<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Context: mycontext<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Priority: 1<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Timeout: 60000<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">CallerID: John Smith <8005551234><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Variable: _MY_GEO_COUNTRY=US,_MY_GEO_NATSUB=Florida,_MY_GEO_CITY=Orlando,_MY_GEO_HNO=100,_MY_GEO_RD=Main,_MY_GEO_STS=Street<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Async: true<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Do I need to program the location_variables in the profile like this?<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">[1]<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">type = profile<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">pidf_element = device<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">profile_action = discard_incoming<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">usage_rules = retransmission_allowed=yes<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">location_variables = country=${_MY_GEO_COUNTRY}<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">location_variables = A1=${_MY_GEO_NATIONAL_SUBDIVISION}<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">location_variables = A2=${_MY_GEO_NATSUB}<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">location_variables = A3=${_MY_GEO_CITY}<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">location_variables = HNO=${_MY_GEO_HNO}<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">location_variables = RD=${_MY_GEO_RD}<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">location_variables = STS=${_MY_GEO_STS}<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">location_variables = PC=${_MY_GEO_PC}<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Or would I need to program the location_info_refinements in the profile to use those variables?<o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">location_info_refinement is what you want. location_variables defines
<b><i>new</i></b> variables to use in addition to those on the channel. You'd use these if you had variables that for some reason you didn't want on the channel itself. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">However... The profile you defined above doesn't have a location reference to refine so you'd need at least a dummy location with a format of civicAddress.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">[mylog]<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">type = location<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">format = civicAddress<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Then in your profile...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[1]<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">type = profile<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">pidf_element = device<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">profile_action = discard_incoming<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">usage_rules = retransmission_allowed=yes<o:p></o:p></p>
<p class="MsoNormal">location_reference = myloc<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">location_variables = country=${_MY_GEO_COUNTRY}<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">location_variables = A1=${_MY_GEO_NATIONAL_SUBDIVISION}<o:p></o:p></p>
<p class="MsoNormal">...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">You can also do this which might actually be faster...<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">[mylog]<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">type = location<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">format = civicAddress<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">location_info = country=${_MY_GEO_COUNTRY}, A1=${_MY_GEO_NATIONAL_SUBDIVISION}<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal">location_info = A2=${_MY_GEO_NATSUB}, ...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">[1]<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">type = profile<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">pidf_element = device<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">profile_action = discard_incoming<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">usage_rules = retransmission_allowed=yes<o:p></o:p></p>
<p class="MsoNormal">location_reference = myloc<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal">This way you don't need to use location_info_refinement at all. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">IIRC this saves having to parse location_info_refinement and bounce it against<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">the original location_info which could be empty. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Dan<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>From:</b> asterisk-users <<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>>
<b>On Behalf Of </b>George Joseph<br>
<b>Sent:</b> Wednesday, August 10, 2022 8:58 AM<br>
<b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion <<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a>><br>
<b>Subject:</b> Re: [External] [asterisk-users] [External] [External] Geo location 18.14.0-rc1 question<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Sorry for the delay but this turned out to be a bit more complex than I anticipated.<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">There are reviews up on Gerrit for the 16 and 18 branches that address the issues below as well as clean up the implementation, plug some memory leaks, etc.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">16:
<a href="https://gerrit.asterisk.org/c/asterisk/+/18896" target="_blank">https://gerrit.asterisk.org/c/asterisk/+/18896</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">18: <a href="https://gerrit.asterisk.org/c/asterisk/+/18897" target="_blank">https://gerrit.asterisk.org/c/asterisk/+/18897</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I anticipate these will make it into the next set of release candidates which are due to be cut tomorrow.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Give them a try.<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Wed, Aug 3, 2022 at 1:51 PM George Joseph <<a href="mailto:gjoseph@sangoma.com" target="_blank">gjoseph@sangoma.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Looks like it'll be tomorrow before I can get the patch up. I ran into some strange issues.<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Tue, Aug 2, 2022 at 1:43 PM Dan Cropp <<a href="mailto:dan@amtelco.com" target="_blank">dan@amtelco.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thank you George<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>From:</b> asterisk-users <<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>>
<b>On Behalf Of </b>George Joseph<br>
<b>Sent:</b> Tuesday, August 2, 2022 2:40 PM<br>
<b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion <<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a>><br>
<b>Subject:</b> Re: [External] [asterisk-users] [External] Geo location 18.14.0-rc1 question<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Tue, Aug 2, 2022 at 1:35 PM George Joseph <<a href="mailto:gjoseph@sangoma.com" target="_blank">gjoseph@sangoma.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Tue, Aug 2, 2022 at 1:13 PM Dan Cropp <<a href="mailto:dan@amtelco.com" target="_blank">dan@amtelco.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Is the allow_routing setting on the geolocation Wiki Profile also not fully implemented?<o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Well, 99% of the code is there. The 1% is parsing the config option. Not sure how I missed that.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I'll have a patch up first thing in the morning UTC-6.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I'll call it "allow_use_for_routing" in profile.<o:p></o:p></p>
</div>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Actually just "allow_routing_use"<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">In the code, I see geolocation_routing used instead of allow_routing.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Tried both and Asterisk indicates it cannot find suitable setting so it doesn’t create the profile object.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Dan<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>From:</b> Dan Cropp
<br>
<b>Sent:</b> Tuesday, August 2, 2022 10:04 AM<br>
<b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion <<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a>><br>
<b>Subject:</b> RE: [External] [asterisk-users] Geo location 18.14.0-rc1 question<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thank you George.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>From:</b> asterisk-users <<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>>
<b>On Behalf Of </b>George Joseph<br>
<b>Sent:</b> Tuesday, August 2, 2022 9:57 AM<br>
<b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion <<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a>><br>
<b>Subject:</b> Re: [External] [asterisk-users] Geo location 18.14.0-rc1 question<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Tue, Aug 2, 2022 at 8:46 AM Dan Cropp <<a href="mailto:dan@amtelco.com" target="_blank">dan@amtelco.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I believe I have everything configured correctly, but Asterisk is complaining about my configuration<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">It is complaining about confidence settings.
<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">From the Asterisk Geolocation Implementation Wiki, I believe I have this set correctly.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p style="margin:0in;background:white"><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#333333">Sub-parameters:</span><o:p></o:p></p>
<ul type="disc">
<li class="MsoNormal" style="color:#333333;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1;background:white">
<code><span style="font-size:10.0pt">value</span></code><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif">: A percentage indicating the confidence or "unknown".</span><o:p></o:p></li><li class="MsoNormal" style="color:#333333;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1;background:white">
<code><span style="font-size:10.0pt">pdf</span></code><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif">: "unknown", "normal" or "rectangular"<br>
Example: </span><code><span style="font-size:10.0pt">confidence = value=80, pdf=unknown</span></code><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif"><br>
If no </span><code><span style="font-size:10.0pt">confidence</span></code><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif"> parameter is specified, the default is 95%.<br>
See <a href="https://wiki.asterisk.org/wiki/display/AST/Geolocation+Reference+Information#GeolocationReferenceInformation-rfc7459" target="_blank"><span style="color:#192E84">RFC7459</span></a> for the exact definition of this parameter.</span><o:p></o:p></li></ul>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">[08/02 09:30:03.724] ERROR[682944] config_options.c: Could not find option suitable for category 'IS_loc_1' named 'confidence' at line 12 of<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">[08/02 09:30:03.724] ERROR[682944] res_sorcery_config.c: Could not create an object of type 'location' with id 'IS_loc_1' from configuration file 'geolocation.conf'<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">[IS_loc_1]<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">type = location<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">format = civicAddress<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">confidence = value=95, pdf=unknown<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">location_info = country=US,A1=Wisconsin,A3=Madison<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">location_info = HNO=4800,RD=Main,STS=Drive,PC=53704<o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Remove the confidence param for now. I documented it before I implemented it. :)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Also seeing problems with location_refinement setting.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Again, I believe my setting matches what is on the Asterisk Geolocation Implementation wiki.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">[08/02 09:30:03.724] ERROR[682944] config_options.c: Could not find option suitable for category 'IS_prof_20' named 'location_refinement' at line 56 of<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">[08/02 09:30:03.724] ERROR[682944] res_sorcery_config.c: Could not create an object of type 'profile' with id 'IS_prof_20' from configuration file 'geolocation.conf'<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">[IS_prof_20]<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">type = profile<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">profile_action = prefer_incoming<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">pidf_element = person<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">usage_rules = retransmission_allowed=no<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">location_reference = IS_loc_22<o:p></o:p></p>
</div>
</div>
</blockquote>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">location_refinement = ROOM=292<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">location_refinement = FLR=1<o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Pffft. I renamed this to "location_info_refinement" to better match the "location_info" parameter in the Location object. I forgot to rename it in the wiki documentation. If
you just change the name it should work.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Dan<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">--
<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">
http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" target="_blank">
https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" target="_blank">
https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">--
<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">
http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" target="_blank">
https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" target="_blank">
https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">--
<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">
http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" target="_blank">
https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" target="_blank">
https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<p class="MsoNormal">-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">
http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" target="_blank">
https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" target="_blank">
https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</body>
</html>