Page 117 - Asterisk™: The Future of Telephony
P. 117

*CLI> dialplan reload
                   *CLI> sip reload
               In your X-Lite softphone client, close the Settings windows by clicking the BACK button
               until the windows are all closed. You should see X-Lite try to register to Asterisk, and
               if successful, you will see the following at the Asterisk CLI:
                   -- Registered SIP '1000' at 192.168.1.250 port 5061 expires 3600
               You can verify the registration status at any time like so:

                   *CLI> sip show peers
                   Name/username              Host            Dyn Nat ACL Port     Status
                   1000/1000                  192.168.1.250    D   N      5061    OK (63 ms)
                   1 sip peers [1 online , 0 offline]
               More detailed stats of the peer can be shown as follows with sip show peer 1000:
                   *CLI> sip show peer 1000

                     * Name       : 1000
                     Secret       : <Not set>
                     MD5Secret    : <Not set>
                     Context      : phones
                     Subscr.Cont. : <Not set>
                     Language     :
                     AMA flags    : Unknown
                     Transfer mode: open
                     CallingPres  : Presentation Allowed, Not Screened
                     Callgroup    :
                     Pickupgroup  :
                     Mailbox      :
                     VM Extension : asterisk
                     LastMsgsSent : 32767/65535
                     Call limit   : 0
                     Dynamic      : Yes
                     Callerid     : "" <>
                     MaxCallBR    : 384 kbps
                     Expire       : 1032
                     Insecure     : no
                     Nat          : RFC3581
                     ACL          : No
                     T38 pt UDPTL : No
                     CanReinvite  : Yes
                     PromiscRedir : No
                     User=Phone   : No
                     Video Support: No
                     Trust RPID   : No
                     Send RPID    : No
                     Subscriptions: Yes
                     Overlap dial : Yes
                     DTMFmode     : rfc2833
                     LastMsg      : 0


                                                                   Configuring SIP Telephones | 89
   112   113   114   115   116   117   118   119   120   121   122