The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: My site netcomp.biz


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: xAP Asterisk integration



Gregg Liming wrote:

>
>I know how to do this on the Asterisk side using a manager interface
>app.  The issue becomes getting the info from a sender.  You mention
>xAPSwitchBoard; does it send xAP messages that define the call to be
>placed (I'm guessing that this may be a question for James)?
>

For calling a number from Switchboard a couple of things need to be
known. Most of the info comes form the cti. schema. These are messages
sent by the line's handler, the meteor, asterisk, modem etc. They detail
the type of line, PSTN, vPSTN, SIP,Skype etc. whether that line can be
used as a dialler and also the current status of that line, free or
busy. Using these three bits of info Switchboard is able to list an
accurate choice of lines to dial on, i.e. lines of the correct type and
ones that are available.( btw vPSTN is a PSTN call that at some part
travels over voip, SkypeIn/Out is an example.)
When it comes to actual dialling there are two sequences of dial
messages depending on type of line. This is all done to prevent
accidental calls being made and not terminated so running up big bills.
For regualr calls pstn,vpstn and probably sip
Switchboard sends a dial message
Line is dialled
In Switchboard the caller has an option to disconnect but it is asssumed
that the call will be closed by other means, such as puting the phone down.

For skype calls
Switchboard sends a dial message
Line is dialled
Switchboard displays a countdown in seconds and a continue button
If the continue button is not pressed then the skype gateway will drop
the call
If pressed the call can continue as normal
In Switchboard the caller has an option to disconnect but it is asssumed
that the call will now be closed by other means, such as puting the
phone down.

hth

James

Schemas:
http://www.mi4.biz/modules.php?name=Content&pa=showpage&pid=49
http://www.mi4.biz/modules.php?name=Content&pa=showpage&pid=50




xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.