[Lazarus] VoIP / SIP communication initiated from LCL apps | OFFTOPIC
Helmut Hartl
helmut.hartl at firmos.at
Tue Dec 8 21:11:19 CET 2009
Graeme Geldenhuys schrieb:
> Hi,
>
> Has anybody managed to integrate a LCL application with VoIP / SIP,
> where the application initiates the call? Something like what MAPI
> does under Windows for emails.
>
My company has developed a SIP Stack and a RTP Stack, wich we use in
various applications
we sell to telco providers. It was initially developed under delphi but
now runs under fpc too.
The fpc stack is used in serverside (frebsd/linux) daemon apps.
(callrouting/voice box /conference bridge)
> I already have a simple communication feature/component in our
> applications that allows the application to dial a phone number, by
> talking directly to the COM port. It simply takes the phone number
> from an Account/Contact screen and dials the phone number using
> whatever COM port the user setup. The user then simply needs to
> pick-up the handset when they hear somebody answer the other end.
>
> I'd like to do something similar with SIP or VoIP from within our
> application. Anybody know if this is possible. Oh, and it must
> obviously work under both Linux and Windows. :-)
>
>
This seems you want to do 3rd party call control of a SIP device. This
is usually done in a way that
the "to be controlled devic"e gets a (fake) call with no audio streams
(SIP INVITE possibly with an
auto-answer header), and then after it has answered the call it gets an
REFER to the to-dial number.
> I know Skype has a public API, but I haven't looked into it yet. I
> thought I would ask here first.
>
>
Skype has no direct relation to SIP ? (Beneath both are VoIP protocols)
To answer your question better it is necessary to know more about your
deployment environment
and the actual use case. What SIP Proxy / devices do you intend to use ?
(e.g. SNOM / Granstream phones, Freeswitch, Astersisk, OpenSER, SER,
proprietary solutions )
Do you want to use this solution for your company (1 deployment) or do
you want to deploy it to other
customers ? Will they need to have to change their PBX ?
Our solution is usually used with a "Hosted PBX" environment where the
customer manages his part of the
PBX via a web gui. The customer then only has an ethernet uplink and and
amount of lines/devices.(=bandwith)
--
helmut
More information about the Lazarus
mailing list