Using Asterisk 21.3.1 on Ubuntu 24.04 and I don’t know if this problem was in prior versions or is something new.
When doing a Blind Transfer the Extension being transferred to receives a Caller ID Number of “s”. The Call is transferred OK and the parties have audio. Attended Transfers work just fine. The Caller ID is correct. It’s the Caller ID of the Phone doing the transfer.
This only happens when the Party did a Call to the Party being Transferred. The T option is set in the Dial command. Outgoing Calls are the problem. Incoming Calls are OK.
I have a [transfer] context defined that allows Calls to both local numbers and long distance numbers.
The “s” as the Caller ID Number caused some problems in my Dialplan. So I added a patch to look for the “s” Number and replace it with a valid Number and Name.
Hello, for anyone to help you effectively we’ll need a copy of the relevant part of your dialplan, and an Asterisk log of the call with verbose logging enabled.
Really not much to see in the log. PJSIP/ata0001 is the phone doing the outgoing call to PJSIP/FlowRoute. The phone that the call is transferred to is PJSIP/ata0002 and I’ve replaced its number with xxxxxxx. The Subroutine db-exten looks the the Asterisk Database to find out how to call a local number. The Subroutine stdexten calls the number. At its priority 1 is a NoOp that displays the three parameters passed to it. And at priority 2 is a NoOp that displays the CALLERID(all). Priority 1 of transfer just calls db-exten