1
Other Yate server issues / Can't register to my SIP provider, get 403 forbidden
« on: January 26, 2013, 09:36:29 PM »
I have read the documentation but I am still having trouble making a call through my SIP provider. In this instance I'm trying to dial a test number "775" from a handset called "jeremy". Here are the relevant parts of my files (IP addresses and passwords changed to protect the innocent):
accfile.conf:
regexroute.conf:
regfile.conf:
And here is the relevant part of the log:
Any help would be appreciated...
accfile.conf:
Code: [Select]
[pennytel]
enabled=yes
protocol=sip
username=8881235678
password=providerpassword
description=Pennytel
registrar=sip.pennytel.com
regexroute.conf:
Code: [Select]
${username}^$=-;error=noauth
^\(7..\)=sip/\1;line=pennytel
regfile.conf:
Code: [Select]
[jeremy]
password=userpassword
And here is the relevant part of the log:
Code: [Select]
#
U 85.234.150.65:5060 -> 202.85.243.115:5060
INVITE sip:775@sip.pennytel.com SIP/2.0.
Max-Forwards: 19.
Via: SIP/2.0/UDP 85.234.150.65:5060;rport;branch=z9hG4bK953691761.
From: "Jeremy Malcolm" <sip:jeremy@sip.pennytel.com>;tag=507578762.
To: <sip:775@sip.pennytel.com>.
Call-ID: 1402492972@sip.pennytel.com.
CSeq: 5 INVITE.
User-Agent: YATE/2.2.0.
Contact: <sip:jeremy@85.234.150.65:5060>.
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO.
Content-Type: application/sdp.
Content-Length: 232.
.
v=0.
o=yate 1359255461 1359255461 IN IP4 85.234.150.65.
s=SIP Call.
c=IN IP4 85.234.150.65.
t=0 0.
m=audio 26276 RTP/AVP 3 0 8 101.
a=rtpmap:3 GSM/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:101 telephone-event/8000.
#
U 202.85.243.115:5060 -> 85.234.150.65:5060
SIP/2.0 401 Unauthorized.
Via: SIP/2.0/UDP 85.234.150.65:5060;rport=5060;branch=z9hG4bK953691761.
From: "Jeremy Malcolm" <sip:jeremy@sip.pennytel.com>;tag=507578762.
To: <sip:775@sip.pennytel.com>;tag=1da1868b6386a56544b1e3dfde85dfc5.
Call-ID: 1402492972@sip.pennytel.com.
CSeq: 5 INVITE.
Server: Sippy B2BUA (RADIUS).
WWW-Authenticate: Digest realm="sip.pennytel.com",nonce="74819a03b9095e7f9d85791f5acff6d6510505c7".
Content-Length: 0.
.
#
U 85.234.150.65:5060 -> 202.85.243.115:5060
ACK sip:775@sip.pennytel.com SIP/2.0.
Via: SIP/2.0/UDP 85.234.150.65:5060;rport;branch=z9hG4bK953691761.
From: "Jeremy Malcolm" <sip:jeremy@sip.pennytel.com>;tag=507578762.
To: <sip:775@sip.pennytel.com>;tag=1da1868b6386a56544b1e3dfde85dfc5.
Call-ID: 1402492972@sip.pennytel.com.
CSeq: 5 ACK.
Max-Forwards: 19.
Contact: <sip:jeremy@85.234.150.65:5060>.
User-Agent: YATE/2.2.0.
Content-Length: 0.
.
#
U 85.234.150.65:5060 -> 202.85.243.115:5060
INVITE sip:775@sip.pennytel.com SIP/2.0.
Max-Forwards: 19.
Via: SIP/2.0/UDP 85.234.150.65:5060;rport;branch=z9hG4bK1104561852.
From: "Jeremy Malcolm" <sip:jeremy@sip.pennytel.com>;tag=507578762.
To: <sip:775@sip.pennytel.com>.
Call-ID: 1402492972@sip.pennytel.com.
User-Agent: YATE/2.2.0.
Contact: <sip:jeremy@85.234.150.65:5060>.
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO.
CSeq: 6 INVITE.
Authorization: Digest username="8881235678", realm="sip.pennytel.com", nonce="74819a03b9095e7f9d85791f5acff6d6510505c7", uri="sip:775@sip.pennytel.com", response="3d7aed27644115eb0a7521a6e74227b8", algorithm=MD5.
Content-Type: application/sdp.
Content-Length: 232.
.
v=0.
o=yate 1359255461 1359255461 IN IP4 85.234.150.65.
s=SIP Call.
c=IN IP4 85.234.150.65.
t=0 0.
m=audio 26276 RTP/AVP 3 0 8 101.
a=rtpmap:3 GSM/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:101 telephone-event/8000.
#
U 202.85.243.115:5060 -> 85.234.150.65:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP 85.234.150.65:5060;rport=5060;branch=z9hG4bK1104561852.
From: "Jeremy Malcolm" <sip:jeremy@sip.pennytel.com>;tag=507578762.
To: <sip:775@sip.pennytel.com>.
Call-ID: 1402492972@sip.pennytel.com.
CSeq: 6 INVITE.
Server: Sippy B2BUA (RADIUS).
Content-Length: 0.
.
#
U 202.85.243.115:5060 -> 85.234.150.65:5060
SIP/2.0 403 Forbidden.
Via: SIP/2.0/UDP 85.234.150.65:5060;rport=5060;branch=z9hG4bK1104561852.
From: "Jeremy Malcolm" <sip:jeremy@sip.pennytel.com>;tag=507578762.
To: <sip:775@sip.pennytel.com>;tag=201d90c075ea05e385b2e0f64983e50b.
Call-ID: 1402492972@sip.pennytel.com.
CSeq: 6 INVITE.
Server: Sippy B2BUA (RADIUS).
Content-Length: 0.
.
Any help would be appreciated...