Is there a way to initiate 2 different calls and connect them together with Asterisk, using the manager.api or the AGI system? I want to link the calls without using DTMF, such as with an SMS or web triggered script. I thought the call files would be able to set the necessary AGI variables for the outbound leg but the AGI variables do not include the DNID equivalent. Any ideas? /Obelix
Nicolás Gudiño
2006-Aug-21 06:51 UTC
[asterisk-users] Joining calls via manager.api or AGI
> Is there a way to initiate 2 different calls and connect them together with > Asterisk, using the manager.api or the AGI system? I want to link the calls > without using DTMF, such as with an SMS or web triggered script.The only way right now is using meetme. There is a patch with a 'bridge' function but is marked as post 1.4 ( http://bugs.digium.com/view.php?id=5841 ). This is a very much needed feature. -- Nicol?s Gudi?o Buenos Aires - Argentina
Warren (mailing lists)
2006-Aug-21 10:40 UTC
[asterisk-users] Variable to show caller id for a current call?
Is there a variable that can be gotten with GetVar to show the callerid of the current incoming call in progress at a sip extension? For instance, a caller from 516-922-9463 calls extension 234. I would like to be able to be able to get back the 516-922-9463 if I pass 234. Also, can this be done while the extension is ringing? TIA, Warren
Rushowr
2006-Aug-21 11:50 UTC
[asterisk-users] Variable to show caller id for a current call?
${CALLERID(number)}
>-----Original Message-----
>From: asterisk-users-bounces@lists.digium.com
>[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of
>Warren (mailing lists)
>Sent: Monday, August 21, 2006 1:41 PM
>To: Asterisk Users Mailing List - Non-Commercial Discussion
>Subject: [asterisk-users] Variable to show caller id for a
>current call?
>
>Is there a variable that can be gotten with GetVar to show the
>callerid of the current incoming call in progress at a sip extension?
>
>For instance, a caller from 516-922-9463 calls extension 234.
>I would like to be able to be able to get back the
>516-922-9463 if I pass 234.
>
>Also, can this be done while the extension is ringing?
>
>TIA,
>Warren
>_______________________________________________
>--Bandwidth and Colocation provided by Easynews.com --
>
>asterisk-users mailing list
>To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
Warren (mailing lists)
2006-Aug-21 12:54 UTC
[asterisk-users] Variable to show caller id for a current call?
But how do you get that with GetVar? I am trying to do this through the
API. I tried:
Action: GetVar
Variable CALLERID(227)
and I tries:
Action: GetVar
Variable ${CALLERID(227)}
Neither returned anything.
How can I do this? Alternately... Is there a way to have a program
fired off when an extension rings that will have the caller id passed to
it as part of the call?
W
Rushowr wrote:> ${CALLERID(number)}
>
>
>> -----Original Message-----
>> From: asterisk-users-bounces@lists.digium.com
>> [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of
>> Warren (mailing lists)
>> Sent: Monday, August 21, 2006 1:41 PM
>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>> Subject: [asterisk-users] Variable to show caller id for a
>> current call?
>>
>> Is there a variable that can be gotten with GetVar to show the
>> callerid of the current incoming call in progress at a sip extension?
>>
>> For instance, a caller from 516-922-9463 calls extension 234.
>> I would like to be able to be able to get back the
>> 516-922-9463 if I pass 234.
>>
>> Also, can this be done while the extension is ringing?
>>
>> TIA,
>> Warren
>> _______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
Rushowr
2006-Aug-21 13:02 UTC
[asterisk-users] Variable to show caller id for a current call?
Well, for one, you could set something like CID = ${CALLERID(number)} in the
dialplan, and then GetVar CID....
>-----Original Message-----
>From: asterisk-users-bounces@lists.digium.com
>[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of
>Warren (mailing lists)
>Sent: Monday, August 21, 2006 3:54 PM
>To: Asterisk Users Mailing List - Non-Commercial Discussion
>Subject: Re: [asterisk-users] Variable to show caller id for a
>current call?
>
>But how do you get that with GetVar? I am trying to do this
>through the API. I tried:
>Action: GetVar
>Variable CALLERID(227)
>
>and I tries:
>Action: GetVar
>Variable ${CALLERID(227)}
>
>Neither returned anything.
>
>How can I do this? Alternately... Is there a way to have a
>program fired off when an extension rings that will have the
>caller id passed to it as part of the call?
>
>W
>
>Rushowr wrote:
>> ${CALLERID(number)}
>>
>>
>>> -----Original Message-----
>>> From: asterisk-users-bounces@lists.digium.com
>>> [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of
>>> Warren (mailing lists)
>>> Sent: Monday, August 21, 2006 1:41 PM
>>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>>> Subject: [asterisk-users] Variable to show caller id for a
>>> current call?
>>>
>>> Is there a variable that can be gotten with GetVar to show the
>>> callerid of the current incoming call in progress at a sip
>extension?
>>>
>>> For instance, a caller from 516-922-9463 calls extension 234.
>>> I would like to be able to be able to get back the
>>> 516-922-9463 if I pass 234.
>>>
>>> Also, can this be done while the extension is ringing?
>>>
>>> TIA,
>>> Warren
>>> _______________________________________________
>>> --Bandwidth and Colocation provided by Easynews.com --
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>>
>> _______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>_______________________________________________
>--Bandwidth and Colocation provided by Easynews.com --
>
>asterisk-users mailing list
>To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
Rushowr
2006-Aug-21 13:06 UTC
[asterisk-users] Variable to show caller id for a current call?
Wait a minute....why are you putting 227 into the CALLERID function? You should read this: http://www.voip-info.org/wiki/index.php?page=Asterisk+func+callerid The (number) portion is the argument to CALLERID telling it what to give you, not what to insert/write>-----Original Message----- >From: asterisk-users-bounces@lists.digium.com >[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of >Warren (mailing lists) >Sent: Monday, August 21, 2006 3:54 PM >To: Asterisk Users Mailing List - Non-Commercial Discussion >Subject: Re: [asterisk-users] Variable to show caller id for a >current call? > >But how do you get that with GetVar? I am trying to do this >through the API. I tried: >Action: GetVar >Variable CALLERID(227) > >and I tries: >Action: GetVar >Variable ${CALLERID(227)} > >Neither returned anything. > >How can I do this? Alternately... Is there a way to have a >program fired off when an extension rings that will have the >caller id passed to it as part of the call? > >W > >Rushowr wrote: >> ${CALLERID(number)} >> >> >>> -----Original Message----- >>> From: asterisk-users-bounces@lists.digium.com >>> [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of >>> Warren (mailing lists) >>> Sent: Monday, August 21, 2006 1:41 PM >>> To: Asterisk Users Mailing List - Non-Commercial Discussion >>> Subject: [asterisk-users] Variable to show caller id for a >>> current call? >>> >>> Is there a variable that can be gotten with GetVar to show the >>> callerid of the current incoming call in progress at a sip >extension? >>> >>> For instance, a caller from 516-922-9463 calls extension 234. >>> I would like to be able to be able to get back the >>> 516-922-9463 if I pass 234. >>> >>> Also, can this be done while the extension is ringing? >>> >>> TIA, >>> Warren >>> _______________________________________________ >>> --Bandwidth and Colocation provided by Easynews.com -- >>> >>> asterisk-users mailing list >>> To UNSUBSCRIBE or update options visit: >>> http://lists.digium.com/mailman/listinfo/asterisk-users >>> >> >> >> _______________________________________________ >> --Bandwidth and Colocation provided by Easynews.com -- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users > >_______________________________________________ >--Bandwidth and Colocation provided by Easynews.com -- > >asterisk-users mailing list >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >