Displaying 1 result from an estimated 1 matches for "internalorigin".
2004 Sep 20
0
Manager redirect action does not appear to work in some cases.
...hat the user is
currently doing, eg. on the phone, not at work, and so on.
My setup is similar to this:
[local_extensions]
exten = _XXX,1,Macro(internal_call,${EXTEN})
[macro-internal_call]
exten = s,1,Answer
exten = s,2,SetVar(destination_number=${ARG1})
exten = s,3,UserEvent(InternalOriginate)
My service program connects to the manager API and waits for
InternalOriginate events. When it sees one, it reads the destination
number from the channel variable via the Getvar action, then looks at
it's session information to determine whether the user is logged in, and
if so, his c...