I connect fine but cant call

I connect to sip 201 fine but I try to call a 1800 number and it says calling and this happens in the cli

 Using SIP RTP CoS mark 5
    -- Executing [18552135586@from-internal:1] NoOp("SIP/201-00000002", "#### [from-internal] ####") in new stack
    -- Executing [18552135586@from-internal:2] Set("SIP/201-00000002", "CALLERID(num)=442036427900") in new stack
    -- Executing [18552135586@from-internal:3] Dial("SIP/201-00000002", "SIP/+18552135586@trunk") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/+18552135586@trunk

Can you please provide the output of “sip set debug peer trunk” replacing trunk with your actual trunk name and a call attempt? As well - are you behind NAT and if so has Asterisk been configured for it?

I use gotrunk so I do sip set debug peer gotrunk? also I use nat how do I configure

I don’t know how you have configured or named your trunk in sip.conf, so I can’t answer that question. As well how to configure chan_sip for use behind NAT is documented in numerous places across the internet and in the sip.conf.sample configuration file.

“sip set debug on” can also be used to show all SIP traffic on the console.

It appears as though your chan_sip is not configured to authenticate against it, or is incorrectly configured. If you provide your sip.conf without the passwords someone may be able to help.