Hi,
I was able to identify and fix the problem successfully.
I have customized the customer portal on an older version of A2billing.
The callback.php page had the following code:
Code:
if ($A2B->config['global']['asterisk_version'] == "1_6") {
$variable = "CALLED=$called,CALLING=$calling,CBID=$uniqueid,LEG=".$A2B->cardnumber;
} else {
$variable = "CALLED=$called|CALLING=$calling|CBID=$uniqueid|LEG=".$A2B->cardnumber;
}
However, in newer versions it should be replaced with this to get matched correctly with the settings:
Code:
if ($A2B->config['global']['asterisk_version'] == "1_2" || $A2B->config['global']['asterisk_version'] == "1_4") {
$variable = "CALLED=$called|CALLING=$calling|CBID=$uniqueid|LEG=".$A2B->cardnumber;
} else {
$variable = "CALLED=$called,CALLING=$calling,CBID=$uniqueid,LEG=".$A2B->cardnumber;
}
The problem with the above is passing a '|' sign in the dial command which is not compatible with new versions of Asterisk where you should use the comma ','.
Hope this helps,
rshack