Re: [External] Geo location 18.14.0-rc1 question

Dan Cropp <[email protected]>
Newsgroups gmane.comp.telephony.pbx.asterisk.user
Message-ID <CH2PR13MB362372C0121F812F199814D8A3689@CH2PR13MB3623.namprd13.prod.outlook.com>
Thank you George.

Good idea on the passthrough profile.

Is there a way to set the GEOLOC_PROFILE values from the AMI Originate command?

I tried the following, but it doesn’t like the GEOLOC_PROFILE values in the variable parameter.  If there is a way to do this, the passthrough would solve the problem of Geo Location information settings needing to be provided by a third-party application.

Action: Originate
Channel: PJSIP/[email protected]
Exten: createcall
Context: mycontext
Priority: 1
Timeout: 60000
CallerID: John Smith <8005551234>
Variable: GEOLOC_PROFILE(format)=civicAddress,GEOLOC_PROFILE(method)=Manual,GEOLOC_PROFILE(location_info)=="country=US,A1=Florida,A3=Orlando,HNO=100,RD=Main,STS=Street",CALLERID(num-pres)=allowed_passed_screen
Async: true

I believe this portion believe indicates Asterisk treats the GEOLOC_PROFILE(xxx) as GEOLOCPROFILESTATUS variable name.

[08/15 13:41:41.609] DEBUG[42424] manager.c: Examining AMI event:
Event: VarSet^M
Privilege: dialplan,all^M
Channel: PJSIP/192.168.33.31-00000000^M
ChannelState: 0^M
ChannelStateDesc: Down^M
CallerIDNum: <unknown>^M
CallerIDName: <unknown>^M
ConnectedLineNum: <unknown>^M
ConnectedLineName: <unknown>^M
Language: en^M
AccountCode: 20^M
Context: IS^M
Exten: s^M
Priority: 1^M
Uniqueid: 1660588901.0^M
Linkedid: 1660588901.0^M
Variable: GEOLOCPROFILESTATUS^M
Value: 0^M
^M

Dan

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.