[asterisk-users] dials a trunk when off hook
Baha @ SH
info at saudihome.com
Fri Oct 22 17:43:34 CDT 2010
I am using a sip softphone
But anyway, my question in specific:
If my sip phone registered as a trunk, then went off-hook, is there anything
that asterisk run or recognize that this trunk now is offhook?
I am doing this because I want it to go to a a2b right after hook-off, I
don't want to press any numbers.
Thanks all.
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Gopalakrishnan
A.N
Sent: Friday, October 22, 2010 8:55 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] dials a trunk when off hook
This can be done through some agi scripting, for example in asterisk-java
you can get the channel events if the channel event is off-hook you can
initiate the server to dial a call. With normal asterisk dial plan I dont
think so it can be done. But through manager API or AGI it is possible....:)
On Fri, Oct 22, 2010 at 1:42 PM, Gordon Henderson
<gordon+asterisk at drogon.net <mailto:gordon%2Basterisk at drogon.net> > wrote:
On Fri, 22 Oct 2010, Baha @ SH wrote:
> How can I let asterisk immediately dials a trunk when off hook?
If it's a SIP phone then read the manual for the phone. Every one is
different.
If it's an analogue phone connected to a TDM400 type card, then google for
batphone mode.
Gordon
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
Thank you with regards,
Gopalakrishnan A.N,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101022/10ad9b0f/attachment.htm
More information about the asterisk-users
mailing list