Only connect when asterisk is restarted, why?

Hi guys. I have problems because my provider requires a minute of time since the router synchronizes until I can connect to the trunk. Otherwise the trunk will always be rejected. As I can tell Asterisk to wait 1 minute to connect to the trunk. Thank you!!

It’s not clear what you’re problem is.
What do you mean by “provider needs a minute if time”?

Sorry and thanks avayax… google translate lol.

My sip operator, only work if freepbx conect trunk one minute after setting up dsl connection. I need to make wait for freepx 1 minute to connect trunks

Your Sip trunk will continuously try to register until successful. If the DSL is not yet up, trunk will register once it’s up.

Whatever is not working for you is probably due to a different problem than the one you think you have.

This whole thing that Asterisk has to wait a minute before registering sounds very unusual.

Why do you think it has to?

Hi avayax, thanks for you answer. I try to explain better
Its other problem.
When dsl yet down and in a few minutes yet up, my trunk vodafone only connect if asterisk is rertarted but only vodafone trunk because others trunks Does not have this problem.

Where is the problem with the trunk vodafone.

Sorry my bad english

This is my trunk configuratón Vodafone:

type=peer
secret=MYPASS
qualify=no
port=5095
outboundproxy:5095=217.130.174.XXX
nat=yes
insecure=port,invite
host=ims.vodafone.es
fromuser=MY TELEPHONE
fromdomain:5095=ims.vodafone.es
dtmfmode=auto
disallow=all
auth=MY AUTHNAME
allow=alaw

thanks!!!