[asterisk-users] ways of initiating a call
Danny Nicholas
danny at debsinc.com
Tue Feb 9 15:40:48 CST 2010
Here it is in a nutshell (in Perl, you can alter for your preferred
language)
my %respa = $astman->sendcommand( Action => 'Originate',
Channel => "SIP/$fromval",
Exten => $toval,
Context => 'default',
priority => 1,
Number => $toval
);
This rings SIP/$fromval and when they pickup, calls $toval.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of tom
Sent: Tuesday, February 09, 2010 3:22 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] ways of initiating a call
hi, im trying to figure out whats the easiest way to achieve the
following scenario:
- inhouse asterisk
- inhouse dynamic web/html-app
users of this application have a sip-account. the app is similiar to a
CRM system. so i want to put up a link , and if they click the link it
should ring their phone and when they pick up then it should call the
recipient.
i did this with a call-file, but i'l like to do this via url...
thats the whole scenario.
thx tom
On Tue, Feb 9, 2010 at 3:30 PM, Tzafrir Cohen <tzafrir.cohen at xorcom.com>
wrote:
> On Tue, Feb 09, 2010 at 01:48:35PM -0500, tom wrote:
>> hi,
>>
>> i havent spent that much time with asterisk lately, but still wanted
>> to gather information on how to initiate a call:
>>
>> 1) fact
>> what i know which is possible:
>> - via call-file
>
>
>> - via (sip)-client
>> - AGI
>
> Inside Asterisk? Surely you can use System() or whatever from inside the
> dialplan. But the fact that you raied it suggests you don't really
> understand what it's up here.
>
>>
>> 2) desired
>> - URL
>> --> is this possbile?
>>
>>
>>
>> 3) others
>> --> whats missing here?
>
> The manager interface as well.
>
> But please provide more details on your use case: Originate calls from
> where to where? From what device to which destination? How arbitrary are
> both? Should the user be allowed to control one of them? Both?
>
> --
> Tzafrir Cohen
> icq#16849755 jabber:tzafrir.cohen at xorcom.com
> +972-50-7952406 mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list