Jump to content

Failing to register Device on asterisk


Gagan

Recommended Posts

Hello,

I can register SIP Device created in kazoo on all SIp phones, but dome how doesnt register on kazoo..

 

Sample configuration below

Let me know what am i missing on

 

username=XXXX
secret=YYYY
host=20201126085320.sip.XXXX.com
port=5060
type=friend
fromuser=XXXX
nsecure=port,invite
disallow=all
allow=alaw,g729
qualify=yes
nat=force_rport,comedia

 

Link to comment
Share on other sites

  • 2 weeks later...

Gagan it looks like you are missing the "register" string in sip.conf. A look at your kazoo logs or SIP trace when you try to send a call from Asterisk into Kazoo would confirm, but it looks like with what you have, your Asterisk isn't actually trying to register. To have it do that, you need to have an additional line in the [general] section of sip.conf like this:

register=>SIP_ID:Password@20201126085320.sip.XXXX.com

Also you have "nsecure" where it should be "insecure" 😄

Edited by RuhNet (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...