[asterisk-dev] [Code Review] parkinglots with different parking extensions

David Vossel dvossel at digium.com
Tue Feb 2 12:54:09 CST 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/417/#review1440
-----------------------------------------------------------



/trunk/main/features.c
<https://reviewboard.asterisk.org/r/417/#comment3249>

    when we break out of this iterator loop, when is the parkinglot that is found have its ref count decremented?



/trunk/main/features.c
<https://reviewboard.asterisk.org/r/417/#comment3250>

    again, just wanting to make sure the ref for the parkinglot here gets decremented at some point



/trunk/main/features.c
<https://reviewboard.asterisk.org/r/417/#comment3251>

    ref decrement for curlot on break



/trunk/main/features.c
<https://reviewboard.asterisk.org/r/417/#comment3252>

    clean up curlot ref at break.


- David


On 2010-01-07 08:42:33, mnick wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/417/
> -----------------------------------------------------------
> 
> (Updated 2010-01-07 08:42:33)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> In features.conf you can define one parking extension: for example
> [general]
> parkext = 700
> parkpos = 701-750
> ...
> 
> you can also define new parkinglots like:
> [parkinglot_park2]
> context = park2
> parkpos = 801 - 850
> 
> but it is not possible to set a new 'parkext' to 'parkinglot_park2' (like: parkext = 800)
> 
> 
> Now it should be possible to have more than one parking extension. 
> [parkinglot_park2]
> parkext = 800
> parkpos = 801 - 850
> context = park2
> 
> [parkinglot_sales]
> parkext = 900
> parkpos = 901 - 950
> context = sales
> 
> 
> [Please ignore the 'my_dump_chan()' and 'my_dump_parkinglot()' functions, they're just for testing]
> 
> 
> This addresses bug 14882.
>     https://issues.asterisk.org/view.php?id=14882
> 
> 
> Diffs
> -----
> 
>   /trunk/main/features.c 235813 
> 
> Diff: https://reviewboard.asterisk.org/r/417/diff
> 
> 
> Testing
> -------
> 
> I have tried various scenario's with different parkinglot's and context's. 
> But I am not sure if I've covered all cases.
> 
> 
> Thanks,
> 
> mnick
> 
>




More information about the asterisk-dev mailing list