I am using the AMI to make the calls, and my SIP trunk channel will come with / anyway
like “SIP/Tata-SIP” Hence we can’t change that ? and the calls will come to dialplan only when the call answer or failed - if answered call then i can change the account code - but for the filed call am calling the failed extension - but before calling failed extension am getting the above error.
In that case what ca do ? is there any option is cdr.conf to remove the accountcode entry ? or any similar suggestions ?
The default account code is blank. It is not the same as the SIP channel. If you are seeing the channel name there it is because something in your custom code is putting it there. You can delete that something, or change it to use acceptable characters.