Koozali.org: home of the SME Server

Extensions will not register

Offline CC

  • *
  • 12
  • +0/-0
Extensions will not register
« on: July 17, 2010, 01:11:50 AM »
Hope this hasn't appeared elsewhere.  Have spent 3 1/2 months on this and I give up.  I have just done a fresh install (again! 4th time) of SME.  Did all updates, then installed Asterisk & SAIL as per Chris's post.  All good to here.  Registered 2 trunks, connected to Mytel.  These are connected and showing me latency.  Very good, haven't got this far before.

Now I add my extensions.  They will not register.  IP address comes up as unknown and no latency.  If I click "Resolve" the IP comes up and the icon shows yellow exclamation mark saying "End point is on-line but not registered".  As soon as I click commit, or anything else, the IP disappears from the field.

When I boot the phone it obtains an IP address and downloads from the tftp server.

guest22

Re: Extensions will not register
« Reply #1 on: July 17, 2010, 08:53:18 AM »
What is downloaded to the phone from FTP?
What does the Asterisk debug say during the whole boot process?
Any firewalls or other NAT in between SME and phones?
Show config file/template for phone

Offline CC

  • *
  • 12
  • +0/-0
Re: Extensions will not register
« Reply #2 on: July 17, 2010, 10:54:45 AM »
Phone downloads ringtoneX.bin x3 and gxp.lpf (Or similar, very quick).
Don't know how to access the Asterisk debug.
No NAT or firewall between SME and phones.  Only 10/100 switch.

Example of SIP.config:

[general]
context=mainmenu
maxexpirey=180
defaultexpirey=160
limitonpeers=yes
notifybusy=yes
notifyringing=yes
notifyhold=yes
allowguest=no
alwaysauthreject=yes
externip=113.61.80.114
localnet=192.168.1.1/255.255.255.0

#include sark_customer_sip_headers.conf
#include sark_customer_sip_registrations.conf
;Internal IP phones

[5500]
type=friend
username=charles
secret=*******
mailbox=5500
host=dynamic
qualify=3000
context=internal
callerid="charles" <5500>
canreinvite=no
subscribecontext=extensions
insecure=port,invite
pickupgroup=1
callgroup=1
call-limit=99
deny=0.0.0.0/0.0.0.0
permit=192.168.1.1/255.255.255.0
disallow=all

allow=gsm

allow=alaw
allow=ulaw

guest22

Re: Extensions will not register
« Reply #3 on: July 17, 2010, 12:06:31 PM »
On asterisk console 'core set verbose 100'
Then check the booting process and registration process on the console

Offline CC

  • *
  • 12
  • +0/-0
Re: Extensions will not register
« Reply #4 on: July 18, 2010, 01:54:26 AM »
I am not very competent with CLI.  Please give me more information as to how to implement this and where will I find the data afterwards.

guest22

Re: Extensions will not register
« Reply #5 on: July 18, 2010, 09:27:31 AM »

Offline CC

  • *
  • 12
  • +0/-0
Re: Extensions will not register
« Reply #6 on: July 18, 2010, 11:04:02 PM »
Have read the page you directed me to but can't get the information you require.  I don't think my competence is up to this.  I don't think this is the information you are looking for but it's the best I can do:

Verbosity was 0 and is now 100
celeste*CLI> reload
  == Parsing '/etc/asterisk/cdr.conf': Found
[Jul 19 06:53:34] NOTICE[10578]: cdr.c:1452 do_reload: CDR simple logging enabled.
  == Parsing '/etc/asterisk/dnsmgr.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
  == Parsing '/etc/asterisk/enum.conf': Found
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/sark_customer_manager.conf': Found
  == Parsing '/etc/asterisk/users.conf': Found
  == Parsing '/etc/asterisk/rtp.conf': Found
  == RTP Allocating from port range 10000 -> 20000
  == Parsing '/etc/asterisk/http.conf': Found
  == Parsing '/etc/asterisk/logger.conf': Found
Asterisk Event Logger restarted
Asterisk Queue Logger restarted
    -- Reloading module 'res_smdi.so' (Simplified Message Desk Interface (SMDI) Resource)
  == Parsing '/etc/asterisk/smdi.conf': Found
[Jul 19 06:53:34] WARNING[10578]: res_smdi.c:1406 reload: No SMDI interfaces were specified to listen on, not starting SDMI listener.
    -- Reloading module 'res_odbc.so' (ODBC Resource)
  == Parsing '/etc/asterisk/res_odbc.conf': Found
[Jul 19 06:53:34] NOTICE[10578]: res_odbc.c:599 reload: Adding ENV var: INFORMIXSERVER=my_special_database
[Jul 19 06:53:34] NOTICE[10578]: res_odbc.c:599 reload: Adding ENV var: INFORMIXDIR=/opt/informix
    -- Reloading module 'res_adsi.so' (ADSI Resource)
  == Parsing '/etc/asterisk/adsi.conf': Found
    -- Reloading module 'res_jabber.so' (AJI - Asterisk Jabber Interface)
  == Parsing '/etc/asterisk/jabber.conf': Found
    -- Reloading module 'res_features.so' (Call Features Resource)
  == Parsing '/etc/asterisk/features.conf': Found
    -- Added extension '*5' priority 1 to parkedcalls
    -- Reloading module 'res_musiconhold.so' (Music On Hold Resource)
  == Parsing '/etc/asterisk/musiconhold.conf': Found
    -- Reloading module 'codec_g726.so' (ITU G.726-32kbps G726 Transcoder)
  == Parsing '/etc/asterisk/codecs.conf': Found
    -- codec_g726: using generic PLC
    -- Reloading module 'chan_agent.so' (Agent Proxy Channel)
  == Parsing '/etc/asterisk/agents.conf': Found
  == Parsing '/etc/asterisk/users.conf': Found
    -- Reloading module 'app_playback.so' (Sound File Playback Application)
[Jul 19 06:53:34] NOTICE[10578]: app_playback.c:458 reload: Reloading say.conf
  == Parsing '/etc/asterisk/say.conf': Found
    -- Reloading module 'chan_gtalk.so' (Gtalk Channel Driver)
    -- Reloading module 'codec_adpcm.so' (Adaptive Differential PCM Coder/Decoder)
  == Parsing '/etc/asterisk/codecs.conf': Found
    -- codec_adpcm: using generic PLC
    -- Reloading module 'codec_speex.so' (Speex Coder/Decoder)
  == Parsing '/etc/asterisk/codecs.conf': Found
    -- CODEC SPEEX: Setting Quality to 3
    -- CODEC SPEEX: Setting Complexity to 2
    -- CODEC SPEEX: Perceptual Enhancement Mode. [on]
    -- CODEC SPEEX: VAD Mode. [on]
    -- CODEC SPEEX: VBR Mode. [on]
    -- CODEC SPEEX: Disabling ABR
    -- CODEC SPEEX: Setting VBR Quality to 4.000000
    -- CODEC SPEEX: DTX Mode. [off]
    -- CODEC SPEEX: Preprocessing. [off]
    -- CODEC SPEEX: Preprocessor VAD. [off]
    -- CODEC SPEEX: Preprocessor AGC. [off]
    -- CODEC SPEEX: Setting preprocessor AGC Level to 8000.000000
    -- CODEC SPEEX: Preprocessor Denoise. [off]
    -- CODEC SPEEX: Preprocessor Dereverb. [off]
    -- CODEC SPEEX: Setting preprocessor Dereverb Decay to 0.400000
    -- CODEC SPEEX: Setting preprocessor Dereverb Level to 0.300000
    -- Reloading module 'cdr_manager.so' (Asterisk Manager Interface CDR Backend)
  == Parsing '/etc/asterisk/cdr_manager.conf': Found
    -- Reloading module 'codec_gsm.so' (GSM Coder/Decoder)
  == Parsing '/etc/asterisk/codecs.conf': Found
    -- codec_gsm: using generic PLC
    -- Reloading module 'app_meetme.so' (MeetMe conference bridge)
  == Parsing '/etc/asterisk/meetme.conf': Found
    -- Reloading module 'codec_ulaw.so' (mu-Law Coder/Decoder)
  == Parsing '/etc/asterisk/codecs.conf': Found
    -- codec_ulaw: using generic PLC
    -- Reloading module 'chan_mgcp.so' (Media Gateway Control Protocol (MGCP))
 Reloading MGCP
  == Parsing '/etc/asterisk/mgcp.conf': Found
  == MGCP Listening on 0.0.0.0:2727
  == Using TOS bits 0
    -- Reloading module 'codec_lpc10.so' (LPC10 2.4kbps Coder/Decoder)
  == Parsing '/etc/asterisk/codecs.conf': Found
    -- codec_lpc10: using generic PLC
    -- Reloading module 'chan_dahdi.so' (DAHDI Telephony w/PRI)
  == Parsing '/etc/asterisk/chan_dahdi.conf': Found
  == Parsing '/etc/asterisk/dahdi-channels.conf': Found
[Jul 19 06:53:34] WARNING[10578]: chan_dahdi.c:12076 process_dahdi: Ignoring any changes to 'switchtype' (on reload)
[Jul 19 06:53:34] WARNING[10578]: chan_dahdi.c:12076 process_dahdi: Ignoring any changes to 'signalling' (on reload)
[Jul 19 06:53:34] WARNING[10578]: chan_dahdi.c:12076 process_dahdi: Ignoring any changes to 'rxwink' (on reload)
  == Parsing '/etc/asterisk/users.conf': Found
    -- Reloading module 'codec_alaw.so' (A-law Coder/Decoder)
  == Parsing '/etc/asterisk/codecs.conf': Found
    -- codec_alaw: using generic PLC
    -- Reloading module 'chan_sip.so' (Session Initiation Protocol (SIP))
 Reloading SIP
  == Parsing '/etc/asterisk/sip.conf': Found
  == Parsing '/etc/asterisk/sark_customer_sip_headers.conf': Found
  == Parsing '/etc/asterisk/sark_customer_sip_registrations.conf': Found
  == Parsing '/etc/asterisk/sark_customer_sip_devices.conf': Found
  == Parsing '/etc/asterisk/users.conf': Found
  == Parsing '/etc/asterisk/sip_notify.conf': Found
    -- Reloading module 'res_config_pgsql.so' (PostgreSQL RealTime Configuration Driver)
  == Parsing '/etc/asterisk/res_pgsql.conf': Found
[Jul 19 06:53:34] ERROR[10578]: res_config_pgsql.c:782 pgsql_reconnect: Postgresql RealTime: Failed to connect database server asterisk on 127.0.0.1. Check debug for more info.
[Jul 19 06:53:34] WARNING[10578]: res_config_pgsql.c:657 reload: Postgresql RealTime: Couldn't establish connection. Check debug.
  == Postgresql RealTime reloaded.
    -- Reloading module 'cdr_csv.so' (Comma Separated Values CDR Backend)
  == Parsing '/etc/asterisk/cdr.conf': Found
    -- Reloading module 'pbx_ael.so' (Asterisk Extension Language Compiler)
[Jul 19 06:53:34] NOTICE[10578]: pbx_ael.c:4471 pbx_load_module: Starting AEL load process.
[Jul 19 06:53:34] NOTICE[10578]: pbx_ael.c:4478 pbx_load_module: AEL load process: calculated config file name '/etc/asterisk/extensions.ael'.
[Jul 19 06:53:34] NOTICE[10578]: pbx_ael.c:4486 pbx_load_module: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Jul 19 06:53:34] NOTICE[10578]: pbx_ael.c:4489 pbx_load_module: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
  == Setting global variable 'CONSOLE-AEL' to 'Console/dsp'
  == Setting global variable 'IAXINFO-AEL' to 'guest'
  == Setting global variable 'OUTBOUND-TRUNK' to 'Zap/g2'
  == Setting global variable 'OUTBOUND-TRUNKMSD' to '1'
    -- Registered extension context 'ael-dundi-e164-canonical'
    -- Registered extension context 'ael-dundi-e164-customers'
    -- Registered extension context 'ael-dundi-e164-via-pstn'
    -- Registered extension context 'ael-dundi-e164-local'
    -- Including context 'ael-dundi-e164-canonical' in context 'ael-dundi-e164-local'
    -- Including context 'ael-dundi-e164-customers' in context 'ael-dundi-e164-local'
    -- Including context 'ael-dundi-e164-via-pstn' in context 'ael-dundi-e164-local'
    -- Registered extension context 'ael-dundi-e164-switch'
    -- Including switch 'DUNDi/e164' in context 'ael-dundi-e164-switch'
    -- Registered extension context 'ael-dundi-e164-lookup'
    -- Including context 'ael-dundi-e164-local' in context 'ael-dundi-e164-lookup'
    -- Including context 'ael-dundi-e164-switch' in context 'ael-dundi-e164-lookup'
    -- Registered extension context 'macro-ael-dundi-e164'
    -- Registered extension context 'ael-iaxtel700'
    -- Registered extension context 'ael-iaxprovider'
    -- Registered extension context 'ael-trunkint'
    -- Including context 'ael-dundi-e164-lookup' in context 'ael-trunkint'
    -- Registered extension context 'ael-trunkld'
    -- Including context 'ael-dundi-e164-lookup' in context 'ael-trunkld'
    -- Registered extension context 'ael-trunklocal'
    -- Registered extension context 'ael-trunktollfree'
    -- Registered extension context 'ael-international'
    -- Including context 'ael-longdistance' in context 'ael-international'
    -- Including context 'ael-trunkint' in context 'ael-international'
    -- Registered extension context 'ael-longdistance'
    -- Including context 'ael-local' in context 'ael-longdistance'
    -- Including context 'ael-trunkld' in context 'ael-longdistance'
    -- Registered extension context 'ael-local'
    -- Including context 'ael-default' in context 'ael-local'
    -- Including context 'ael-trunklocal' in context 'ael-local'
    -- Including context 'ael-iaxtel700' in context 'ael-local'
    -- Including context 'ael-trunktollfree' in context 'ael-local'
    -- Including context 'ael-iaxprovider' in context 'ael-local'
    -- Registered extension context 'macro-ael-std-exten-ael'
    -- Registered extension context 'ael-demo'
    -- Registered extension context 'ael-default'
    -- Including context 'ael-demo' in context 'ael-default'
    -- Added extension 's' priority 1 to macro-ael-dundi-e164
    -- Added extension 's' priority 2 to macro-ael-dundi-e164
    -- Added extension 's' priority 3 to macro-ael-dundi-e164
    -- Added extension 's' priority 4 to macro-ael-dundi-e164
    -- Added extension '_91700XXXXXXX' priority 1 to ael-iaxtel700
    -- Added extension '_9011.' priority 1 to ael-trunkint
    -- Added extension '_9011.' priority 2 to ael-trunkint
    -- Added extension '_91NXXNXXXXXX' priority 1 to ael-trunkld
    -- Added extension '_91NXXNXXXXXX' priority 2 to ael-trunkld
    -- Added extension '_9NXXXXXX' priority 1 to ael-trunklocal
    -- Added extension '_91800NXXXXXX' priority 1 to ael-trunktollfree
    -- Added extension '_91888NXXXXXX' priority 1 to ael-trunktollfree
    -- Added extension '_91877NXXXXXX' priority 1 to ael-trunktollfree
    -- Added extension '_91866NXXXXXX' priority 1 to ael-trunktollfree
    -- Added extension 's' priority 1 to macro-ael-std-exten-ael
    -- Added extension 's' priority 2 to macro-ael-std-exten-ael
    -- Added extension 's' priority 3 to macro-ael-std-exten-ael
    -- Added extension 's' priority 4 to macro-ael-std-exten-ael
    -- Added extension 's' priority 5 to macro-ael-std-exten-ael
    -- Added extension 's' priority 6 to macro-ael-std-exten-ael
    -- Added extension 's' priority 7 to macro-ael-std-exten-ael
    -- Added extension 's' priority 8 to macro-ael-std-exten-ael
    -- Added extension 'a' priority 1 to macro-ael-std-exten-ael
    -- Added extension 'a' priority 2 to macro-ael-std-exten-ael
    -- Added extension 'a' priority 3 to macro-ael-std-exten-ael
    -- Added extension '_sw-19-.' priority 10 to macro-ael-std-exten-ael
    -- Added extension '_sw-19-.' priority 11 to macro-ael-std-exten-ael
    -- Added extension 'sw-19-' priority 10 to macro-ael-std-exten-ael
    -- Added extension 'sw-19-BUSY' priority 10 to macro-ael-std-exten-ael
    -- Added extension 'sw-19-BUSY' priority 11 to macro-ael-std-exten-ael
    -- Added extension 's' priority 1 to ael-demo
    -- Added extension 's' priority 2 to ael-demo
    -- Added extension 's' priority 3 to ael-demo
    -- Added extension 's' priority 4 to ael-demo
    -- Added extension 's' priority 5 to ael-demo
    -- Added extension 's' priority 6 to ael-demo
    -- Added extension 's' priority 7 to ael-demo
    -- Added extension 's' priority 8 to ael-demo
    -- Added extension 's' priority 9 to ael-demo
    -- Added extension 's' priority 10 to ael-demo
    -- Added extension 's' priority 11 to ael-demo
    -- Added extension 's' priority 12 to ael-demo
    -- Added extension '2' priority 1 to ael-demo
    -- Added extension '2' priority 2 to ael-demo
    -- Added extension '3' priority 1 to ael-demo
    -- Added extension '3' priority 2 to ael-demo
    -- Added extension '1000' priority 1 to ael-demo
    -- Added extension '500' priority 1 to ael-demo
    -- Added extension '500' priority 2 to ael-demo
    -- Added extension '500' priority 3 to ael-demo
    -- Added extension '500' priority 4 to ael-demo
    -- Added extension '600' priority 1 to ael-demo
    -- Added extension '600' priority 2 to ael-demo
    -- Added extension '600' priority 3 to ael-demo
    -- Added extension '600' priority 4 to ael-demo
    -- Added extension '_1234' priority 1 to ael-demo
    -- Added extension '8500' priority 1 to ael-demo
    -- Added extension '8500' priority 2 to ael-demo
    -- Added extension '#' priority 1 to ael-demo
    -- Added extension '#' priority 2 to ael-demo
    -- Added extension 't' priority 1 to ael-demo
    -- Added extension 'i' priority 1 to ael-demo
[Jul 19 06:53:34] NOTICE[10578]: pbx_ael.c:4491 pbx_load_module: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Jul 19 06:53:34] NOTICE[10578]: pbx_ael.c:4494 pbx_load_module: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Jul 19 06:53:34] NOTICE[10578]: pbx_ael.c:4497 pbx_load_module: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
    -- Reloading module 'pbx_config.so' (Text Extension Configuration)
  == Parsing '/etc/asterisk/extensions.conf': Found
  == Setting global variable 'LOCALIP' to '192.168.1.1'
  == Setting global variable 'ALLOWHASHXFER' to 'disabled'
  == Setting global variable 'BLINDBUSY' to 'Operator'
  == Setting global variable 'BOUNCEALERT' to ''
  == Setting global variable 'CALLRECORD1' to 'OTR'
  == Setting global variable 'EXTLEN' to '4'
  == Setting global variable 'FAX' to '5001'
  == Setting global variable 'FAXDETECT' to '1'
  == Setting global variable 'INTRINGDELAY' to '30'
  == Setting global variable 'LTERM' to 'NO'
  == Setting global variable 'MTIME' to 'disabled'
  == Setting global variable 'OPERATOR' to '0'
  == Setting global variable 'PAGEPASS' to ''
  == Setting global variable 'PLAYBEEP' to 'NO'
  == Setting global variable 'PLAYBUSY' to 'NO'
  == Setting global variable 'PLAYCONGESTED' to 'NO'
  == Setting global variable 'RINGDELAY' to '0'
  == Setting global variable 'SYSOP' to ''
  == Setting global variable 'VOIPMAX' to '3'
  == Setting global variable 'VOICEINSTR' to 'YES'
  == Setting global variable 'DYNAMIC_FEATURES' to 'automon'
  == Setting global variable 'TESTGLOBAL' to '15'
    -- Registered extension context 'from-internal'
    -- Including context 'internal' in context 'from-internal'
    -- Registered extension context 'internal'
    -- Including context 'internal-presets' in context 'internal'
    -- Including context 'extensions' in context 'internal'
    -- Including context 'utilities' in context 'internal'
    -- Added extension '_X.' priority 1 to internal
    -- Registered extension context 'priv_sibling'
    -- Added extension '_X.' priority 1 to priv_sibling
    -- Registered extension context 'qrxvtmny'
    -- Including context 'internal-presets' in context 'qrxvtmny'
    -- Including context 'extensions' in context 'qrxvtmny'
    -- Including context 'conferences' in context 'qrxvtmny'
    -- Added extension '_**XX.' priority 1 to qrxvtmny
    -- Including context 'utilities' in context 'qrxvtmny'
    -- Added extension '_8XXX.' priority 1 to qrxvtmny
    -- Added extension '_9XXX.' priority 1 to qrxvtmny
    -- Added extension '_0XXX.' priority 1 to qrxvtmny
    -- Added extension '_13XX._18XX' priority 1 to qrxvtmny
[Jul 19 06:53:34] WARNING[10578]: pbx.c:4733 add_pri: Unable to register extension '_8XXX.', priority 1 in 'qrxvtmny', already in use
[Jul 19 06:53:34] WARNING[10578]: pbx.c:4733 add_pri: Unable to register extension '_9XXX.', priority 1 in 'qrxvtmny', already in use
[Jul 19 06:53:34] WARNING[10578]: pbx.c:4733 add_pri: Unable to register extension '_0XXX.', priority 1 in 'qrxvtmny', already in use
[Jul 19 06:53:34] WARNING[10578]: pbx.c:4733 add_pri: Unable to register extension '_13XX._18XX', priority 1 in 'qrxvtmny', already in use
    -- Added extension 't' priority 1 to qrxvtmny
    -- Added extension 'h' priority 1 to qrxvtmny
    -- Added extension 'i' priority 1 to qrxvtmny
    -- Registered extension context 'qrxvtmny-callback'
    -- Added extension '_X.' priority 1 to qrxvtmny-callback
    -- Registered extension context 'extensions'
    -- Including context 'internal-presets' in context 'extensions'
    -- Including context 'parkedcalls' in context 'extensions'
    -- Added extension '701' priority 1 to extensions
    -- Added extension '701' priority -1 to extensions
    -- Added extension '702' priority 1 to extensions
    -- Added extension '702' priority -1 to extensions
    -- Added extension '_*8XX.' priority 1 to extensions
    -- Added extension '0' priority 1 to extensions
    -- Added extension '5000' priority -1 to extensions
    -- Added extension '5000' priority 1 to extensions
    -- Added extension '*5000' priority 1 to extensions
    -- Added extension '*5000' priority 2 to extensions
    -- Added extension '*5000' priority 3 to extensions
    -- Added extension '5500' priority -1 to extensions
    -- Added extension '5500' priority 1 to extensions
    -- Added extension '*5500' priority 1 to extensions
    -- Added extension '*5500' priority 2 to extensions
    -- Added extension '*5500' priority 3 to extensions
    -- Added extension '6000' priority -1 to extensions
    -- Added extension '6000' priority 1 to extensions
    -- Added extension '*6000' priority 1 to extensions
    -- Added extension '*6000' priority 2 to extensions
    -- Added extension '*6000' priority 3 to extensions
    -- Added extension '7000' priority -1 to extensions
    -- Added extension '7000' priority 1 to extensions
    -- Added extension '*7000' priority 1 to extensions
    -- Added extension '*7000' priority 2 to extensions
    -- Added extension '*7000' priority 3 to extensions
    -- Added extension '8000' priority -1 to extensions
    -- Added extension '8000' priority 1 to extensions
    -- Added extension '*8000' priority 1 to extensions
    -- Added extension '*8000' priority 2 to extensions
    -- Added extension '*8000' priority 3 to extensions
    -- Added extension '9000' priority -1 to extensions
celeste*CLI> sip set debug on
Usage: sip set debug
       Enables dumping of SIP packets for debugging purposes

       sip set debug ip <host[:PORT]>
       Enables dumping of SIP packets to and from host.

       sip set debug peer <peername>
       Enables dumping of SIP packets to and from host.
       Require peer to be registered.

guest22

Re: Extensions will not register
« Reply #7 on: July 18, 2010, 11:11:54 PM »
That's a good start. Now monitor that output when you boot a phone.

You've now shown a asterisk 'reload' but an actual phone trying to register is what you are looking for.

Simply reboot a phone and watch the screen

ps. for big code dumps, please take a look at pastebin.com. Simply paste your output there and submit the link in your post.

Offline CC

  • *
  • 12
  • +0/-0
Re: Extensions will not register
« Reply #8 on: July 19, 2010, 12:41:56 AM »
The data I posted was collected during a reboot of a Grandstream GXP 2000.  I have just been fiddling with some settings and I just got Ekiga to register with Asterisk!  It seems to me that I have a problem with the phones not Asterisk?

Offline CC

  • *
  • 12
  • +0/-0
Re: Extensions will not register
« Reply #9 on: July 19, 2010, 09:05:33 AM »
Okay, my problems continue.  Now I have got an extension to register, I find that I can ring out but not receive calls.  I am using IAX2 lines and ppl I have spoken to don't know about them as they use SIP.

Hoping this may give a clue:
celeste*CLI> iax2 show registry
Host                  dnsmgr  Username    Perceived             Refresh  State
0.0.0.0:4569          N       eco2000     <Unregistered>             60  Unregistered
0.0.0.0:4569          N       Home_Accou  <Unregistered>       
The data I posted was collected during a reboot of a Grandstream GXP 2000.  I have just been fiddling with some settings and I just got Ekiga to register with Asterisk!  It seems to me that I have a problem with the phones not Asterisk?
  60  Unregistered

guest22

Re: Extensions will not register
« Reply #10 on: July 19, 2010, 09:48:12 AM »
0.0.0.0:4569 is not good.

Please try to catch the actual registration attempt of the phone in CLI. It will show you the attempt, and the result(s).

Offline CC

  • *
  • 12
  • +0/-0
Re: Extensions will not register
« Reply #11 on: July 19, 2010, 10:21:49 AM »
I rebooted the extension and this is what came up in the CLI:
[Jul 19 18:18:35] NOTICE[11050]: chan_sip.c:17105 sip_poke_noanswer: Peer '5000' is now UNREACHABLE!  Last qualify: 30
[Jul 19 18:18:56] NOTICE[11050]: chan_sip.c:13387 handle_response_peerpoke: Peer '5000' is now Reachable. (29ms / 3000ms)

this extension is ringing out okay and I can also page all extensions.  It is calls from the outside that won't come in.

guest22

Re: Extensions will not register
« Reply #12 on: July 19, 2010, 10:31:30 AM »
Quote
I am using IAX2 lines and ppl I have spoken to don't know about them as they use SIP.

What you show here is SIP.....?


guest22

Re: Extensions will not register
« Reply #13 on: July 19, 2010, 10:34:47 AM »
It is calls from the outside that won't come in.

What exactly do you mean with 'outside' ? from PSTN?

What are your trunks and routes?

Offline CC

  • *
  • 12
  • +0/-0
Re: Extensions will not register
« Reply #14 on: July 19, 2010, 10:44:13 AM »
I have 2 IAX trunks coming into the server.  I just tried to ring one trunk from the other one and this is the output:
celeste*CLI> iax2 set debug on
Usage: iax2 set debug
       Enables dumping of IAX packets for debugging purposes
    -- Executing [0740153484@internal:1] AGI("SIP/5000-00000000", "selintra|OutCluster|0740153484") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/selintra
    -- AGI Script Executing Application: (Set) Options: (CDR(accountcode)=default)
    -- AGI Script selintra completed, returning 0
    -- Executing [0740153484@qrxvtmny:1] AGI("SIP/5000-00000000", "selintra|OutRoute|Route1") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/selintra
    -- AGI Script Executing Application: (Dial) Options: (IAX2/Home_Account@Home/0740153484||)
    -- Called Home_Account@Home/0740153484
    -- Call accepted by 203.166.10.151 (format ulaw)
    -- Format for call is ulaw
    -- IAX2/Home-113 is proceeding passing it to SIP/5000-00000000
    -- IAX2/Home-113 is making progress passing it to SIP/5000-00000000
    -- IAX2/Home-113 is ringing
    -- Hungup 'IAX2/Home-113'
  == Spawn extension (qrxvtmny, 0740153484, 1) exited non-zero on 'SIP/5000-00000000'
    -- Executing [h@qrxvtmny:1] Hangup("SIP/5000-00000000", "") in new stack
  == Spawn extension (qrxvtmny, h, 1) exited non-zero on 'SIP/5000-00000000'

The phone does not ring.........

You are welcome to log into the server if you wish.  Please email me direct and I will give you address and pw