03-08-06 01:45 AM
I've had my SPA-3000 successfully working for both incoming and outgoing
calls to/from the PSTN but outgoing calls have stopped working!!
I'm using Asterisk@Home and I don't think I've changed anything...
Here's the debug output of the Sipura (on 10.0.0.252) when I place a
call from an Asterisk extension:
---Log starts
INVITE sip:CalledPhone#@10.0.0.252:5061 SIP/2.0
Via: SIP/2.0/UDP 10.0.0.1:5060;branch=z9hG4bK384c1f04;rport
From: "100" <sip:Asterisk@10.0.0.1>;tag=as6ba389a0
To: <sip:07714667868@10.0.0.252:5061>
Contact: <sip:Asterisk@10.0.0.1>
Call-ID: 759aaa22639b78a90afafff20b865a66@10.0.0.1
CSeq: 102 INVITE
User-Agent: Pete's PBX
Max-Forwards: 70
Date: Tue, 07 Mar 2006 23:36:53 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 197
v=0
o=root 2881 2881 IN IP4 10.0.0.1
s=session
c=IN IP4 10.0.0.1
t=0 0
m=audio 16322 RTP/AVP 0 3 8
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:8 PCMA/8000
a=silenceSupp:off - - - -
SIP:Challenge INVITE
[1:5061]->10.0.0.1:5060
[1:5061]->10.0.0.1:5060
SIP/2.0 401 Unauthorized
To: <sip:CalledPhone#@10.0.0.252:5061>;tag=af3fa47e511ea8bbi1
From: "100" <sip:Asterisk@10.0.0.1>;tag=as6ba389a0
Call-ID: 759aaa22639b78a90afafff20b865a66@10.0.0.1
CSeq: 102 INVITE
Via: SIP/2.0/UDP 10.0.0.1:5060;branch=z9hG4bK384c1f04
Server: Sipura/SPA3000-3.1.7(GWg)
WWW-Authenticate: Digest realm="10.0.0.1", nonce="a3d355a9", qop="auth",
algorithm=md5
Content-Length: 0
---Log ends
and here's the section from sip_addition.conf
[sipura]
type=peer
secret=********
port=5061
insecure=very
host=10.0.0.252
fromuser=Asterisk
dtmfmode=inband
context=from-internal
canreinvite=no
auth=md5
[pstn-incoming]
type=friend
port=5061
insecure=very
host=10.0.0.252
host=dynamic
dtmfmode=inband
disallow=all
context=from-internal
canreinvite=no
allow=ulaw
I've defined Voip User 1 as 'Asterisk' and entered the correct password
on the SPA-3000. Screenshot at:
http://www.pwatson.org/advanced.htm
Any help most welcome!
Thanks,
Peter
[ Post a follow-up to this message ]
|