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:kjf72356kfh5@ip/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 [1100@from-pstn:8] Dial(“Console/default”, “SIP/123456789/1100”) in new stack
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [1100@from-pstn:9] NoOp(“Console/default”, “es geht weiter”) in new stack
– Executing [1100@from-pstn: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