[asterisk-dev] Asterisk Manager & Extension State
blakekrone at gmail.com
Tue Apr 17 08:34:13 MST 2007
Hopefully this is the right list to get some help from.
I'm looking for a way to retreive the call details of a ringing
extension via the manager.
I've got it as far as I can see that the extension is "ringing"
according to ExtenState command, but how can I get the caller ID of
the call that is coming in? I've been looking at the Status command,
but the block shows up as:
Which doesn't contain the caller information. The channel for the
caller shows up as:
CallerIDName: Blake Krone
But how can I make 100% certain that the caller status is the correct
one for the called status? Can I always assume that the uniqueid field
is .01 less for the caller? Or is there a better command/method to get
the information? I am using PHP to connect to the manager and am
passing this information to a website.
More information about the asterisk-dev