Hi,

Here the CLI output. SIP 498 is the calling phone and 411 is the phone that cannot receive a call:

login as: root
[EMAIL PROTECTED]'s password:
Last login: Fri Jan 12 12:55:55 2007 from 10.0.0.72
[EMAIL PROTECTED] ~]# asterisk -r
Asterisk 1.2.7.1, Copyright (C) 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer <[EMAIL PROTECTED]>
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.
=========================================================================
Connected to Asterisk 1.2.7.1 currently running on turnip (pid = 2420)
Verbosity is at least 3
   -- Registered SIP '498' at 10.0.0.72 port 5060 expires 120
   -- Executing Answer("SIP/498-e4d4", "") in new stack
   -- Executing Wait("SIP/498-e4d4", "1") in new stack
   -- Executing Goto("SIP/498-e4d4", "pbdirectory|1") in new stack
   -- Goto (from-internal,pbdirectory,1)
   -- Executing AGI("SIP/498-e4d4", "pbdirectory") in new stack
   -- Launched AGI Script /var/lib/asterisk/agi-bin/pbdirectory
   -- AGI Script pbdirectory completed, returning 0
   -- Executing GotoIf("SIP/498-e4d4", "1?hangup|1") in new stack
   -- Goto (from-internal,hangup,1)
   -- Executing Hangup("SIP/498-e4d4", "") in new stack
== Spawn extension (from-internal, hangup, 1) exited non-zero on 'SIP/498-e4d4'
   -- Executing Macro("SIP/498-e4d4", "hangupcall") in new stack
   -- Executing ResetCDR("SIP/498-e4d4", "w") in new stack
   -- Executing NoCDR("SIP/498-e4d4", "") in new stack
   -- Executing GotoIf("SIP/498-e4d4", "1?skiprg") in new stack
   -- Goto (macro-hangupcall,s,6)
   -- Executing GotoIf("SIP/498-e4d4", "1?theend") in new stack
   -- Goto (macro-hangupcall,s,9)
   -- Executing Wait("SIP/498-e4d4", "5") in new stack
   -- Executing Hangup("SIP/498-e4d4", "") in new stack
== Spawn extension (macro-hangupcall, s, 10) exited non-zero on 'SIP/498-e4d4' in macro 'hangupcall' == Spawn extension (macro-hangupcall, s, 10) exited non-zero on 'SIP/498-e4d4'
turnip*CLI>

Here is the CLI "sip show peers":

turnip*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
660/660                    10.0.0.76        D          5060     Unmonitored
650/650                    10.0.0.73        D          5060     Unmonitored
645                        (Unspecified)    D          0        Unmonitored
644/644                    10.0.0.74        D          5060     Unmonitored
643/643                    10.0.0.82        D          5060     Unmonitored
642                        (Unspecified)    D          0        Unmonitored
641                        (Unspecified)    D          0        Unmonitored
640                        (Unspecified)    D          0        Unmonitored
639/639                    10.0.0.83        D          5060     Unmonitored
638/638                    10.0.0.75        D          5060     Unmonitored
637                        (Unspecified)    D          0        Unmonitored
636                        (Unspecified)    D          0        Unmonitored
635                        (Unspecified)    D          0        Unmonitored
634/634                    10.0.0.84        D          5060     Unmonitored
633                        (Unspecified)    D          0        Unmonitored
632                        (Unspecified)    D          0        Unmonitored
631/631                    10.0.0.85        D          5060     Unmonitored
510/510                    10.0.0.33        D          5060     OK (294 ms)
499                        (Unspecified)    D          0        Unmonitored
498/498                    10.0.0.72        D          5060     OK (2 ms)
497/497                    10.0.0.70        D          5060     Unmonitored
496                        (Unspecified)    D          0        Unmonitored
418/418                    10.0.0.80        D          5060     Unmonitored
417                        (Unspecified)    D          0        Unmonitored
416                        (Unspecified)    D          0        Unmonitored
415/415                    10.0.0.77        D          5060     Unmonitored
414/414                    10.0.0.69        D          5060     Unmonitored
413/413                    10.0.0.34        D          5060     OK (407 ms)
412/412                    10.0.0.67        D          5060     OK (4 ms)
411/411                    10.0.0.35        D          5060     OK (312 ms)
410                        (Unspecified)    D          0        UNKNOWN
31 sip peers [30 online , 1 offline]
turnip*CLI>

Thanks

Eric "ManxPower" Wieling wrote:
Chuck Bunn wrote:
Hi,

Sorry I forgot to mention that the phone is showing registered and 'sip show peers' shows that it is registered. Also the user can make outgoing calls without a problem.

A phone does NOT have to be registered in order to make outgoing calls. Registration is only required to send calls from Asterisk to a device with a dynamic IP address.

Show us the CLI output of a failed call.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users





_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to