Ashwin Parmar
Ashwin Parmar

Reputation: 3045

How do I setup Asterisk SIP Registration with Proxy and STUN Server?

I have register my SIP Account as follow:

SIP-server
User:           XXXXXXXXXX
Password:       YYYYYYYYYY

registrar:      registrar.mysip.com
domain realm:   mysip.com
SIP-port:       5060
STUN server:    stun.mysip.com
STUN port:      3478
proxy server    proxy.mysip.com

Registration entry in /etc/asterisk/sip.conf

register => XXXXXXXXXX@[email protected]:5060/XXXXXXXXXX

How do I setup Proxy and STUN Server configuration in sip.conf file.

I have restarted asterisk and reload sip details.

sip reload

sip show registry

I got following:

NOTICE[9143]: chan_sip.c:15170 sip_reg_timeout:    -- Registration for '[email protected]' timed out, trying again (Attempt #48)


NOTICE[963]: chan_sip.c:15208 transmit_register: Strange, trying to register [email protected] when registration already pending

Upvotes: 1

Views: 2643

Answers (1)

Ashwin Parmar
Ashwin Parmar

Reputation: 3045

I got answer by self research.

Issue from the SIP Service provider, they block my IP Addresses for that I am unable to connect.

Upvotes: 1

Related Questions