I have an asterisk box at a remote location (which I will call remote),
which registers to my local asterisk box (I'll call that one local), and
uses that to route calls to the outside world. The problem I am having
is that the remote location needs to lie about it's callerid sometimes,
however if I set a callerid that matches the extension of another peer
that exists, "local" returns a 403 to "remote". I can set the callerid
to the did and it will work fine, or I can set the callerid to something
random and it will work fine.
What does * do with the proxy-authorization header, because it seems to
be ignoring the username part... or maybe I need to go read some RFCs.
Any help is greatly appreciated.
Thanks,
Chris Mazuc
<-- SIP read from REMOTE:1025:
INVITE sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP REMOTE:5060;branch=z9hG4bK1757eacd;rport
From: "My Name" <sip:[EMAIL PROTECTED]>;tag=as4f42dab4
To: <sip:[EMAIL PROTECTED]>
Contact: <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 103 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Proxy-Authorization: Digest username="1XXXXXX1205", realm="asterisk",
algorithm=MD5, uri="sip:[EMAIL PROTECTED]", nonce="45a347bc",
response="934b409f19a0ebf28d1cf266db29f497", opaque=""
Date: Tue, 24 Oct 2006 20:26:28 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 240
v=0
o=root 2238 2239 IN IP4 REMOTE
s=session
c=IN IP4 REMOTE
t=0 0
m=audio 15384 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
--- (14 headers 11 lines)---
Using INVITE request as basis request -
[EMAIL PROTECTED]
Sending to REMOTE : 5060 (NAT)
Found user '1XXXXXX1200'
Reliably Transmitting (NAT) to REMOTE:1025:
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP
REMOTE:5060;branch=z9hG4bK1757eacd;received=REMOTE;rport=1025
From: "My Name" <sip:[EMAIL PROTECTED]>;tag=as4f42dab4
To: <sip:[EMAIL PROTECTED]>;tag=as1f40e0ec
Call-ID: [EMAIL PROTECTED]
CSeq: 103 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users