Ronald Wiplinger wrote:

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

I have also installed the demo.



I solved it with the newest cvs version !!!

bye

Ronald




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:[EMAIL PROTECTED],30,r)
exten => _0049X.,2,Playback(invalid)
exten => _0049X.,3,Hangup

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



in sip.conf I have:

register => 5552220:[EMAIL PROTECTED]/5552220
register => 4782156:[EMAIL PROTECTED]/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/[EMAIL PROTECTED]|30|r") in new stack
-- Called [EMAIL PROTECTED]
Oct 24 23:00:48 NOTICE[213005]: c6779 handle_response: Failed to authenticate on INVITE to '"601" <sip:[EMAIL PROTECTED]>;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

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



--
Ronald Wiplinger
Senior Software Engineer
AGP Telecom Co. Ltd.
Tel. (O) +886-2-2741-7890 # 7303, (M) +886-939-77-55-16
(from USA dial (408)253-3153 # 7303)

-----------------------------------------Disclaimer-------------------------------------------------------

This document is intended for transmission to the named recipient only. If you are not that person, you should note that legal rights reside in this document and you are not authorized to access, read, disclose, copy, use or otherwise deal with it and any such actions are prohibited and may be unlawful. The views expressed in this document are not necessarily those of AGP Telecom Co., Ltd. Notice is hereby given that no representation, contract or other binding obligation shall be created by this e-mail, which must be interpreted accordingly. Any representations, contractual rights or obligations shall be separately communicated in writing and signed in the original by a duly authorized officer of the relevant company. ----------------------------------------------------------------------------------------------------------

begin:vcard
fn:Ronald Wiplinger
n:Wiplinger;Ronald
email;internet:[EMAIL PROTECTED]
x-mozilla-html:FALSE
version:2.1
end:vcard

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to