Page 1 of 1

Access config XML

PostPosted: Thu Oct 10, 2013 10:44 am
by byronsmith
Hello,

Anyway for me to identify the current phones extension within an app?

I know there is pbx.request however this is used in conjunction with Switchvox, am I right?

Your help would be appreciated.

Many thanks
Byron

Re: Access config XML

PostPosted: Fri Oct 11, 2013 8:40 am
by malcolmd
Negative. Information about accounts isn't propagated up, and extension is something that's not related to the phone, rather the PBX.

What do you want to do with the phone's account information?

Re: Access config XML

PostPosted: Fri Oct 11, 2013 9:33 am
by byronsmith
malcolmd wrote:What do you want to do with the phone's account information?


Hi Malcolm,

We run our own in house PBX and with the Digium phone app I'm attempting to set some variables Asterisk DB however I need to have the phones extension to correctly store and retrieve this information.

Without an identifier in AstDB for the phone, I'm kinda stuff.

Any suggestions?

Re: Access config XML

PostPosted: Mon Oct 14, 2013 2:51 am
by byronsmith
Actually, I had an idea. I could in theory store the extension number in <appconfig> for reading.

Unless you can provide any other alternatives?

Re: Access config XML

PostPosted: Mon Oct 14, 2013 8:37 am
by malcolmd
Howdy,

You beat me to it. I had the same thought on the drive back from Atlanta to HSV. That's exactly how I'd do it - drop in a key pair for the data you want provided to the app.