I have problem with the sip trunk here is the error i`m getting for outbound calls. I can receive calls without any problem but i cant make calls. Is it problem with the provider configure or this is problem with the sip settings?
SIP/2.0 502 Bad Gateway
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5160;branch=z9hG4bK6129e785;rport
To: sip:[email protected]:5060
From: sip:[email protected]:5160;tag=as368628f1
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: ENSR3.0.66.43-IS1
Content-Length: 0
PEER Details:
type=friend
username=user
fromdomain=provideraddress.com
realm=provideraddress.com
host=provideraddress.com
port=XXXX
dtmfmode=rfc2833
secret=password
nat=yes
canreinvite=no
insecure=invite,port
qualify=yes
disallow=all
allow=ulaw&alaw
amaflags=default
trustrpid=no
sendrpid=yes&pai
context=from-pstn
Register string
username:[email protected]:port/username