ASTERWEB Blog

1Mar/110

Rilasciato Asterisk 1.8.4-rc2

logoasterisk

Il giorno 28 febbraio, il Team di Sviluppo di Asterisk ha annunciato il rilascio della versione Asterisk 1.8.4-rc2

Dal post originale:

The release of Asterisk 1.8.4-rc2 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!

The following is a sample of the issues resolved in this release candidate:

  • Resolution of several DTMF based attended transfer issues.
    (Closes issue #17999, #17096, #18395, #17273. Reported by iskatel, gelo,
    shihchuan, grecco. Patched by rmudgett)
    NOTE: Be sure to read the ChangeLog for more information about these changes.
  • Resolve deadlocks related to device states in chan_sip
    (Closes issue #18310. Reported, patched by one47. Patched by jpeeler)
  • Resolve an issue with the Asterisk manager interface leaking memory when
    disabled.
    (Reported internally by kmorgan. Patched by russellb)
  • Support greetingsfolder as documented in voicemail.conf.sample.
    (Closes issue #17870. Reported by edhorton. Patched by seanbright)
  • Fix channel redirect out of MeetMe() and other issues with channel softhangup
    (Closes issue #18585. Reported by oej. Tested by oej, wedhorn, russellb.
    Patched by russellb)
  • Fix voicemail sequencing for file based storage.
    (Closes issue #18498, #18486. Reported by JJCinAZ, bluefox. Patched by
    jpeeler)
  • Set hangup cause in local_hangup so the proper return code of 486 instead of
    503 when using Local channels when the far sides returns a busy. Also affects
    CCSS in Asterisk 1.8+.
    (Patched by twilson)
  • Fix issues with verbose messages not being output to the console.
    (Closes issue #18580. Reported by pabelanger. Patched by qwell)

Asterisk 1.8.4-rc1 was not released due to a blocking issue found prior to
release. An additional fix was merged into Asterisk 1.8.4-rc2:

  • Fix Deadlock with attended transfer of SIP call
    (Closes issue #18837. Reported, patched by alecdavis. Tested by
    alecdavid, Irontec, ZX81, cmaj)

For a full list of changes in this release candidate, please see the ChangeLog:

http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.4-rc2


1Mar/110

Rilasciato Asterisk 1.6.2.18-rc1

logoasterisk

Il giorno 28 febbraio, il Team di Sviluppo di Asterisk ha annunciato il rilascio della versione Asterisk 1.6.2.18-rc1

Dal post originale:

The following is a sample of the issues resolved in this release candidate:

  • Only offer codecs both sides support for directmedia.
    (Closes issue #17403. Reported, patched by one47)
  • Resolution of several DTMF based attended transfer issues.
    (Closes issue #17999, #17096, #18395, #17273. Reported by iskatel, gelo,
    shihchuan, grecco. Patched by rmudgett)
    NOTE: Be sure to read the ChangeLog for more information about these changes.
  • Resolve deadlocks related to device states in chan_sip
    (Closes issue #18310. Reported, patched by one47. Patched by jpeeler)
  • Fix channel redirect out of MeetMe() and other issues with channel softhangup
    (Closes issue #18585. Reported by oej. Tested by oej, wedhorn, russellb.
    Patched by russellb)
  • Fix voicemail sequencing for file based storage.
    (Closes issue #18498, #18486. Reported by JJCinAZ, bluefox. Patched by
    jpeeler)
  • Guard against retransmitting BYEs indefinitely during attended transfers with
    chan_sip.
    (Review: https://reviewboard.asterisk.org/r/1077/)

For a full list of changes in this release candidate, please see the ChangeLog:

http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.6.2.18-rc1

1Mar/110

Rilasciato Asterisk 1.8.3

logoasterisk

Il giorno 28 febbraio, il Team di Sviluppo di Asterisk ha annunciato il rilascio della versione Asterisk 1.8.3

Dal post originale:

The following is a sample of the issues resolved in this release:

  • Resolve duplicated data in the AstDB when using DIALGROUP()
    (Closes issue #18091. Reported by bunny. Patched by tilghman)
  • Ensure the ipaddr field in realtime is large enough to handle IPv6 addresses.
    (Closes issue #18464. Reported, patched by IgorG)
  • Reworking parsing of mwi => lines to resolve a segfault. Also add a set of
    unit tests for the function that does the parsing.
    (Closes issue #18350. Reported by gbour. Patched by Marquis)
  • When using cdr_pgsql the billsec field was not populated correctly on
    unanswered calls.
    (Closes issue #18406. Reported by joscas. Patched by tilghman)
  • Resolve memory leak in iCalendar and Exchange calendaring modules.
    (Closes issue #18521. Reported, patched by pitel. Tested by cervajs)
  • This version of Asterisk includes the new Compiler Flags option
    BETTER_BACKTRACES which uses libbfd to search for better symbol information
    within both the Asterisk binary, as well as loaded modules, to assist when
    using inline backtraces to track down problems.
    (Patched by tilghman)
  • Resolve issue where no Music On Hold may be triggered when using
    res_timing_dahdi.
    (Closes issues #18262. Reported by francesco_r. Patched by cjacobson. Tested
    by francesco_r, rfrantik, one47)
  • Resolve a memory leak when the Asterisk Manager Interface is disabled.
    (Reported internally by kmorgan. Patched by russellb)
  • Reimplemented fax session reservation to reverse the ABI breakage introduced
    in r297486.
    (Reported internally. Patched by mnicholson)
  • Fix regression that changed behavior of queues when ringing a queue member.
    (Closes issue #18747, #18733. Reported by vrban. Patched by qwell.)
  • Resolve deadlock involving REFER.
    (Closes issue #18403. Reported, tested by jthurman. Patched by jpeeler.)

Additionally, this release has the changes related to security bulletin
AST-2011-002 which can be found at
http://downloads.asterisk.org/pub/security/AST-2011-002.pdf

For a full list of changes in this release, please see the ChangeLog:

http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.3

1Mar/110

Rilasciato Asterisk 1.6.2.17

logoasterisk

Il giorno 28 febbraio, il Team di Sviluppo di Asterisk ha annunciato il rilascio della versione Asterisk 1.6.2.17

Dal post originale:

The following is a sample of the issues resolved in this release:

  • Resolve duplicated data in the AstDB when using DIALGROUP()
    (Closes issue #18091. Reported by bunny. Patched by tilghman)
  • Correct issue where res_config_odbc could populate fields with invalid data.
    (Closes issue #18251, #18279. Reported by bcnit, zerohalo. Tested by trev,
    jthurman, elguero, zerohalo. Patched by tilghman)
  • When using cdr_pgsql the billsec field was not populated correctly on
    unanswered calls.
    (Closes issue #18406. Reported by joscas. Patched by tilghman)
  • Resolve issue where re-transmissions of SUBSCRIBE could break presence.
    (Closes issue #18075. Reported by mdu113. Patched by twilson)
  • Fix regression causing forwarding voicemails to not work with file storage.
    (Closes issue #18358. Reported by cabal95. Patched by jpeeler)
  • This version of Asterisk includes the new Compiler Flags option
    BETTER_BACKTRACES which uses libbfd to search for better symbol information
    within both the Asterisk binary, as well as loaded modules, to assist when
    using inline backtraces to track down problems.
    (Patched by tilghman)
  • Resolve several issues with DTMF based attended transfers.
    (Closes issues #17999, #17096, #18395, #17273. Reported by iskatel, gelo,
    shihchaun, grecco. Patched by rmudgett).
    NOTE: Be sure to read the ChangeLog for more information about these changes.
  • Resolve issue where no Music On Hold may be triggered when using
    res_timing_dahdi.
    (Closes issues #18262. Reported by francesco_r. Patched by cjacobson. Tested
    by francesco_r, rfrantik, one47)
  • Fix regression that changed behavior of queues when ringing a queue member.
    (Closes issue #18747, #18733. Reported by vrban. Patched by qwell.)

Additionally, this release has the changes related to security bulletin
AST-2011-002 which can be found at
http://downloads.asterisk.org/pub/security/AST-2011-002.pdf

For a full list of changes in this release, please see the ChangeLog:

http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.6.2.17

13Dic/100

Asterisk 1.6.2.15 Now Available

logoasterisk

Il giorno 8 dicembre, il Team di Sviluppo di Asterisk ha annunciato il rilascio della beta Asterisk 1.6.2.15.

Dal post originale:

he release of Asterisk 1.6.2.15 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!

The following is a sample of the issues resolved in this release:

* When using chan_skinny, don't crash when parking a non-bridged call.
(Closes issue #17680. Reported, tested by jmhunter. Patched, tested by DEA)
* Add ability for Asterisk to try both the encoded and unencoded subscription
URI for a match in hints.
(Closes issue #17785. Reported, tested by ramonpeek. Patched by tilghman)
* Set the caller id on CDRs when it is set on the parent channel.
(Closes issue #17569. Reported, patched by tbelder)
* Ensure user portion of SIP URI matches dialplan when using encoded characters
(Closes issue #17892. Reported by wdoekes. Patched by jpeeler)
* Resolve issue where Party A in an analog 3-way call would continue to hear
ringback after party C answers.
(Patched by rmudgett)
* Fix problem with qualify option packets for realtime peers never stopping.
The option packets not only never stopped, but if a realtime peer was not in
the peer list multiple options dialogs could accumulate over time.
(Closes issue #16382. Reported by lftsy. Tested by zerohalo. Patched by
jpeeler)
* Multiple fixes related to Local channels.

For a full list of changes in this release, please see the ChangeLog:

http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.6.2.15

2Dic/100

Asterisk 1.8.1-rc1 Now Available

logoasterisk

Il giorno 23 novembre, il Team di Sviluppo di Asterisk ha annunciato il rilascio della beta Asterisk 1.8.1-rc1.

The release of Asterisk 1.8.1-rc1 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!

The following is a sample of the issues resolved in this release:

* Fix issue when using directmedia. Asterisk needs to limit the codecs offered
to just the ones that both sides recognize, otherwise they may end up sending
audio that the other side doesn't understand.
(Closes issue #17403. Reported, patched by one47. Tested by one47, falves11)
* Resolve issue where Party A in an analog 3-way call would continue to hear
ringback after party C answers.
(Patched by rmudgett)
* Fix playback failure when using IAX with the timerfd module.
(Closes issue #18110. Reported, tested by tpanton. Patched by jpeeler)
* Fix problem with qualify option packets for realtime peers never stopping.
The option packets not only never stopped, but if a realtime peer was not in
the peer list multiple options dialogs could accumulate over time.
(Closes issue #16382. Reported by lftsy. Tested by zerohalo. Patched by
jpeeler)
* Fix issue where it is possible to crash Asterisk by feeding the curl engine
invalid data.
(Closes issue #18161. Reported by wdoekes. Patched by tilghman)

For a full list of changes in this release candidate, please see the ChangeLog:

http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.1-rc1

Thank you for your continued support of Asterisk!

2Dic/100

Asterisk 1.6.2.15-rc1 Now Available

logoasterisk

Il giorno 23 novembre, il Team di Sviluppo di Asterisk ha annunciato il rilascio della beta Asterisk 1.6.2.15-rc1.

Dal post originale:
The release of Asterisk 1.6.2.15-rc1 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!

The following is a sample of the issues resolved in this release:

* When using chan_skinny, don't crash when parking a non-bridged call.
(Closes issue #17680. Reported, tested by jmhunter. Patched, tested by DEA)
* Add ability for Asterisk to try both the encoded and unencoded subscription
URI for a match in hints.
(Closes issue #17785. Reported, tested by ramonpeek. Patched by tilghman)
* Set the caller id on CDRs when it is set on the parent channel.
(Closes issue #17569. Reported, patched by tbelder)
* Ensure user portion of SIP URI matches dialplan when using encoded characters
(Closes issue #17892. Reported by wdoekes. Patched by jpeeler)
* Resolve issue where Party A in an analog 3-way call would continue to hear
ringback after party C answers.
(Patched by rmudgett)
* Fix problem with qualify option packets for realtime peers never stopping.
The option packets not only never stopped, but if a realtime peer was not in
the peer list multiple options dialogs could accumulate over time.
(Closes issue #16382. Reported by lftsy. Tested by zerohalo. Patched by
jpeeler)
* Multiple fixes related to Local channels.

For a full list of changes in this release candidate, please see the ChangeLog:

http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.6.2.15-rc1

Thank you for your continued support of Asterisk!

16Ott/100

Asterisk 1.8.0 Release Candidate 3 Now Available

logoasterisk

Il Team di Sviluppo di Asterisk ha annunciato il rilascio della terza beta della 1.8.0.

Dal post originale:
This release candidate contains fixes since the release candidate as reported by
the community. A sampling of the changes in this release candidate include:

* Still build chan_sip even if res_crypto cannot be built (use, but not depend)
(Reported by a user on the mailing list. Patched by tilghman)
* Get notifications for call files only when a file is closed, not when created
(Closes issue #17924. Reported by mkeuter. Patched by abeldeck)
* Fixes to chan_gtalk to allow outbound DTMF support to work correctly. Gtalk
expects the DTMF to arrive on the RTP stream and not via jingle DTMF
signalling.
(Patched by dvossel. Tested by malcolmd)
* Fixes to allow chan_gtalk to communicate with the Gmail web client.
(Patched by phsultan and dvossel)
* Fix to GET DATA to allow audio to be streamed via an AGI.
(Closes issue #18001. Reported by jamicque. Patched by tilghman)
* Resolve dnsmgr memory corruption in chan_iax2.
(Closes issue #17902. Reported by afried. Patched by russell, dvossel)

A short list of available features includes:

* Secure RTP
* IPv6 Support in the SIP channel driver
* Connected Party Identification Support
* Calendaring Integration
* A new call logging system, Channel Event Logging (CEL)
* Distributed Device State using Jabber/XMPP PubSub
* Call Completion Supplementary Services support
* Advice of Charge support
* Much, much more!

A full list of new features can be found in the CHANGES file.

http://svn.digium.com/view/asterisk/branches/1.8/CHANGES?view=checkout

For a full list of changes in the current release candidate, please see the
ChangeLog:

http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.0-rc3

4Gen/100

Distribuzioni Asterisk: Trixbox, Elastix e PBXInaFlash. Quali differenze ?

www.asterweb.org

www.asterweb.org

Iniziamo subito ad analizzare le 3 distribuzioni di cui sopra:

  • tutte e 3 utilizzano LAMP (Linux, Apache, MySql e PHP)
  • Linux: il Sistema Operativo e in specifico centOS 5
  • Apache: il Web Server e in specifico Apache 2
  • MySql: come gestore di DB e in specifico MySql 5
  • Php: come linguaggio interpetrato di programmazione Web e in specifico Php5
  • tutte e 3 utilizzano Asterisk
  • tutte e 3 utilizzano FreePBX
  • D: Ma allora: quali sono le differenze ?
    R: Per la parte PBX nessuna ! Sono proprio identici !
    Le differenze sono negli strumenti che mettono a disposizione per la configurazione del sistema (inteso proprio come "macchina" e non come PBX) e per la gestione dei programmi/pacchetti con l'utilizzo di propri repository.

    Ecco qui una sintetica tabella comparativa:

     Servizio/Funzione da Web GUI   Trixbox   Elastix   PBXInaFlash 
    Configurazione rete Si Si No
    Gestione pacchetti Si Si No
    Configurazione smtp Si Si No
    Gestione Server di posta No Si No
    Gestione Webmail No Si
    Round Cube
    No
    Hylafax/Iaxmodem No Si No
    Gestione Sistema (Webmin) No No Si
    29Dic/090

    Asterisk CLI – comandi su database interno

    www.asterweb.org

    www.asterweb.org

    Vediamo oggi il "Database Interno" di Asterisk, che si base su DB Berkeley.

    La struttura prevede il raggruppamento dei dati in "famiglie" e l'associazione delle stesse a chiavi univoche.

    Alcuni dei comandi per gestire il DB, sono:

    • database show
    • database put
    • database del

    Vediamoli in dettaglio:

    PBX-shell*CLI> database show

    Visualizza tutti i record del DB.

    Asterisk CLI - database show

    Asterisk CLI - database show


    PBX-shell*CLI> database show [family]

    Visualizza tutti i record del DB che appartengono a quella famiglia. Es. database show CW

    Asterisk CLI - database show

    Asterisk CLI - database show


    PBX-shell*CLI> database put [family] [key] [valore]

    Il comando consente di inserire un record nel DB. Es. database put CW 307 DISABLED

    Asterisk CLI - database put

    Asterisk CLI - database put


    PBX-shell*CLI> database del [family] [key]

    Il comando consente di eliminare uno o più record che soddisfano la condizione. Es. database del CW 307

    28Dic/090

    Asterisk CLI – iax2 show …

    www.asterweb.org

    www.asterweb.org

    In questo How To, vedremo alcuni dei comandi relativi allo IAX2":

    • iax2 show peers
    • iax2 show peer
    • iax2 show registry

    Vediamoli in dettaglio:

    PBX-shell*CLI> iax2 show peers

    Elenca gli accounts IAX2 (interni, fasci, ...) configurati in Asterisk con alcune interessanti informazioni come, ad esempio, l'IP corrispondente all'account, la porta utilizzata, lo Status.

    Asterisk CLI - iax2 show peers

    Asterisk CLI - iax2 show peers

    PBX-shell*CLI> iax2 show peer 110

    Visualizza i dettagli relativi all'account IAX2. Ovviamente molti dei dati presenti si andranno ad "analizzare" quando necessario, ma in ogni caso si possono rilevare informazioni "prezione", come:

    • il contesto assegnato (from-camera-in, ...)
    • i codecs, con la relativa sequenza (molto importante), utilizzati
    • ...
    Asterisk CLI - iax2 show peer

    Asterisk CLI - iax2 show peer

    PBX-shell*CLI> iax2 show registry

    Elenca i fasci iax2 che hanno "stringa di registrazione", come ad esempio i fasci relativi alle linee VoIP.

    23Dic/090

    Asterisk CLI – sip set debug …

    www.asterweb.org

    www.asterweb.org

    Proseguiamo col vedere altri comandi relativi al "SIP", affacciandoci nel mondo dei "debug":

    • sip set debug
    • sip set debug ip
    • sip set debug peer
    • sip set debug off

    Vediamoli in dettaglio:

    PBX-shell*CLI> sip set debug

    Abilita il debug su tutto il traffico SIP.

    Asterisk CLI - Sip Debug

    Asterisk CLI - Sip Debug

    PBX-shell*CLI> sip set debug ip 192.168.1.102

    Abilita il debug sul traffico SIP di uno specifico indirizzo IP (telefono o apparato SIP in genere).

    Asterisk CLI - Sip Debug

    Asterisk CLI - Sip Debug

    PBX-shell*CLI> sip set debug peer 102

    Abilita il debug sul traffico SIP di uno specifico account (telefono o apparato SIP in genere).

    NOTA: Per meglio comprendere la differenza tra sip set debug ip e sip set debug peer facciamo un esempio pratico: se abbiamo un Media Gateway con IP 192.168.1.250 con configurati 4 accounts SIP (9001, 9002, 9003, 9004) andremo a settare il sip set debug ip 192.168.1.250 se vorremo avere il debug di tutto il traffico SIP del Media Gateway; setteremo il sip set debug peer 9002 se vorremo, invece, avere solo il debug dell'account 9002 appartenente sempre allo stesso Media Gateway.

    PBX-shell*CLI> sip set debug off

    Disabilita il debug sul traffico SIP.

    22Dic/090

    Asterisk CLI – sip show …

    www.asterweb.org

    www.asterweb.org

    In questo How To, vedremo alcuni dei comandi relativi al "SIP":

    • sip show peers
    • sip show peer
    • sip show registry

    Vediamoli in dettaglio:

    PBX-shell*CLI> sip show peers

    Elenca gli accounts SIP (interni, fasci, ...) configurati in Asterisk con alcune interessanti informazioni come, ad esempio, l'IP corrispondente all'account, NAT, la porta utilizzata, lo Status (i dati relativi al ping, si hanno solo se è presente "qualify=yes").

    Asterisk CLI

    Asterisk CLI

    Asterisk CLI - Dettagli sip show peers

    Asterisk CLI - Dettagli sip show peers


    PBX-shell*CLI> sip show peer 102

    Visualizza i dettagli relativi all'account SIP. Ovviamente molti dei dati presenti si andranno ad "analizzare" quando necessario, ma in ogni caso si possono rilevare informazioni "prezione", come:

    • il contesto assegnato (from-internal, ...)
    • i codecs, con la relativa sequenza (molto importante), utilizzati
    • il tipo di apparato hardware (se esiste) corrispondente con i dettagli (firmware)
    • ...
    Asterisk CLI -Dettagli peer

    Asterisk CLI -Dettagli peer

    PBX-shell*CLI> sip show registry

    Elenca i fasci sip che hanno "stringa di registrazione", come ad esempio i fasci relativi alle linee VoIP.

    Asterisk CLI - sip show registry

    Asterisk CLI - sip show registry

    21Dic/090

    Asterisk CLI – Inofrmazioni Generali e funzionamento

    www.asterweb.org

    www.asterweb.org

    PREMESSA

    Conoscere e sapere utilizzare la CLI di Asterisk (almeno per le cose essenziali) è estremamente importante, poichè proprio dalla CLI si può interagire con Asterisk.

    Abbiamo deciso di iniziare questo programma denominato "Asterisk in pillole" proprio da questo argomento perchè ci siamo resi conto che moltissimi utenti, soprattutto tra coloro che utilizzano FreePBX, conoscono poco o talvolta sconoscono del tutto questo strumento che, senza alcun dubbio, è fondamentale per la gestione di un PBX Asterisk.

    Finite le "pillole" relative alla CLI, passeremo alla "Programmazione Asterisk".

    GENERALE
    La CLI (Command Line Interface) di Asterisk è, come dice lo stesso "nome", una interfaccia da riga di comando, eseguibile dalla Shell di Linux.

    Dalla CLI è possibile:

    • visualizzare l'attività di Asterisk
    • Asterisk CLI - Log a video

      Asterisk CLI - Log a video

    • eseguire comandi
    • Asterisk CLI - sip show peers

      Asterisk CLI - sip show peers

      ESECUZIONE

      Per eseguirla:

      [PBX-shell ~]# asterisk -r

      Esistono altre opzioni utilizzabili per la CLI. Vi rimandiamo qui: www.voip-info.org/wiki/view/Asterisk+options

      VERBOSITÀ

      È possibile aggiungere alcune v prima o dopo la r per modificare il livello di dettaglio (verbosità) della visualizzazione a video (più v si aggiungono, maggiore sarà il dettaglio):

      [PBX-shell ~]# asterisk -vvvvvvr

      Ad ogni esecuzione della CLI, viene visualizzato il prededente e l'attuale livello di verbosità.

      Facciamo alcuni esempi per meglio comprendere le differenze di comportamento della CLI:

      [PBX-shell ~]# asterisk -rvvvvv
      Asterisk CLI

      Asterisk CLI


      In questo esempio, la precedente verbosità era 0 mentre l'attuale è 4, per effetto delle 4 v nel comando.

      La volta successiva che si rientrerà nella CLI, ad esempio con:

      [PBX-shell ~]# asterisk -rvvvvvvvvvvv

      avremo:

      Asterisk CLI

      Asterisk CLI

    19Dic/090

    Asterisk rilasciate: 1.4.28, 1.6.0.20, 1.6.1.12 e 1.6.2.0

    logoasterisk
    Il 18/12 il Team di Sviluppo di asterisk ha rilascito le versioni 1.4.28, 1.6.0.20, 1.6.1.12 e 1.6.2.0 scaricabili da http://downloads.asterisk.org/pub/telephony/asterisk/.

    Questi i post oriniginali: