[ previous ] [ next ] [ threads ]
 To :  yate@v...
 From :  "Raffaele P. Guidi" <raffaele.p.guidi@g...>
 Subject :  Re: [yate] Call park and pickup
 Date :  Wed, 28 Jan 2009 22:43:14 +0100
Thanks again to Ralf Schneider for his quick and effective answer - I
tested it and works fine. I put the information on the wiki, hopefully
the next newbie won't have to ask :)

http://yate.null.ro/pmwiki/index.php?n=Main.CallPickup
http://yate.null.ro/pmwiki/index.php?n=Main.Park

Regards,
   Raffaele

On Wed, Jan 28, 2009 at 14:30, Ralf Schneider  wrote:
> Hi,
>
> I think that a little modification of share/scripts/pickup.php
> could do the job for you:
>
> a) add the line unset($calls[$chan]); at the end of function
> doRoute in share/scripts/pickup.php
>
> b) add in extmodule.conf
> [scripts]
> pickup.php=#8
>
> c) regexroute.conf
> [default]
> ^2000$=park/any;source=wave/play/c:/temp/prova.gsm
>
> After yate restart calls to #82000 should pickup the
> parked calls in a FIFO order.
>
> Best regards,
> Ralf
>
> -------- Original-Nachricht --------
>> Datum: Wed, 28 Jan 2009 00:49:02 +0100
>> Von: "Raffaele P. Guidi" 
>> An: yate@v...
>> Betreff: [yate] Call park and pickup
>
>> Hi, just a little help on call park and pickup.
>>
>> Following settings allow parking calls to 2000 to a newly created
>> orbit (1 first, and then 2, 3, 4, etc...)  and picking up the call in
>> orbit 1 dialing 2001.
>> #regexroute.conf
>> [default]
>> ^2000$=park/any;source=wave/play/c:/temp/prova.gsm
>> ^2001$=pickup/park/1
>>
>> Perfect. Now, I would like to simply do something like
>> pickup/park/first to connect to the first parked call (without knowing
>> the number in advance) but I can't find any documentation about
>> pickup/park (except for this
>> http://yate.null.ro/pmwiki/index.php?n=Main.CallPickup which is
>> totally obscure and unhelpful).
>>
>> Any clue?
>>
>> Thanks,
>>    Raffaele
>
> --
> NUR NOCH BIS 31.01.! GMX FreeDSL - Telefonanschluss + DSL
> für nur 16,37 EURO/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
>