a¦6`¦6<?php
    if ($resultado == 7162261) {
        //if ($user_id == 'PSATLima') {
        if ($source == 'PowerSMPPSATLIMA') {
            $gateway = 'MovistarSATLIMA';
        }
        else{
            $gateway = 'Movistar';
        }
    }
    else if ($resultado == 7162161) {
        //if ($user_id == 'PSATLima') {
        if ($source == 'PowerSMPPSATLIMA') {
            $gateway = 'MultiSATLIMA';
        }
        else{
            $gateway = 'Claro';
        }
    }
    //else if ($resultado == 7162161) {
        //$gateway = 'Claro';
    // }
    else if ($resultado == 7162461) {
        //if ($user_id == 'PSATLima') {
        if ($source == 'PowerSMPPSATLIMA') {
            $gateway = 'BitelSATLIMA';
        }
	//else if ($source == 'PowerSMPPSATPITAZO') {
        //    $gateway = 'BitelSATLIMA';
        //}
        else{
            $gateway = 'Bitel';
        }
    }
    else if ($resultado == 7162061) {
        //if ($user_id == 'PSATLima') {
        if ($source == 'PowerSMPPSATLIMA') {
            $gateway = 'MultiSATLIMA';
        }
        else{
            $gateway = 'Entel';
        }
    }
    else {
        $response= 'result=0&error_code=100';
	echo $response;
	exit;
    }

?>
