[asterisk-dev] [Code Review] 3724: chan_pjsip: Allow an endpoint to set an accountcode on channels via an endpoint configuration setting

Matt Jordan reviewboard at asterisk.org
Tue Jul 15 17:25:19 CDT 2014



> On July 9, 2014, 11 a.m., rmudgett wrote:
> > /branches/12/contrib/ast-db-manage/config/versions/1d50859ed02e_create_accountcode.py, line 17
> > <https://reviewboard.asterisk.org/r/3724/diff/1/?file=62478#file62478line17>
> >
> >     A size of twenty?  Seems potentially too small.
> >     
> >     Is there precedent for accountcode to be this small?

This matches the value of AST_MAX_ACCOUNT_CODE


- Matt


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


On July 7, 2014, 9:30 p.m., Matt Jordan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3724/
> -----------------------------------------------------------
> 
> (Updated July 7, 2014, 9:30 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Bugs: ASTERISK-24000
>     https://issues.asterisk.org/jira/browse/ASTERISK-24000
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> Most channel drivers let you specify a default accountcode for channels associated with a particular endpoint/peer/thing. chan_pjsip/res_pjsip does not.
> 
> This patch adds a new setting to the endpoint object (accountcode!) that does that.
> 
> 
> Diffs
> -----
> 
>   /branches/12/res/res_pjsip/pjsip_configuration.c 418167 
>   /branches/12/res/res_pjsip.c 418167 
>   /branches/12/include/asterisk/res_pjsip.h 418167 
>   /branches/12/contrib/ast-db-manage/config/versions/1d50859ed02e_create_accountcode.py PRE-CREATION 
>   /branches/12/configs/pjsip.conf.sample 418167 
>   /branches/12/channels/chan_pjsip.c 418167 
>   /branches/12/CHANGES 418167 
> 
> Diff: https://reviewboard.asterisk.org/r/3724/diff/
> 
> 
> Testing
> -------
> 
> See https://reviewboard.asterisk.org/r/3725
> 
> 
> Thanks,
> 
> Matt Jordan
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140715/5be54af4/attachment.html>


More information about the asterisk-dev mailing list