[asterisk-dev] [Code Review] Make pbx_start NOT default to s at default if extension not found

Tilghman Lesher reviewboard at asterisk.org
Mon Sep 19 13:49:12 CDT 2011


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



/branches/10/CHANGES
<https://reviewboard.asterisk.org/r/1446/#comment8494>

    I'd strike "This was a bug..." and substitute "This was a bad default behavior and violated the principle of least surprise.  It has therefore been changed in this release."



/branches/10/CHANGES
<https://reviewboard.asterisk.org/r/1446/#comment8495>

    "have avoided"



/branches/10/CHANGES
<https://reviewboard.asterisk.org/r/1446/#comment8496>

    "and generating"


- Tilghman


On Sept. 19, 2011, 1:40 p.m., Olle E Johansson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1446/
> -----------------------------------------------------------
> 
> (Updated Sept. 19, 2011, 1:40 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> Asterisk today seems to default to exten s at default if extension is not found in function pbx_start in pbx.c. This is not expected behaviour but has been in Asterisk for a long time for some strange function.
> 
> If extension is "", exten "s" should be used, but not otherwise. This patch reverts this behaviour and is proposed for Asterisk 10.
> 
> 
> Diffs
> -----
> 
>   /branches/10/CHANGES 336635 
>   /branches/10/main/pbx.c 336635 
> 
> Diff: https://reviewboard.asterisk.org/r/1446/diff
> 
> 
> Testing
> -------
> 
> WIll come later in my work with fixing the AMI originate action (see rview 1445)
> 
> 
> Thanks,
> 
> Olle E
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110919/d40dfb2b/attachment.htm>


More information about the asterisk-dev mailing list