cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1143
Views
0
Helpful
1
Replies

UC520 dial-peer SIP without registration

tduchcherer
Level 1
Level 1

We are trying to setup a dial-peer over SIP to an asterix server. The provider of the Asterix box wants us to not register.

Here is our setup:

dial-peer voice 81000 voip

destination-pattern 81...

session protocol sipv2

session target ipv4:nnn.nnn.nnn.nnn

dtmf-relay rtp-nte

codec g711ulaw

no vad

Here is the SIP Sent:

Nov 30 12:43:36.236: //306727/1091912FABB3/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:81000@209.90.90.167:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.255.2:5060;branch=z9hG4bKFB3B126E
From: "Name" <sip:201@192.168.255.2>;tag=A063ACC4-1FC6
To: <sip:81000@nnn.nnn.nnn.nnn>
Date: Fri, 30 Nov 2012 19:43:36 GMT
Call-ID: 10C57569-3A5D11E2-ABB8E633-DCC10D9C@192.168.255.2
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE:  1800
Cisco-Guid: 0277975343-0979177954-2880693811-3703639452
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 101 INVITE
Max-Forwards: 70
Timestamp: 1354304616
Contact: <sip:201@192.168.255.2:5060>
Expires: 180
Allow-Events: telephone-event
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 226

v=0
o=CiscoSystemsSIP-GW-UserAgent 1822 1094 IN IP4 192.168.255.2
s=SIP Call
t=0 0
m=audio 18112 RTP/AVP 0 101
c=IN IP4 192.168.255.2
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20

And here is the reply from the Asterix:

Nov 30 12:43:36.324: //306727/1091912FABB3/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.255.2:5060;branch=z9hG4bKFB3B126E;received=192.168.255.2;rport=52361
From: "Name" <sip:201@192.168.255.2>;tag=A063ACC4-1FC6
To: <sip:81000@nnn.nnn.nnn.nnn>;tag=as11938775
Call-ID: 10C57569-3A5D11E2-ABB8E633-DCC10D9C@192.168.255.2
CSeq: 101 INVITE
Server: Asterisk PBX 10.8.0-rc1

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Proxy-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="1daac2e8"
Content-Length: 0

The operator says the 407 message is because we are trying to Register with their Proxy. How do I stop it from registering?

Terry

1 Reply 1

tduchcherer
Level 1
Level 1

It appears as though this was not a registration problem, the operator of the Asterix box solved the problem on his end.

Terry