My system using php agi received the caller is as below
$callerid = $agi->get_variable(‘CALLERID(num)’);
I tried to send SMS using the phone number received through $callerid.
It is not working, may this be due to encoding issue?
SMS application works fine if I pass a phone number manually in pho script, but fails using the $callerid received from during call using phi agi in asterisk
Thanks in advance.