Sip trunk host=dynamic

Hi Guys

i´ve a problem with my system, i hope you can help me.
I try to connect 2 Asterisk by a sip trunk. If i look at sip show peers and sip show registry everthing is ok.
This is my config:

Server2:
[xxx]
username=xxx
type=friend
secret=kjf72356kfh5
host="ip"
disallow=all
allow=alaw
allow=ulaw
dtmfmode=rfc2833
context=default

register=xxx:[email protected]/xxx

server2:
[xxx]
username=xxx
type=friend
secret=kjf72356kfh5
host=dynamic
disallow=all
allow=alaw
allow=ulaw
dtmfmode=rfc2833
context=from-test-outbound

Calls from server1 to server2 work, but calls from sip1 to com1 doesn´t work.
A console dial from sserver2 tells me this:

– Executing [[email protected]:8] Dial(“Console/default”, “SIP/123456789/1100”) in new stack
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [[email protected]:9] NoOp(“Console/default”, “es geht weiter”) in new stack
– Executing [[email protected]:10] Hangup(“Console/default”, “”) in new stack

Over a tcpdump i can see that server2 doesn´t send anything to com1.
If i change the host=dynamic from server2 to the host=“ip” it works.
But the host need to be dynamic

Hope you can help me.

Thank you for your help.

MotherTrucker

Are you running FreePBX? Doesn’t look like it.

@SkykingOH
Server1 is Adterisk 1.4 standalone, Server2 is Freepbx 2.11 but we don´t use the webgui.

IF you don’t use FreePBX why are you asking here?

@SkykingOH
One Server is FreePBX but we don´t use all of the functions. But i hope someone can help me.