[Astpp-commit] SF.net SVN: astpp: [2136] trunk
Brought to you by:
darrenkw
From: <dar...@us...> - 2007-11-01 04:20:53
|
Revision: 2136 http://astpp.svn.sourceforge.net/astpp/?rev=2136&view=rev Author: darrenkw Date: 2007-10-31 21:20:57 -0700 (Wed, 31 Oct 2007) Log Message: ----------- Patch regarding: [ 1820633 ] Calling Card ${BRAND} variable has no effect Modified Paths: -------------- trunk/astpp-callingcards.agi trunk/samples/sample.astpp-dialplan.conf Modified: trunk/astpp-callingcards.agi =================================================================== --- trunk/astpp-callingcards.agi 2007-10-25 19:34:44 UTC (rev 2135) +++ trunk/astpp-callingcards.agi 2007-11-01 04:20:57 UTC (rev 2136) @@ -654,7 +654,7 @@ exit(0); } ################# Program Starts Here ################################# -my ( $cardnum, $pin, $destination, $connectsurcharge, $perminsurcharge ) = +my ( $cardnum, $pin, $destination, $connectsurcharge, $perminsurcharge, $brand ) = @ARGV; %input = $AGI->ReadParse(); my ( $retries, $cardinfo, $numberinfo, $pricelistinfo, @outboundroutes, Modified: trunk/samples/sample.astpp-dialplan.conf =================================================================== --- trunk/samples/sample.astpp-dialplan.conf 2007-10-25 19:34:44 UTC (rev 2135) +++ trunk/samples/sample.astpp-dialplan.conf 2007-11-01 04:20:57 UTC (rev 2136) @@ -50,7 +50,7 @@ exten => 1,1,AGI(astpp-ani-map.agi,${CALLERID(number)},"ANI","ACCOUNT") exten => 1,n,Set(CARDNUMBER=${ANI_ACCOUNT}) exten => 1,n,GotoIf($["${ACCOUNT}"]?:60) -exten => 1,n,DeadAGI(astpp-callingcards.agi,${CARDNUMBER},${PIN},${DESTINATION},${CONNECTSURCHARGE},${PERMINUTESURCHARGE}) +exten => 1,n,DeadAGI(astpp-callingcards.agi,${CARDNUMBER},${PIN},${DESTINATION},${CONNECTSURCHARGE},${PERMINUTESURCHARGE},${BRAND}) exten => 1,n,GotoIf($["${NEWCALL}" = "1"]?4) exten => 2,1,AGI(astpp-ani-map.agi,${CALLERID(number)},"ANI") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |