Среда (12/09/09)

/dev/pts/3
10:09:08
#asterisk -rvvvv
Asterisk 1.4.21.2~dfsg-3, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core 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 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.21.2~dfsg-3 currently running on debian2 (pid = 2439)
Verbosity was 0 and is now 4
debian2*CLI> sip reload
 Reloading SIP
  == Parsing '/etc/asterisk/sip.conf': Found
  == Parsing '/etc/asterisk/users.conf': Found
  == Parsing '/etc/asterisk/sip_notify.conf': Found
    -- Registered SIP '302' at 192.168.102.107 port 51202 expires 3600
    -- Saved useragent "X-Lite release 1103k stamp 53621" for peer 302
    -- Executing [300@default:1] Answer("SIP/302-08be65c0", "") in new stack
    -- Executing [300@default:2] Echo("SIP/302-08be65c0", "") in new stack
  == Spawn extension (default, 300, 2) exited non-zero on 'SIP/302-08be65c0'
[Dec  9 11:11:35] NOTICE[2514]: chan_sip.c:14035 handle_request_invite: Call from '302' to extension '301' rejected because extension not found.
[Dec  9 11:11:57] NOTICE[2514]: chan_sip.c:14035 handle_request_invite: Call from '301' to extension '302' rejected because extension not found.
debian2*CLI> sip show us
users  user
debian2*CLI> sip show users
Username                   Secret           Accountcode      Def.Context      ACL  NAT
302                        123                               default          No   RFC3581
301                        123                               default          No   RFC3581
debian2*CLI> sip show
channel        channels       domains        history        inuse
objects        peer           peers          registry       settings
subscriptions  users          user
debian2*CLI> sip show
channel        channels       domains        history        inuse
objects        peer           peers          registry       settings
subscriptions  users          user
debian2*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
302/302                    192.168.102.107  D          51202    Unmonitored
301/301                    192.168.102.101  D          5753     Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
debian2*CLI> extensions reload
Dialplan reloaded.
The 'extensions reload' command is deprecated and will be removed in a future release. Please use 'dialplan reload' instead.
  == Parsing '/etc/asterisk/extensions.conf': Found
    -- Registered extension context 'default'
    -- Added extension '_3XX' priority 1 to default
    -- Added extension '300' priority 1 to default
    -- Added extension '300' priority 2 to default
    -- Added extension '300' priority 3 to default
  == Parsing '/etc/asterisk/users.conf': Found
    -- Executing [301@default:1] Dial("SIP/302-08be5030", "SIP/301") in new stack
    -- Called 301
    -- SIP/301-08beb7e8 is ringing
    -- SIP/301-08beb7e8 answered SIP/302-08be5030
    -- Native bridging SIP/302-08be5030 and SIP/301-08beb7e8
[Dec  9 11:14:13] WARNING[2758]: res_musiconhold.c:660 get_mohbyname: Music on Hold class 'default' not found
[Dec  9 11:14:13] WARNING[2758]: res_musiconhold.c:660 get_mohbyname: Music on Hold class 'default' not found
  == Spawn extension (default, 301, 1) exited non-zero on 'SIP/302-08be5030'
debian2*CLI> extensions reload
Dialplan reloaded.
  == Parsing '/etc/asterisk/extensions.conf': Found
    -- Registered extension context 'default'
    -- Added extension '_3XX' priority 1 to default
    -- Added extension '300' priority 1 to default
    -- Added extension '300' priority 2 to default
    -- Added extension '300' priority 3 to default
    -- Added extension '391' priority 1 to default
    -- Added extension '391' priority 2 to default
  == Parsing '/etc/asterisk/users.conf': Found
    -- Executing [391@default:1] Wait("SIP/302-08be5030", "2") in new stack
    -- Executing [391@default:2] Playback("SIP/302-08be5030", "casanova") in new stack
    -- <SIP/302-08be5030> Playing 'casanova' (language 'en')
  == Spawn extension (default, 391, 2) exited non-zero on 'SIP/302-08be5030'
    -- Executing [391@default:1] Wait("SIP/302-08be5030", "2") in new stack
    -- Executing [391@default:2] Playback("SIP/302-08be5030", "casanova") in new stack
    -- <SIP/302-08be5030> Playing 'casanova' (language 'en')
  == Spawn extension (default, 391, 2) exited non-zero on 'SIP/302-08be5030'
    -- Executing [391@default:1] Wait("SIP/302-08be5030", "2") in new stack
    -- Executing [391@default:2] Playback("SIP/302-08be5030", "casanova") in new stack
    -- <SIP/302-08be5030> Playing 'casanova' (language 'en')
  == Auto fallthrough, channel 'SIP/302-08be5030' status is 'UNKNOWN'
debian2*CLI> sip reload
 Reloading SIP
  == Parsing '/etc/asterisk/sip.conf': Found
  == Parsing '/etc/asterisk/users.conf': Found
  == Parsing '/etc/asterisk/sip_notify.conf': Found
    -- Registered SIP 'fromDeb4' at 192.168.102.1 port 5060 expires 120
    -- Saved useragent "Asterisk PBX" for peer fromDeb4
debian2*CLI> sip
debug    history  no       notify   prune    reload   set      show
debian2*CLI> sip show pee
peers  peer
debian2*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
fromDeb4/fromDeb4          192.168.102.1    D          5060     Unmonitored
302/302                    192.168.102.107  D          51202    Unmonitored
301/301                    192.168.102.101  D          5753     Unmonitored
3 sip peers [Monitored: 0 online, 0 offline Unmonitored: 3 online, 0 offline]
debian2*CLI> sip show registry
Host                            Username       Refresh State                Reg.Time
[Dec  9 11:30:58] NOTICE[2514]: chan_sip.c:14035 handle_request_invite: Call from '301' to extension '201' rejected because extension not found.
[Dec  9 11:31:07] NOTICE[2514]: chan_sip.c:14035 handle_request_invite: Call from '301' to extension '201' rejected because extension not found.
debian2*CLI> extensions reload
Dialplan reloaded.
  == Parsing '/etc/asterisk/extensions.conf': Found
    -- Registered extension context 'default'
    -- Added extension '_3XX' priority 1 to default
    -- Added extension '_2XX' priority 1 to default
    -- Added extension '300' priority 1 to default
    -- Added extension '300' priority 2 to default
    -- Added extension '300' priority 3 to default
    -- Added extension '391' priority 1 to default
    -- Added extension '391' priority 2 to default
  == Parsing '/etc/asterisk/users.conf': Found
    -- Executing [201@default:1] Dial("SIP/301-08bef760", "SIP/fromDeb4/201") in new stack
    -- Called fromDeb4/201
    -- SIP/fromDeb4-08bf4148 is ringing
    -- SIP/fromDeb4-08bf4148 answered SIP/301-08bef760
    -- Native bridging SIP/301-08bef760 and SIP/fromDeb4-08bf4148
  == Spawn extension (default, 201, 1) exited non-zero on 'SIP/301-08bef760'
    -- Got SIP response 503 "Unavailable" back from 192.168.102.1
[Dec  9 11:32:20] NOTICE[2514]: chan_sip.c:14035 handle_request_invite: Call from '301' to extension '101' rejected because extension not found.
debian2*CLI> extensions reload
Dialplan reloaded.
  == Parsing '/etc/asterisk/extensions.conf': Found
    -- Registered extension context 'default'
    -- Added extension '_3XX' priority 1 to default
    -- Added extension '_2XX' priority 1 to default
    -- Added extension '_1XX' priority 2 to default
    -- Added extension '300' priority 1 to default
    -- Added extension '300' priority 2 to default
    -- Added extension '300' priority 3 to default
    -- Added extension '391' priority 1 to default
    -- Added extension '391' priority 2 to default
  == Parsing '/etc/asterisk/users.conf': Found
[Dec  9 11:32:41] NOTICE[2514]: chan_sip.c:14035 handle_request_invite: Call from '301' to extension '101' rejected because extension not found.
[Dec  9 11:32:45] NOTICE[2514]: chan_sip.c:14035 handle_request_invite: Call from '301' to extension '101' rejected because extension not found.
[Dec  9 11:33:28] NOTICE[2514]: chan_sip.c:14035 handle_request_invite: Call from '302' to extension '101' rejected because extension not found.
[Dec  9 11:33:37] NOTICE[2514]: chan_sip.c:14035 handle_request_invite: Call from '301' to extension '101' rejected because extension not found.
debian2*CLI> extensions reload
Dialplan reloaded.
  == Parsing '/etc/asterisk/extensions.conf': Found
    -- Registered extension context 'default'
    -- Added extension '_3XX' priority 1 to default
    -- Added extension '_2XX' priority 1 to default
    -- Added extension '_1XX' priority 1 to default
    -- Added extension '300' priority 1 to default
    -- Added extension '300' priority 2 to default
    -- Added extension '300' priority 3 to default
    -- Added extension '391' priority 1 to default
    -- Added extension '391' priority 2 to default
  == Parsing '/etc/asterisk/users.conf': Found
    -- Executing [101@default:1] Dial("SIP/302-08be5030", "SIP/fromDeb4/101") in new stack
    -- Called fromDeb4/101
    -- SIP/fromDeb4-08bebbd8 is ringing
    -- SIP/fromDeb4-08bebbd8 answered SIP/302-08be5030
    -- Native bridging SIP/302-08be5030 and SIP/fromDeb4-08bebbd8
  == Spawn extension (default, 101, 1) exited non-zero on 'SIP/302-08be5030'
    -- Got SIP response 503 "Unavailable" back from 192.168.102.1
    -- Registered SIP '301' at 192.168.102.101 port 50984 expires 3600
    -- Executing [191@default:1] Dial("SIP/301-08be5030", "SIP/fromDeb4/191") in new stack
    -- Called fromDeb4/191
    -- SIP/fromDeb4-08bebbd8 is ringing
  == Spawn extension (default, 191, 1) exited non-zero on 'SIP/301-08be5030'
    -- Executing [102@default:1] Dial("SIP/301-08be5030", "SIP/fromDeb4/102") in new stack
    -- Called fromDeb4/102
    -- SIP/fromDeb4-08bebfe0 answered SIP/301-08be5030
    -- Native bridging SIP/301-08be5030 and SIP/fromDeb4-08bebfe0
    -- Executing [391@default:1] Wait("SIP/302-08bf1320", "2") in new stack
    -- Executing [391@default:2] Playback("SIP/302-08bf1320", "casanova") in new stack
    -- <SIP/302-08bf1320> Playing 'casanova' (language 'en')
  == Spawn extension (default, 102, 1) exited non-zero on 'SIP/301-08be5030'
    -- Got SIP response 503 "Unavailable" back from 192.168.102.1
  == Auto fallthrough, channel 'SIP/302-08bf1320' status is 'UNKNOWN'
debian2*CLI>
debian2*CLI>
debian2*CLI>
debian2*CLI>
debian2*CLI>
debian2*CLI>
debian2*CLI>
debian2*CLI>
debian2*CLI> quit
Executing last minute cleanups