I want to register my asterisk server to a SIP trunk. I have added following piece of code in my sip.conf and extensions.conf
sip.conf
[general]
register => myusername:mypassword@sip.flowroute.com
allow=ulaw
[flowroute] ; keep this lowercase, do not change format
type=friend
secret=mypassword
username=myusername
host=sip.flowroute.com
dtmfmode=rfc2833
context=inbound
canreinvite=no
allow=ulaw
insecure=port,invite
fromdomain=sip.flowroute.com
extensions.conf
[outgoing]
exten=> _03.,1,Dial(SIP/${EXTEN}@flowroute,30)
when i do 'sip show peers' in asterisk, it shows
CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status Description
flowroute/84106639 216.115.69.144 a 5060 Unmonitored
goip/goip 192.168.10.6 D a 5060 OK (6 ms)
When I visit the my sip provider's management console it doesn't show any registration with asterisk. Please guide in this regard
Thanks
Best Answer
The config looks fine at first sight. Go on and try to debug your setup:
If step 2 only shows outgoing but not incoming packets, you might have a firewall issue.