Go Down

Topic: Let arduino ring phones via SIP (Read 14471 times) previous topic - next topic

netdream

Hi All,
i am still struggling to get a solution for my sip registration issue.
I have now tried to use a different sip server but i cant get a positive registration.

This time the problem looks to be slightly different. I think the registration is failing as i am not passing the opaque field back on the second registration attempt.

Please see link below for information on opaque

https://www.ietf.org/mail-archive/web/sip/current/msg20292.html

Is anyone able to shed any light on why I am not collecting this data from the buffer ?

Serial ooutput shown below


Configuring Ethernet using DHCP...
ername="locext300", realm="quadro", nonce="32a91b19b23d961f4651dc4e96a8f924", uri="sip:321@192.168.240.240", response=""
Configuring Ethernet using DHCP...
DHCP succesfull: IP=192.168.240.222.
connecting to SIP server...
UDP initialized
REGISTER sip:192.168.240.240 SIP/2.0
Call-ID: 82dbcb945be55064382340188c4e7f46@0:0:0:0:0:0:0:0
CSeq: 1 REGISTER
From: "locext300" <sip:locext300@192.168.240.240>;tag=12ee6250
To: "locext300" <sip:locext300@192.168.240.240>
Via: SIP/2.0/UDP 192.168.240.222:5060;branch=z9hG4bK-343035-2bf4386c05f7697fc0ae10dc75cd1b35
Content-Length: 0

Received UDP packet of size 490
<SIP/2.0 401 Unauthorized
<Via: SIP/2.0/UDP 192.168.240.222:5060;branch=z9hG4bK-343035-2bf4386c05f7697fc0ae10dc75cd1b35
<To: "locext300" <sip:locext300@192.168.240.240>
<From: "locext300" <sip:locext300@192.168.240.240>;tag=12ee6250
<CSeq: 1 REGISTER
<Call-ID: 82dbcb945be55064382340188c4e7f46@0:0:0:0:0:0:0:0
<Server: Epygi Quadro SIP User Agent/v5.3.28 (QUADRO-2X)
<WWW-Authenticate: Digest realm="quadro",nonce="32a91b19b23d961f4651dc4e96a8f924",opaque="1516359373"
locext300:quadro:secret123
HA1:12b94a9fefb0474d16f1c173a5499e37
opaque:
nonce:32a91b19b23d961f4651dc4e96a8f924
HA2:54e901c6b2ae88eadd5c41308b86b968
RESPSEED=12b94a9fefb0474d16f1c173a5499e37:32a91b19b23d961f4651dc4e96a8f924:54e901c6b2ae88eadd5c41308b86b968
RESP=dab5cec72a51992dc6126f7f2eaa4069
nonce=32a91b19b23d961f4651dc4e96a8f924
<Content-Length: 0
<
REGISTER sip:192.168.240.240 SIP/2.0
Call-ID: 82dbcb945be55064382340188c4e7f46@0:0:0:0:0:0:0:0
CSeq: 2 REGISTER
From: "locext300" <sip:locext300@192.168.240.240>;tag=12ee6250
To: "locext300" <sip:locext300@192.168.240.240>
Via: SIP/2.0/UDP 192.168.240.222:5060;branch=z9hG4bK-343035-2bf4386c05f7697fc0ae10dc75cd1b35
Authorization: Digest username="locext300", realm="quadro", nonce="32a91b19b23d961f4651dc4e96a8f924", uri="sip:192.168.240.240", response="dab5cec72a51992dc6126f7f2eaa4069",algorithm=MD5, opaque=
Content-Length: 0

Received UDP packet of size 490
<SIP/2.0 401 Unauthorized
<Via: SIP/2.0/UDP 192.168.240.222:5060;branch=z9hG4bK-343035-2bf4386c05f7697fc0ae10dc75cd1b35
<To: "locext300" <sip:locext300@192.168.240.240>
<From: "locext300" <sip:locext300@192.168.240.240>;tag=12ee6250
<CSeq: 2 REGISTER
<Call-ID: 82dbcb945be55064382340188c4e7f46@0:0:0:0:0:0:0:0
<Server: Epygi Quadro SIP User Agent/v5.3.28 (QUADRO-2X)
<WWW-Authenticate: Digest realm="quadro",nonce="32a91b19b23d961f4651dc4e96a8f924",opaque="1516359373"
<Content-Length: 0


Thanks for any help...

netdream

Below the CPP and H files for Sipringer

Go Up