Reputation: 446
When I try to perform authentication process in asterisk by using jain sip library, it gave 200 ok message for only one extension , but I tried same code for different extension , it shows 'Forbidden' message. I have verified credential I have passed in my program
Upvotes: 1
Views: 223
Reputation: 15247
Forbidden can be caused by
1) incorrect realm. You are using no realm= line in sip.conf or using other realm
2) incorrect password
3) incorrect nat settings.
Upvotes: 1
Reputation: 2453
Generally This error occur when u enter the hostname instead of the IP address.
Upvotes: 0