[asterisk-dev] [Code Review] 3097: Testsuite - chan_pjsip: add 'set_var' support on endpoints

Matt Jordan reviewboard at asterisk.org
Tue Dec 31 14:01:11 CST 2013


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

Ship it!



asterisk/trunk/tests/channels/pjsip/set_var/configs/ast1/pjsip.conf
<https://reviewboard.asterisk.org/r/3097/#comment19951>

    For the sake of completeness, I would also set a "regular" channel variable on alice:
    
    setvar=bar=foo
    
    You can then use an AMI event module to listen for the SetVar event and pass/fail the test accordingly.


- Matt Jordan


On Dec. 30, 2013, 3:26 p.m., Kevin Harwell wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3097/
> -----------------------------------------------------------
> 
> (Updated Dec. 30, 2013, 3:26 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Bugs: ASTERISK-22868
>     https://issues.asterisk.org/jira/browse/ASTERISK-22868
> 
> 
> Repository: testsuite
> 
> 
> Description
> -------
> 
> Test for adding the 'set_var' option for ast_sip_endpoint(s).  Configures a couple of channel variables on an endpoint and then has one endpoint call another.  The called endpoint then checks to make sure the channel variables were properly set.
> 
> 
> Diffs
> -----
> 
>   asterisk/trunk/tests/channels/pjsip/tests.yaml 4535 
>   asterisk/trunk/tests/channels/pjsip/set_var/test-config.yaml PRE-CREATION 
>   asterisk/trunk/tests/channels/pjsip/set_var/sipp/invite_recv.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/pjsip/set_var/sipp/invite.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/pjsip/set_var/configs/ast1/pjsip.conf PRE-CREATION 
>   asterisk/trunk/tests/channels/pjsip/set_var/configs/ast1/extensions.conf PRE-CREATION 
> 
> Diff: https://reviewboard.asterisk.org/r/3097/diff/
> 
> 
> Testing
> -------
> 
> Test passed.
> 
> 
> Thanks,
> 
> Kevin Harwell
> 
>

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


More information about the asterisk-dev mailing list