Hello,
On 07/18/08 07:59, Ricky Gutierrez wrote:
hi list , I am trying to connect openser with
asterisk, but when I
make calls to the pstn, it shows me a 407 Proxy Authentication
Required , am trying to make groups of calls with openser that some
extensions have permission of making calls to the pstn, others that
alone they call internally and international. I have created 3 groups
local, int, international, the extensions that are of the local group
have permission I believe me, according to the theory to be able to
make local calls,for this I am using asterisk, but this he throws me
the message 407.
The extension 112 with the address ip 192.168.10.26 belongs to the
local group, and he makes an intent of calling to the pstn through
asterisk, but this he throws me the message 407 I don't know because
thank you for your help
+0.399494 192.168.10.26:5060 -> 192.168.10.1:5060
INVITE sip:2642006@192.168.10.1;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.10.26:5060;branch=z9hG4bKb7bfb742a0e47ab4
From: "Ventas" <sip:112@192.168.10.1;user=phone>;tag=ca46913c384c257c
To: <sip:2642006@192.168.10.1;user=phone>
Contact: <sip:112@192.168.10.26:5060;transport=udp;user=phone>
Supported: replaces, timer, path
Call-ID: fb973f9069a09ad7(a)192.168.10.26
CSeq: 59632 INVITE
User-Agent: Grandstream GXP2000 1.1.5.15
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE
Content-Type: application/sdp
Content-Length: 382
v=0
o=112 8000 8000 IN IP4 192.168.10.26
s=SIP Call
c=IN IP4 192.168.10.26
t=0 0
m=audio 5004 RTP/AVP 0 18 3 2 99 9 4 101
a=sendrecv
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=rtpmap:3 GSM/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:99 iLBC/8000
a=fmtp:99 mode=20
a=rtpmap:9 G722/16000
a=rtpmap:4 G723/8000
a=ptime:20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
#
U +0.000205 192.168.10.1:5060 -> 192.168.10.26:5060
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.10.26:5060;branch=z9hG4bKb7bfb742a0e47ab4
From: "Ventas" <sip:112@192.168.10.1;user=phone>;tag=ca46913c384c257c
To: <sip:2642006@192.168.10.1;user=phone>;tag=d7e793d797690be5ce5420203095040f.2cd4
Call-ID: fb973f9069a09ad7(a)192.168.10.26
CSeq: 59632 INVITE
Proxy-Authenticate: Digest realm="192.168.10.1",
nonce="48802341954eb0c26cd5eb2dd85f375325fb4a7d", qop="auth"
Server: OpenSER (1.3.2-notls (i386/linux))
Content-Length: 0
the authentication is required by openser -- that means there is
a
mistake in your configuration file if you don't want to authenticate
such INVITE. The phone should respond with a new INVITE having
credentials header -- you have to set the username and password in you
phone as well.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com