[Asterisk-Users] Failed to authenticate on INVITE to '"601" ...

Ronald Wiplinger ronald.wiplinger at agptelecom.com
Sun Oct 24 08:11:03 MST 2004


I have installed the first time Asterisk, .... (forgive me simple questions)

I have also installed the demo.

After testing demo (call 1000, call 600, ...) I changed in the 
extensions.conf:

; include => demo
include => incomingsipgate
include => sipgate.de
include => sipgate.col.uk

[incomingsipgate]
exten => 5552220,1,Dial(SIP/601,20,r)
exten => 4782156,1,Dial(SIP/602,20,r)

[sipgate.de]
exten => _0049X.,1,Dial(SIP/${EXTEN:4}@sipgate.de,30,r)
exten => _0049X.,2,Playback(invalid)
exten => _0049X.,3,Hangup

[sipgate.co.uk]
exten => _0044X.,1,Dial(SIP/${EXTEN:4}@sipgate.co.uk,30,tr)
exten => _0044X.,2,Playback(invalid)
exten => _0044X.,3,Hangup



in sip.conf I have:

register => 5552220:pwd-de at sipgate.de/5552220
register => 4782156:pwd-uk at sipgate.co.uk/4782156

[601]
type=friend
username=601
secret=pwd-601
canreinvite=no
host=dynamic
defaultip=61.220.121.19
dtmfmode=rfc2833
mailbox=601
nat=yes
caller-id="Ronald 1" <601>

[602]
type=friend
username=602
secret=pwd-602
canreinvite=no
host=dynamic
defaultip=61.220.121.19
dtmfmode=rfc2833
mailbox=602
nat=yes
caller-id="Ronald 2" <602>


[sipgate.de]
type=friend
username=5552220
secret=pwd-de
host=sipgate.de
fromuser=5552220
fromdomain=sipgate.de
nat=yes
context=incomingsipgate
canreinvite=no


[sipgate.co.uk]
type=friend
username=4782156
secret=pwd-uk
host=sipgate.co.uk
fromuser=4782156
fromdomain=sipgate.co.uk
nat=yes
context=incomingsipgate
canreinvite=no





The console shows when I want to dial at sipgate.de  the number 10000 
(test) or 50000 (Voicemail):  004910000

-- Executing Dial("SIP/601-ea8b", "SIP/10000 at sipgate.de|30|r") in new stack
-- Called 10000 at sipgate.de
Oct 24 23:00:48 NOTICE[213005]: c6779 handle_response: Failed to 
authenticate on INVITE to '"601" <sip:5552220 at sipgate.de>;tag=as25c3e254'
-- Nobody picked up in 30000 ms
-- Executing Playback("SIP/601-ea8b", "invalid") in new stack
-- Playing 'invalid' (language 'en')
-- Got SIP response 481 "Call Leg Does Not Exist" back from 217.10.79.9
-- Executing Hangup("SIP/601-ea8b", "") in new stack
== Spawn extension (default, 004910000, 3) exited non-zero on 'SIP/601-ea8b'
-- Executing Hangup("SIP/601-ea8b", "") in new stack
== Spawn extension (default, h , 1) exited non-zero on 'SIP/601-ea8b'



What do I miss?

bye

Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ronald.wiplinger.vcf
Type: text/x-vcard
Size: 142 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20041024/eb4dc0ae/ronald.wiplinger.vcf


More information about the asterisk-users mailing list