[Home]

Summary:ASTERISK-20675: [patch] Add return codes to SLATrunk() so that dialplan can identify channel/station that actually answered the call.
Reporter:dkerr (dkerr)Labels:patch
Date Opened:2012-11-10 21:09:28.000-0600Date Closed:
Priority:MinorRegression?No
Status:Open/NewComponents:Applications/app_meetme Applications/SLA
Versions:1.8.16.0 13.18.4 Frequency of
Occurrence
Related
Issues:
Environment:AstlinuxAttachments:( 0) asterisk-1.8-bugid20675.patch
( 1) asterisk-11-bugid20675.patch
Description:I have found a need in my dialplan to determine exactly which channel answered a call from a SLATrunk(). I could find no way to determine this using existing dialplan functions.  I also needed it to work within a subroutine called from the Dial() U() parameter.
My solution was to patch app_meetme.c to add two additional return values... SLATRUNK_ANSWEREDCHANNEL and SLATRUNK_ANSWEREDSTATION.

See attached patch file
Comments:By: dkerr (dkerr) 2012-11-10 21:12:58.468-0600

Patch file for feature I describe above.

By: Michael L. Young (elguero) 2012-11-10 21:49:16.231-0600

Thanks for your contribution.  New features need to be written against trunk.  In order for this feature to be considered, can you update your patch against trunk?

Thanks

By: dkerr (dkerr) 2012-11-11 10:57:35.842-0600

Here is the patch applied to truck version.  I used "svn diff" to generate this.

Thanks
David

By: dkerr (dkerr) 2012-11-11 11:08:49.535-0600

Updated patch file to apply to Trunk version of asterisk

By: dkerr (dkerr) 2012-12-02 10:43:10.069-0600

Provided both Asterisk 1.8 and Asterisk 11 (trunk) versions of patch