Context changing on its own

I have an IAX2 trunk between 2 servers, internal calls work fine.

Server A has routes and trunking working on PSTN. Server B only has an outbound route that trunks to server A. Both servers can call each others’ internal extensions fine (Server A: 10xx & 20xx, Server B: 40xx)

However, when an endpoint on server B makes a call to a PSTN number, it does not seem to have the from-internal context anymore, as the call says the number could not be completed as dialed.

Outgoing config:

type=friend
secret=SECRET
register=yes
qualify=yes&30000
forceencryption=yes
encryption=yes
deny=all
allow=gsm&ulaw&alaw&0.0.0.0/0.0.0.0
host=Other servers dns
context=from-internal

Incoming Config:

type=friend
secret=SECRET
register=yes
qualify=yes&30000
forceencryption=yes
encryption=yes
deny=all
allow=gsm&ulaw&alaw&0.0.0.0/0.0.0.0
context=from-internal

here is a CEL from server A, when server B attempts an outbound call (88 is the prefix for outgoing calls on a certain trunk, 88 and a 10 digit number works fine when dialing out from an endpoint on A):

The context appears to be “from-pstn” even though it is set as “from-internal”

Any help is much appreciated!