djet, а сможеш помочь- поставил asterisk и запускаю-
Code:
$ /opt/sbin/asterisk -vv
Asterisk 1.2.24, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'show license' for details.
================================================== =======================
== Parsing '/opt/etc/asterisk/logger.conf': Found
Asterisk Event Logger Started /opt/var/log/asterisk/event_log
Asterisk Dynamic Loader loading preload modules:
== Parsing '/opt/etc/asterisk/modules.conf': Found
== Manager registered action Ping
== Manager registered action Events
== Manager registered action Logoff
== Manager registered action Hangup
== Manager registered action Status
== Manager registered action Setvar
== Manager registered action Getvar
== Manager registered action Redirect
== Manager registered action Originate
== Manager registered action Command
== Manager registered action ExtensionState
== Manager registered action AbsoluteTimeout
== Manager registered action MailboxStatus
== Manager registered action MailboxCount
== Manager registered action ListCommands
Feb 15 10:08:35 NOTICE[670]: manager.c:1686 init_manager: Unable to open management configuration manager.conf. Call management disabled.
Feb 15 10:08:35 NOTICE[670]: cdr.c:1214 do_reload: CDR simple logging enabled.
== RTP Allocating from port range 5000 -> 31000
Asterisk PBX Core Initializing
Registering builtin applications:
[AbsoluteTimeout]
== Registered application 'AbsoluteTimeout'
[Answer]
== Registered application 'Answer'
[BackGround]
== Registered application 'BackGround'
[Busy]
== Registered application 'Busy'
[Congestion]
== Registered application 'Congestion'
[DigitTimeout]
== Registered application 'DigitTimeout'
[Goto]
== Registered application 'Goto'
[GotoIf]
== Registered application 'GotoIf'
[GotoIfTime]
== Registered application 'GotoIfTime'
[ExecIfTime]
== Registered application 'ExecIfTime'
[Hangup]
== Registered application 'Hangup'
[NoOp]
== Registered application 'NoOp'
[Progress]
== Registered application 'Progress'
[ResetCDR]
== Registered application 'ResetCDR'
[ResponseTimeout]
== Registered application 'ResponseTimeout'
[Ringing]
== Registered application 'Ringing'
[SayNumber]
== Registered application 'SayNumber'
[SayDigits]
== Registered application 'SayDigits'
[SayAlpha]
== Registered application 'SayAlpha'
[SayPhonetic]
== Registered application 'SayPhonetic'
[SetAccount]
== Registered application 'SetAccount'
[SetAMAFlags]
== Registered application 'SetAMAFlags'
[SetGlobalVar]
== Registered application 'SetGlobalVar'
[SetLanguage]
== Registered application 'SetLanguage'
[Set]
== Registered application 'Set'
[SetVar]
== Registered application 'SetVar'
[ImportVar]
== Registered application 'ImportVar'
[Wait]
== Registered application 'Wait'
[WaitExten]
== Registered application 'WaitExten'
== Manager registered action DBGet
== Manager registered action DBPut
== Parsing '/opt/etc/asterisk/enum.conf': Found
Asterisk Dynamic Loader Starting:
== Parsing '/opt/etc/asterisk/modules.conf': Found
Asterisk Ready.
Я брал файлы конфигурации отсюда-
http://econf.switch.ch/econfportal/w.../asterisk.html
поставил XLite но он не коннектится-
Code:
asterisk -c
Asterisk 1.2.24, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for d etails.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'show license' for details.
================================================== ==================== ===
[ Booting...Feb 15 10:26:49 NOTICE[748]: cdr.c:1214 do_reload: CDR sim ple logging enabled.
]
Asterisk Ready.
*CLI> set verbose 20
Verbosity was 0 and is now 20
*CLI> set debug 10
Core debug was 0 and is now 10
*CLI> extensions reload
No such command 'extensions' (type 'help' for help)
*CLI> show dialplan
-= 0 extensions (0 priorities) in 0 contexts. =-
*CLI> show modules
Module Description Use Count
0 modules loaded
*CLI>
и лог Xlite
Code:
SEND TIME: 100235234
SEND >> 192.168.1.1:5060
INVITE sip:500@192.168.1.1 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.189:5060;rport;branch=z9hG4bKACBCC53B78B A4044BE064EF498717385
From: First Extension <sip:1234@192.168.1.1>;tag=564606588
To: <sip:500@192.168.1.1>
Contact: <sip:1234@192.168.1.189:5060>
Call-ID: AB4C3390-FB62-4A20-B48B-A87CD6E061F9@192.168.1.189
CSeq: 27023 INVITE
Max-Forwards: 70
Content-Type: application/sdp
User-Agent: X-Lite release 1103m
Content-Length: 297
v=0
o=1234 100224140 100224156 IN IP4 192.168.1.189
s=X-Lite
c=IN IP4 192.168.1.189
t=0 0
m=audio 8000 RTP/AVP 0 8 3 98 97 101
a=rtpmap:0 pcmu/8000
a=rtpmap:8 pcma/8000
a=rtpmap:3 gsm/8000
a=rtpmap:98 iLBC/8000
a=rtpmap:97 speex/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
Вообще я так понимаю у Олега "руки не дошли" написать how to для чайников.
Я вижу у тебя работает asterisk, может поделишся как ставить надо...
Спасибо!