Вход | Регистрация
Вы здесь: Главная / Форум / Главный форум по Asterisk / Конфигурация и настройка / Появляется такая ошибка

Появляется такая ошибка

1 2>
Откуда: TOMSK
Сообщений: 48

Появляется такая ошибка

клиент зарегистрировался. Дальше пытаешься звонитьс номера 108 на номер 119, то в консоли asterisk - vvvr появляется такая ошибка . Клиенты не соединяются.
-- Executing [119@depart:1] Macro("SIP/108-00844550", "stdexten|119|SIP/119") in new stack
[May 21 23:14:33] WARNING[4988]: pbx.c:1803 pbx_extension_helper: No application 'Dial ' for extension (macro-stdexten, s, 1)
== Spawn extension (macro-stdexten, s, 1) exited non-zero on 'SIP/108-00844550' in macro 'stdexten'
== Spawn extension (macro-stdexten, s, 1) exited non-zero on 'SIP/108-00844550'

вопрос. нужно ли записывать логи. или если установить базу cdr_pgsql - то как эт о сделать. МОжно ли это избежать, например вобще не записывать логи.
cdr_pgsql,conf - что сделать в этом файле ?
И еще в чем заключается эта ошибка ? может я что то не так делаю. ПОмогите.
2008-05-21 13:18

Сообщений: 1129

Re: Появляется такая ошибка

app_dial
возможно не загружен
ортодоксальный антиастерискер || антилинуксоид! (астериск || линукс) - иррациональное решение!. и здесь я тоже http://forum.asterisk.ru
2008-05-21 13:55

Откуда: TOMSK
Сообщений: 48

Re: Появляется такая ошибка

как это сделать ? как его загрузить и где проверить его загрузку ?
2008-05-21 14:49

Откуда: TOMSK
Сообщений: 48

Re: Появляется такая ошибка

[demo]
exten => s,1, Wait,1
exten => s,n, Answer
exten => s,n, SetVar(TIMEOUT(digit)=5)
exten => s,n, SetVar(TIMEOUT(response)=10)
exten => s,n(restart), BackGround(demo-congrats)
exten => s,n(instruct), BackGround(demo-instruct)
exten => s,n, WaitExten


exten => 2,1, BackGround(demo-moreinfo)
exten => 2,n,Goto(s,instruct)
exten => 3,1, SetVar(Language()=fr)
exten => 3,2, Goto(s, restart)
exten => 8500, 1, VoiceMailMain
exten => 8500, n, Goto,s
exten => 1000, 1, Goto(default,s,1)


[office]
exten => 200,1, Macro(stdexten,200,SIP/200)
exten => user1, 1, Goto(200|1)
exten => 201,1, Macro(stdexten,201,SIP/201)
exten => user2, 1, Goto(201|1)
exten => 202,1, Macro(stdexten,202,SIP/202)
exten => user3, 1, Goto(202|1)
include => demo

[macro-stdexten]
exten => s, 1, Dial (${ARG2},20,t [4] )
exten => s, 2, Goto(s-$(DIALSTATUS),1)
exten => s-NOANSWER, 1, Voicemail(u${ARG1})
exten => s-NOANSWER, 2, (Goto(default,s,1))
exten => s-BUSY, 1, Voicemail(b,${ARG1})
exten => s-BUSY, 2, (Goto(default,s,1))
exten => _s-., 1, Goto(s-NOANSWER)
exten => a, 1, VoiceMailMain(${ARG1})
2008-05-21 15:19

Откуда: TOMSK
Сообщений: 48

Re: Появляется такая ошибка

extentions.conf - это все в этом файле , где там ошибка ?
2008-05-21 15:20

Сообщений: 1129

Re: Появляется такая ошибка

нет
load app_dial
если не ошибаюсь
проверить в логе астериска когда он стартует
должен писать какие модули он грузит
и немешало бы изучить консоль астериска и его комнады
ортодоксальный антиастерискер || антилинуксоид! (астериск || линукс) - иррациональное решение!. и здесь я тоже http://forum.asterisk.ru
2008-05-21 15:28

Откуда: TOMSK
Сообщений: 48

Re: Появляется такая ошибка

Вот весь список моих консольных команд под asterisk
По умолчанию настроенны номера 2 и 3, на них происходят звонки !!
здесь нет команды load_app_dial - tckb z yt jib,f.cm

ael debug tokens Enable AEL tokens debug (does nothing)
ael nodebug Disable AEL debug messages
ael reload Reload AEL configuration
agi debug Enable AGI debugging
agi debug off Disable AGI debugging
agi dumphtml Dumps a list of agi commands in html format
agi show List AGI commands or specific help
cdr status Display the CDR status
conference debug enable debugging for a conference
conference drive pairs two members to drive VAD-based video switching
conference drivechannel pairs two channels to drive VAD-based video switching
conference end stops a conference
conference kick kick member from a conference
conference kickchannel kick channel from conference
conference list list members of a conference
conference lock locks incoming video to a member
conference lockchannel locks incoming video to a channel
conference mute mute member in a conference
conference mutechannel mute channel in a conference
conference play sound play a sound to a conference member
conference restart restart a conference
conference set default sets default video source
conference set defaultcha sets default video source channel
conference show stats show conference stats
conference stop sounds stop sounds for a conference member
conference text sends a text message to a member
conference textbroadcast sends a text message to all members in a conference
conference textchannel sends a text message to a channel
conference unlock unlocks conference
conference unmute unmute member in a conference
conference unmutechannel unmute channel in a conference
conference video mute mutes video from a member
conference video mutechan mutes video from a channel
conference video unmute unmutes video from a member
conference video unmutech unmutes video from a channel
conference viewchannel switch channel in a conference
conference viewstream switch view in a conference
core clear profile Clear profiling info
core set debug channel Enable/disable debugging on a channel
core set debug Set level of debug chattiness
core set debug off Turns off debug chattiness
core set global Set global dialplan variable
core set verbose Set level of verboseness
core show applications Shows registered dialplan applications
core show application Describe a specific dialplan application
core show audio codecs Displays a list of audio codecs
core show channels Display information on channels
core show channel Display information on a specific channel
core show channeltypes List available channel types
core show channeltype Give more details on that channel type
core show codecs Displays a list of codecs
core show codec Shows a specific codec
core show config mappings Display config mappings (file names to config engines)
core show file formats Displays file formats
core show file version List versions of files used to build Asterisk
core show functions Shows registered dialplan functions
core show function Describe a specific dialplan function
core show globals Show global dialplan variables
core show hints Show dialplan hints
core show image codecs Displays a list of image codecs
core show image formats Displays image formats
core show license Show the license(s) for this copy of Asterisk
core show locks Show which locks are locked by which thread
core show profile Display profiling info
core show switches Show alternative switches
core show threads Show running threads
core show translation Display translation matrix
core show uptime Show uptime information
core show version Display version info
core show video codecs Displays a list of video codecs
core show warranty Show the warranty (if any) for this copy of Asterisk
database del Removes database key/value
database deltree Removes database keytree/values
database get Gets database value
database put Adds/updates database value
database show Shows database contents
database showkey Shows database contents
dialplan add extension Add new extension into context
dialplan add ignorepat Add new ignore pattern
dialplan add include Include context in other context
dialplan reload Reload extensions and *only* extensions
dialplan remove extension Remove a specified extension
dialplan remove ignorepat Remove ignore pattern from context
dialplan remove include Remove a specified include from context
dialplan show Show dialplan
dnsmgr reload Reloads the DNS manager configuration
dnsmgr status Display the DNS manager status
feature show channels List status of feature channels
file convert Convert audio file
group show channels Display active channels with group(s)
help Display help list, or specific help on a command
http show status Display HTTP server status
iax2 provision Provision an IAX device
iax2 prune realtime Prune a cached realtime lookup
iax2 reload Reload IAX configuration
iax2 set debug Enable IAX debugging
iax2 set debug jb Enable IAX jitterbuffer debugging
iax2 set debug jb off Disable IAX jitterbuffer debugging
iax2 set debug off Disable IAX debugging
iax2 set debug trunk Enable IAX trunk debugging
iax2 set debug trunk off Disable IAX trunk debugging
iax2 show cache Display IAX cached dialplan
iax2 show channels List active IAX channels
iax2 show firmware List available IAX firmwares
iax2 show netstats List active IAX channel netstats
iax2 show peers List defined IAX peers
iax2 show peer Show details on specific IAX peer
iax2 show registry Display IAX registration status
iax2 show stats Display IAX statistics
iax2 show threads Display IAX helper thread info
iax2 show users List defined IAX users
iax2 test losspct Set IAX2 incoming frame loss percentage
indication add Add the given indication to the country
indication remove Remove the given indication from the country
indication show Display a list of all countries/indications
keys init Initialize RSA key passcodes
keys show Displays RSA key information
local show channels List status of local channels
logger mute Toggle logging output to a console
logger reload Reopens the log files
logger rotate Rotates and reopens the log files
logger show channels List configured log channels
manager show command Show a manager interface command
manager show commands List manager interface commands
manager show connected List connected manager interface users
manager show eventq List manager interface queued events
manager show users List configured manager users
manager show user Display information on a specific manager user
meetme Execute a command on a conference or conferee
mgcp audit endpoint Audit specified MGCP endpoint
mgcp reload Reload MGCP configuration
mgcp set debug Enable MGCP debugging
mgcp set debug off Disable MGCP debugging
mgcp show endpoints List defined MGCP endpoints
mixmonitor Execute a MixMonitor command.
module load Load a module by name
module reload Reload configuration
module show List modules and info
module show like List modules and info
module unload Unload a module by name
moh reload Music On Hold
moh show classes List MOH classes
moh show files List MOH file-based classes
no debug channel
odbc show List ODBC DSN(s)
originate Originate a call
pri debug span Enables PRI debugging on a span
pri intense debug span Enables REALLY INTENSE PRI debugging
pri no debug span Disables PRI debugging on a span
pri set debug file Sends PRI debug output to the specified file
pri show debug Displays current PRI debug settings
pri show spans Displays PRI Information
pri show span Displays PRI Information
pri unset debug file Ends PRI debug output to file
realtime load Used to print out RealTime variables.
realtime mysql status Shows connection information for the MySQL RealTime driver
realtime update Used to update RealTime variables.
restart gracefully Restart Asterisk gracefully
restart now Restart Asterisk immediately
restart when convenient Restart Asterisk at empty call volume
rpt debug level Enable app_rpt debugging
rpt dump Dump app_rpt structs for debugging
rpt fun Execute a DTMF function
rpt lstats Dump link statistics
rpt nodes Dump node list
rpt reload Reload app_rpt config
rpt restart Restart app_rpt
rpt stats Dump node statistics
rtcp debug ip Enable RTCP debugging on IP
rtcp debug Enable RTCP debugging
rtcp debug off Disable RTCP debugging
rtcp stats Enable RTCP stats
rtcp stats off Disable RTCP stats
rtp debug ip Enable RTP debugging on IP
rtp debug Enable RTP debugging
rtp debug off Disable RTP debugging
say load set/show the say mode
sip history Enable SIP history
sip history off Disable SIP history
sip notify Send a notify packet to a SIP peer
sip prune realtime Prune cached Realtime object(s)
sip prune realtime peer Prune cached Realtime peer(s)
sip prune realtime user Prune cached Realtime user(s)
sip reload Reload SIP configuration
sip set debug Enable SIP debugging
sip set debug ip Enable SIP debugging on IP
sip set debug off Disable SIP debugging
sip set debug peer Enable SIP debugging on Peername
sip show channels List active SIP channels
sip show channel Show detailed SIP channel info
sip show domains List our local SIP domains.
sip show history Show SIP dialog history
sip show inuse List all inuse/limits
sip show objects List all SIP object allocations
sip show peers List defined SIP peers
sip show peer Show details on specific SIP peer
sip show registry List SIP registration status
sip show settings Show SIP global settings
sip show subscriptions List active SIP subscriptions
sip show users List defined SIP users
sip show user Show details on specific SIP user
sla show stations Show SLA Stations
sla show trunks Show SLA Trunks
soft hangup Request a hangup on a given channel
stop gracefully Gracefully shut down Asterisk
stop now Shut down Asterisk immediately
stop when convenient Shut down Asterisk at empty call volume
stun debug Enable STUN debugging
stun debug off Disable STUN debugging
udptl debug Enable UDPTL debugging
udptl debug ip Enable UDPTL debugging on IP
udptl debug off Disable UDPTL debugging
ulimit Set or show process resource limits
voicemail show users List defined voicemail boxes
voicemail show zones List zone message formats
zap destroy channel Destroy a channel
zap restart Fully restart zaptel channels
zap show cadences List cadences
zap show channels Show active zapata channels
zap show channel Show information on a channel
zap show status Show all Zaptel cards status
2008-05-22 06:37

Откуда: TOMSK
Сообщений: 48

Re: Появляется такая ошибка

выполнил эту команду
Вышло что уже загружен
localhost*CLI> module load app_dial
[May 22 16:42:14] WARNING[6253]: loader.c:627 load_resource: Module 'app_dial' already exists.
2008-05-22 06:40

Откуда: TOMSK
Сообщений: 48

Re: Появляется такая ошибка

где можно взять документацию на русском языке или в крайнем случае на английском, для 1.4.11 asterisk
2008-05-22 10:04

Avatara of noize
Откуда: Москва
Сообщений: 398

Re: Появляется такая ошибка

в вашем конфиге
[macro-stdexten]
exten => s, 1, Dial (${ARG2},20,t [4] )

уберите пробел между Dial и скобкой
2008-05-22 11:18

1 2>
Добавить страницу в закладки:  Delicious Google Slashdot Yahoo Yandex.ru Reddit Digg Technorati Bobrdobr.ru Newsland.ru Smi2.ru Rumarkz.ru Vaau.ru Memori.ru Rucity.com Moemesto.ru News2.ru Mister-Wong.ru Myscoop.ru 100zakladok.ru