Thanks for the reply.
Your invites are malformed causing them to drive the s extension in Asterisk. SAIL won't accept INVITES into the s extension (at least not without modification).
This probabaly due to the fact that you haven't tagged your registration strings with the DDI (DiD) you wish to drive.
Usually better to drive a DDI like this...
John****:password@sip.voipstunt.com/mydddi
Ok, changed that. The Draytel is now fine and accepts incoming calls. The VOIPStunt doesn't - details below
Then, (if you haven't already specified the DiD in the SIP trunk) create a PTT_DiD_Group DDI to receive the call into.
I had the extensions setup before for the connection to my Telrad box. Still not really clear why I need a trunk and a PTT_DiD_Group if I have registered an 'Extension' !!!!! Well beyond my newbie level of understanding. I have 3 extensions in there.
WRT the VOIPStunt account, I get a number unobtainable when I dial it. I wasn't sure if it was to do with the registration and this :
4910.890422 10.0.0.2 -> 77.72.169.129 SIP Request: REGISTER sip:sip.voipstunt.com
4910.953210 77.72.169.129 -> 10.0.0.2 SIP Status: 401 Unauthorized (1 bindings)
Alterantively is it because I haven't got the trunk settings right and it doesn't how to deal with the call ??
5307.436536 77.72.169.129 -> 10.0.0.2 SIP/SDP Request: INVITE sip:05601566xxx@213.123.128.xxx, with session description
5307.437388 10.0.0.2 -> 77.72.169.129 SIP Status: 407 Proxy Authentication Required
5307.498794 77.72.169.129 -> 10.0.0.2 SIP Request: ACK sip:05601566xxx@213.123.128.xxx
------------->
--- (11 headers 14 lines) ---
Sending to 77.72.169.129 : 5060 (no NAT)
Using INVITE request as basis request - f330f9ea60cb481b88099e65a1bfa848
Found peer 'VoipStunt'
<--- Reliably Transmitting (no NAT) to 77.72.169.129:5060 --->
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 77.72.169.129:5060;branch=z9hG4bK03589370528e4a8985a16156294fce68;received=77.72.169.129
From: <sip:00441621783xxx@sip.voipstunt.com:5060>;tag=110113ac4af9b8e4528429
To: <sip:Johnxxx@213.123.128.xxx>;tag=as6800fed1
Call-ID: f330f9ea60cb481b88099e65a1bfa848
CSeq: 7 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Proxy-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="40f1deed"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'f330f9ea60cb481b88099e65a1bfa848' in 6400 ms (Method: INVITE)
faxserver*CLI>
<--- SIP read from 77.72.169.129:5060 --->
ACK sip:05601566429@213.123.128.xxx SIP/2.0
Via: SIP/2.0/UDP 77.72.169.129:5060;branch=z9hG4bK03589370528e4a8985a16156294fce68
From: <sip:00441621783xxx@sip.voipstunt.com:5060>;tag=110113ac4af9b8e4528429
To: <sip:Johnxxx@213.123.128.xxx>;tag=as6800fed1
Contact: sip:00441621783xxx@77.72.169.129:5060
Call-ID: f330f9ea60cb481b88099e65a1bfa848
CSeq: 7 ACK
Server: (Very nice Sip Registrar/Proxy Server)
Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE
Content-Length: 0
I would guess it is the incoming call not being matched to an extension on the system, but I'm blowed if I know what too change !!!!!!!
Any help much appreciated - I'm pleased I have the Draytel settings working. Would be nice to get the VOIPStunt ones going as well.