Every new trunk I add Asterisk keep adding unexisting trunk names to TO header


(Last Dayz) #1

Hello I have a really weird problem.
When I add a new trunk and set it for out calls, when a call comes Asterisk goes trough the call flow and adds @something to the CID before sending the call out.
so far it has been adding an already deleted names of a PJsip extensions.
I pares trought the config files there is no mention of the names that are being added to the CID.

Here is my trunk conf
host=10.10.12.98
port=5060
context=from-trunk
insecure=port,invite
qualify=yes
secret=something123
type=peer
nat=no
canreinvite=no
dtmfmode=rfc2833

Here is the sip debug

In this case it added @fxsgate which I think was a pjsip trunk deleted some time ago …
This happened all of sudden I have working trunks that were created before, but the new ones keep getting this issue.


(Sholinaty) #2

take a look at your Inbound Route for this trunk as well. is it adding a CID Prefix there?


#3

This bug has bitten at least twice before, but AFAIK has never been found. Try restarting the server.

If that doesn’t help, we can look further.


(Last Dayz) #4

Restart helped, thanks.