Asterisk dies after a Debian Update

Hi all !

I got some problem with Asterisk box. After an update under Debian Testing Asterisk updated from 1.8 to Asterisk 11.

Now it can’t restart and dies after a few seconds without saying anything in /var/log/asterisk/message .

In fact I have some errors in it but it doesn’t seems to be directly related. I disabled ALL modules and Asterisk stayed up. So there is something wrong somewhere. I changed sip.conf according to the warning messages.

Now I’m pretty sure this is the extension.conf file that have a problem.

Error message:

Full message:

[Mar 10 17:30:10] Asterisk 11.7.0~dfsg-1+b1 built by buildd @ barber on a x86_64 running Linux on 2014-02-19 22:15:31 UTC [Mar 10 17:30:10] NOTICE[3868] cdr.c: CDR simple logging enabled. [Mar 10 17:30:10] NOTICE[3868] loader.c: 217 modules will be loaded. [Mar 10 17:30:10] NOTICE[3868] res_odbc.c: res_odbc loaded. [Mar 10 17:30:10] NOTICE[3868] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener. [Mar 10 17:30:10] WARNING[3868] loader.c: Module 'app_espeak.so' was not compiled with the same compile-time options as this version of Asterisk. [Mar 10 17:30:10] WARNING[3868] loader.c: Module 'app_espeak.so' will not be initialized as it may cause instability. [Mar 10 17:30:10] WARNING[3868] loader.c: Module 'app_espeak.so' could not be loaded. [Mar 10 17:30:10] NOTICE[3868] config.c: Registered Config Engine curl [Mar 10 17:30:10] NOTICE[3868] config.c: Registered Config Engine sqlite3 [Mar 10 17:30:10] NOTICE[3868] config.c: Registered Config Engine sqlite [Mar 10 17:30:10] ERROR[3868] chan_motif.c: Connection 'local-jabber-account' configured on endpoint 'jingle-endpoint' could not be found [Mar 10 17:30:10] ERROR[3868] config_options.c: Error parsing connection=local-jabber-account at line 81 of [Mar 10 17:30:10] ERROR[3868] config_options.c: In motif.conf: Processing options for jingle-endpoint failed [Mar 10 17:30:10] ERROR[3868] chan_motif.c: Unable to read config file motif.conf. Not loading module. [Mar 10 17:30:10] NOTICE[3899] chan_sip.c: Peer 'ovh-out' is now Reachable. (6ms / 2000ms) [Mar 10 17:30:10] WARNING[3868] cel_pgsql.c: CEL pgsql config file missing global section. [Mar 10 17:30:10] NOTICE[3868] cel_tds.c: cel_tds has no global category, nothing to configure. [Mar 10 17:30:10] WARNING[3868] cel_tds.c: cel_tds module had config problems; declining load [Mar 10 17:30:10] WARNING[3868] pbx.c: Unable to register extension '1' priority 2 in 'standard', already in use

Original extension.conf:

[code][general]
language = fr
autofallthrough=yes
limitonpeer=yes

[outgoing]
exten => _0.,1,Dial(SIP/${EXTEN:1}@ovh-out,r)
;exten => _1.,1,Dial(SIP/${EXTEN:1}@ovh-out-2,r)

; Internal Calls/Transfert Capability
exten => _XX,1,Dial(SIP/${EXTEN},20,tTr)
exten => _XX,2,VoiceMail(${EXTEN},u)

[standard]
exten => s,1,Answer
exten => s,2,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})
exten => s,3,Background(01_Eulerian_Tech_Bonjour)
exten => s,4,Background(02_Eulerian_Service_Commercial)
exten => s,5,Background(03_Eulerian_Menu_1)
exten => s,6,Wait(0.5)
exten => s,7,Background(04_Eulerian_Service_Account_Management)
exten => s,8,Background(05_Eulerian_Menu_2)
exten => s,9,Wait(0.5)
exten => s,10,Background(06_Eulerian_Service_Marketing)
exten => s,11,Background(07_Eulerian_Menu_3)
exten => s,12,Wait(0.5)
exten => s,13,Background(08_Eulerian_Service_Facturation)
exten => s,14,Background(09_Eulerian_Menu_4)
exten => s,15,WaitExten(5)
exten => s,16,Background(10_Eulerian_Redirection)
exten => s,17,Queue(support,nTtr,)

; Sales Queue
exten => 1,1,Queue(sales,nTtr,)
exten => 1,2,Queue(internal,nTtr,)
exten => 1,3,VoiceMail(${EXTEN},u)
exten => 1,2,Hangup

; Support Queue
exten => 2,1,Queue(support,nTtr,)
exten => 2,2,Queue(internal,nTtr,)
exten => 2,3,VoiceMail(${EXTEN},u)
exten => 2,4,Hangup

; Marketing service
;exten => 3,1,Dial(SIP/35,15,nTtr,)
exten => 3,1,Queue(marketing,nTtr,)
exten => 3,2,VoiceMail(${EXTEN},u)
exten => 3,3,Hangup

; Billing service
exten => 4,1,Dial(SIP/15,15,nTtr,)
exten => 4,2,VoiceMail(15,u)
exten => 4,3,Hangup

; Voicemail Access (By Internal Phone Only)
exten => 9,1,VoicemailMain()
exten => 9,2,Hangup

; Voicemail Access (By Internal Phone Only)
;exten => 9,1,VoicemailMain(s${CALLERID(num)})

; Security
exten => #,1,Playback(privacy-thankyou)
exten => #,2,Hangup

exten => t,1,Goto(#,1)
exten => i,1,Playback(invalid)
exten => i,2,Goto(s,2)

[users]
include => outgoing

[default]
include => users
[/code]

I don’t understand where is the problem and if it’s really related to extension.conf. I also had a problem of disk space during the update … But Asterisk was already installed at this point.

I’m loosing my mind on this … if someone have any idea, I’ll thank him/her in advance !

Let’s go back to dig this …

Thank you for you time!

Thanks for your reply !

In fact I forgot that I have a long time ago installed some codecs for the 1.8 version of Asterisk. And it wasn’t espeak which I don’t use.

Since that the server is Up and running but the extensions.conf file seems to not be correct anymore and syntax may have changed since the 1.8 version.

Hare are the errors:
From ingoing calls:

For outgoing calls: