How to have a music in the same time of ringing during a call?


#1

Hello @everyone,

How can I use the background application with the Dial() like the pre-answer we can heard when we call someone on his mobile phone we have a tone music and the ringing. Any idea ? How to do that ?

I try this one but only the Background is launch, not the Dial() at the same time.

[from-external] ;========================================================================== Incoming Calls

exten => ${TEST_IN},1,NoOp(## Incoming Call from ${CALLERID(all)} ##)
 same => n,Verbose(Call start time: ${CDR(start)})
 same => n,Set(CDR(calldate)=${CDR(start)})
 same => n,Set(CDR(useragent)=${CALLERID(name)})
 same => n,Set(POSTE_EXT=${CALLERID(num)})
 same => n,Ringing()
 same => n,System(echo "--appel_sortant --- callerid : ${CALLERID(num)} ---- ${STRFTIME(${EPOCH},,%Y/%m/%d %H:%M:%S)} ----" >> /var/spool/asterisk/log/debug.txt)
 same => n,Set(REC_FILE_NAME=IN_${NOW}_${EXTEN}_${POSTE_EXT}.wav)
 same => n,Set(RETURNED_VALUE=${ODBC_LASTCALL(${CALLERID(num)})})
 same => n,MixMonitor(${REC_FILE_NAME},b V(1))
 same => n,ChanIsAvail(PJSIP/115&PJSIP/116,sa)
 same => n,Set(PHONESTATUS=${AVAILSTATUS})
 same => n,Set(PHONEAVAIL=${AVAILORIGCHAN})
 same => n,NoOp(## Status of device is ${PHONESTATUS} ##)
 same => n,GotoIf($["${PHONESTATUS}"="3&3"]?busy:call)
 same => n(busy),Background(ivr/WAITING_AUDIO,m)
 same => n,Playback(ivr/REPONDEUR_2)
 same => n,VoiceMail(${VM_TEST},s)
 same => n,Goto(end)
 same => n(call),Background(ivr/WAITING_AUDIO,m)
 same => n,Dial(${PHONEAVAIL},30)
 same => n,Playback(ivr/REPONDEUR_2)
 same => n,VoiceMail(${PHONEAVAIL}@default,s)
 same => n,Goto(end)
 same => n(end),Hangup()

#2

I don’t understand the requirement. Background places audio that is to be played until a DTMF digit is received. It has no obvious use immediately prior to Dial, unless the sound played is long enough for the DTMF to be entered, there is only one digit, and the Dial is a fall back if no digit is entered.


#3

On your GSM you can have a call and the person who calls you heard a music tone with the tonality. I want to have the same proccess with the asterisk dialplan when I receive a call or I call the 115&116 extension.
I thought when I used the Background() application, this one will play a tone music and the tonality will be heard in the music tone. The only thing I have, is a music tone who is play and the ip phone not ringing.


#4

“tonality” is not the right word.

I think you want the m option on Dial.


#5

Yes like the m option in the application Dial() who provide Music on Hold to the calling party until the called channel answers. But how can I edit the default Music on Hold ? Can I have multi-type of Music on Hold for each type of extension or group of extension ?


#6

You can either Set CHANNEL(musicclass) to the music on hold definition you wish to use you before you dial,

Or you can specify the music class to use in the dial string itself as an argument to the ‘m’ flag

https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Dial


#7

I change the syntax

[from-external]  ;========================================================================== Incoming Calls
exten => ${TEST_IN},1,NoOp(## Incoming Call from ${CALLERID(all)} ##)
 same => n,Verbose(Call start time: ${CDR(start)})
 same => n,Set(CDR(calldate)=${CDR(start)})
 same => n,Set(CDR(useragent)=${CALLERID(name)})
 same => n,Set(POSTE_EXT=${CALLERID(num)})
 same => n,Ringing()
 same => n,System(echo "--appel_sortant --- callerid : ${CALLERID(num)} ---- ${STRFTIME(${EPOCH},,%Y/%m/%d %H:%M:%S)} ----" >> /var/spool/asterisk/log/debug.txt)
 same => n,Set(REC_FILE_NAME=IN_${NOW}_${EXTEN}_${POSTE_EXT}.wav)
 same => n,Set(RETURNED_VALUE=${ODBC_LASTCALL(${CALLERID(num)})})
 same => n,MixMonitor(${REC_FILE_NAME},b V(1))
 same => n,ChanIsAvail(PJSIP/115&PJSIP/116,sa)
 same => n,Set(PHONESTATUS=${AVAILSTATUS})
 same => n,Set(PHONEAVAIL=${AVAILORIGCHAN})
 same => n,NoOp(## Status of device is ${PHONESTATUS} ##)
 same => n,GotoIf($["${PHONESTATUS}"="3&3"]?busy:call)
 same => n(busy),Dial(${PHONEAVAIL},120,m(waiting-audio))
 same => n,Playback(ivr/REPONDEUR_2_OCCUPE_PLATEAU_VENTE_LOOPING)
 same => n,VoiceMail(${VM_TEST},s)
 same => n,Goto(end)
 same => n(call),Dial(${PHONEAVAIL},120,m(waiting-audio))
 same => n,Playback(ivr/REPONDEUR_2_OCCUPE_PLATEAU_VENTE_LOOPING)
 same => n,VoiceMail(${PHONEAVAIL}@default,s)
 same => n,Goto(end)
 same => n(end),Hangup()

I add this class in the musiconhold.file

[waiting-audio]
mode=files
directory=/var/lib/asterisk/sounds/ivr/WAITING_AUDIO

But I have this error message:

-- Executing [042770677@from-external:8] Set("PJSIP/belgium-voip-00000d66", "REC_FILE_NAME=IN__042770677_028992018.wav") in new stack
    -- Executing [042770677@from-external:9] Set("PJSIP/belgium-voip-00000d66", "RETURNED_VALUE=bel") in new stack
    -- Executing [042770677@from-external:10] MixMonitor("PJSIP/belgium-voip-00000d66", "IN__042770677_028992018.wav,b V(1)") in new stack
    -- Executing [042770677@from-external:11] ChanIsAvail("PJSIP/belgium-voip-00000d66", "PJSIP/115&PJSIP/116,sa") in new stack
    -- Executing [042770677@from-external:12] Set("PJSIP/belgium-voip-00000d66", "PHONESTATUS=1&1") in new stack
    -- Executing [042770677@from-external:13] Set("PJSIP/belgium-voip-00000d66", "PHONEAVAIL=PJSIP/115&PJSIP/116") in new stack
    -- Executing [042770677@from-external:14] NoOp("PJSIP/belgium-voip-00000d66", "## Status of device is 1&1 ##") in new stack
    -- Executing [042770677@from-external:15] GotoIf("PJSIP/belgium-voip-00000d66", "0?busy:call") in new stack
    -- Goto (from-external,042770677,20)
    -- Executing [042770677@from-external:20] Dial("PJSIP/belgium-voip-00000d66", "PJSIP/115&PJSIP/116,120,m(waiting-audio)") in new stack
    -- Called PJSIP/115
    -- Called PJSIP/116
[Oct 11 18:04:52] WARNING[30178][C-00000758]: res_musiconhold.c:918 _get_mohbyname: Music on Hold class 'waiting-audio' not found in memory. Verify your configuration.
[Oct 11 18:04:52] WARNING[30178][C-00000758]: res_musiconhold.c:918 _get_mohbyname: Music on Hold class 'waiting-audio' not found in memory. Verify your configuration.

#8

Did you reload music on hold since you made the new definition?


#9

Yes, I just do it right now again. I try the two command:
moh reload and reload res_musiconhold.so

localhost*CLI> moh reload
    -- Reloading module 'res_musiconhold.so' (Music On Hold Resource)
localhost*CLI> reload res_musiconhold.so
Module 'res_musiconhold.so' reloaded successfully.
    -- Reloading module 'res_musiconhold.so' (Music On Hold Resource)
localhost*CLI>

I do not see my class [waiting-audio]

CLI

localhost*CLI> moh show files
Class: default
        File: /var/lib/asterisk/moh/macroform-cold_day
        File: /var/lib/asterisk/moh/macroform-robot_dity
        File: /var/lib/asterisk/moh/macroform-the_simplicity
        File: /var/lib/asterisk/moh/manolo_camp-morning_coffee
        File: /var/lib/asterisk/moh/reno_project-system
localhost*CLI> moh show classes
Class: default
        Mode: files
        Directory: moh
localhost*CLI>

#10

Odd. If you can try a full asterisk restart.

I’m on mobile at Astricon so I’m afraid I can’t do any deep dives today.


#11

@johnkiniston, I already try it too but I have always the same error. But I continu my research on it.
Alright. Have a nice day at Astricon.


#12

Hi @everyone,

Despite all my efforts, I do not find the way to resolve this issue. How can I tell to asterisk to recognaze the classes I add in music on hold file.

[waiting-audio]
mode=files
directory=/var/lib/asterisk/sounds/ivr/WAITING_AUDIO

#13

You are going to need to provide adequately detailed logs so that we can see what is going wrong.

Also, you need to provide the complete contents of your music on hold configuration file.


#14

This is the content of my musiconhold.conf

;
; Music on Hold -- Sample Configuration
;
[general]
;cachertclasses=yes ; use 1 instance of moh class for all users who are using it,
                    ; decrease consumable cpu cycles and memory
                    ; disabled by default


; valid mode options:
; files		-- read files from a directory in any Asterisk supported
;		   media format
; quietmp3 	-- default
; mp3 		-- loud
; mp3nb		-- unbuffered
; quietmp3nb	-- quiet unbuffered
; custom	-- run a custom application (See examples below)

; =========
; File-based (native) music on hold
; =========
;
; This plays files directly from the specified directory, no external
; processes are required. Files are played in normal sorting order
; (same as a sorted directory listing), and no volume or other
; sound adjustments are available. If the file is available in
; the same format as the channel's codec, then it will be played
; without transcoding (same as Playback would do in the dialplan).
; Files can be present in as many formats as you wish, and the
; 'best' format will be chosen at playback time.
;
; The path specified can be either an absolute path (starts with '/'),
; or a relative path; relative paths are interpreted as being relative
; to the 'astdatalibdir' in asterisk.conf, which defaults to
; /var/lib/asterisk.
;
; NOTE:
; If you are not using "autoload" in modules.conf, then you
; must ensure that the format modules for any formats you wish
; to use are loaded _before_ res_musiconhold. If you do not do
; this, res_musiconhold will skip the files it is not able to
; understand when it loads.
;

[default]
mode=files
directory=moh

[waiting-audio]
mode=files
directory=/var/lib/asterisk/sounds/ivr/WAITING_AUDIO


This my dialplan on the incoming call on the extension 115 and 116


[from-external]  ;========================================================================== Incoming Calls
exten => ${TEST_IN},1,NoOp(## Incoming Call from ${CALLERID(all)} ##)
 same => n,Verbose(Call start time: ${CDR(start)})
 same => n,Set(CDR(calldate)=${CDR(start)})
 same => n,Set(CDR(useragent)=${CALLERID(name)})
 same => n,Set(POSTE_EXT=${CALLERID(num)})
 same => n,Ringing()
 same => n,System(echo "--appel_sortant --- callerid : ${CALLERID(num)} ---- ${STRFTIME(${EPOCH},,%Y/%m/%d %H:%M:%S)} ----" >> /var/spool/asterisk/log/debug.txt)
 same => n,Set(REC_FILE_NAME=IN_${NOW}_${EXTEN}_${POSTE_EXT}.wav)
 same => n,Set(RETURNED_VALUE=${ODBC_LASTCALL(${CALLERID(num)})})
 same => n,MixMonitor(${REC_FILE_NAME},b V(1))
 same => n,ChanIsAvail(PJSIP/115&PJSIP/116,sa)
 same => n,Set(PHONESTATUS=${AVAILSTATUS})
 same => n,Set(PHONEAVAIL=${AVAILORIGCHAN})
 same => n,NoOp(## Status of device is ${PHONESTATUS} ##)
 same => n,GotoIf($["${PHONESTATUS}"="3&3"]?busy:call)
 same => n(busy),Dial(${PHONEAVAIL},120,m(waiting-audio)r)
 same => n,Playback(ivr/REPONDEUR_2_OCCUPE_PLATEAU_VENTE_LOOPING)
 same => n,VoiceMail(${VM_TEST},s)
 same => n,Goto(end)
 same => n(call),Dial(${PHONEAVAIL},120,m(waiting-audio)r)
 same => n,Playback(ivr/REPONDEUR_2_OCCUPE_PLATEAU_VENTE_LOOPING)
 same => n,VoiceMail(${PHONEAVAIL}@default,s)
 same => n,Goto(end)
 same => n(end),Hangup()

This is what I have in CLI when I call to the DID of this two extension :

  == Setting global variable 'SIPDOMAIN' to 'ip address'
    -- Executing [042770677@from-external:1] NoOp("PJSIP/belgium-voip-00000140", "## Incoming Call from "Arnold" <028992018> ##") in new stack
    -- Executing [042770677@from-external:2] Verbose("PJSIP/belgium-voip-00000140", "Call start time: 2018-10-12 11:52:29") in new stack
Call start time: 2018-10-12 11:52:29
    -- Executing [042770677@from-external:3] Set("PJSIP/belgium-voip-00000140", "CDR(calldate)=2018-10-12 11:52:29") in new stack
    -- Executing [042770677@from-external:4] Set("PJSIP/belgium-voip-00000140", "CDR(useragent)=Arnold") in new stack
    -- Executing [042770677@from-external:5] Set("PJSIP/belgium-voip-00000140", "POSTE_EXT=028992018") in new stack
    -- Executing [042770677@from-external:6] Ringing("PJSIP/belgium-voip-00000140", "") in new stack
    -- Executing [042770677@from-external:7] System("PJSIP/belgium-voip-00000140", "echo "--appel_sortant --- callerid : 028992018 ---- 2018/10/12 11:52:29 ----" >> /var/spool/asterisk/log/debug.txt") in new stack
    -- PJSIP/belgium-voip-0000013f is ringing
    -- PJSIP/belgium-voip-0000013f is ringing
    -- Executing [042770677@from-external:8] Set("PJSIP/belgium-voip-00000140", "REC_FILE_NAME=IN__042770677_028992018.wav") in new stack
    -- Executing [042770677@from-external:9] Set("PJSIP/belgium-voip-00000140", "RETURNED_VALUE=bel") in new stack
    -- Executing [042770677@from-external:10] MixMonitor("PJSIP/belgium-voip-00000140", "IN__042770677_028992018.wav,b V(1)") in new stack
    -- Executing [042770677@from-external:11] ChanIsAvail("PJSIP/belgium-voip-00000140", "PJSIP/115&PJSIP/116,sa") in new stack
    -- Executing [042770677@from-external:12] Set("PJSIP/belgium-voip-00000140", "PHONESTATUS=1&1") in new stack
    -- Executing [042770677@from-external:13] Set("PJSIP/belgium-voip-00000140", "PHONEAVAIL=PJSIP/115&PJSIP/116") in new stack
    -- Executing [042770677@from-external:14] NoOp("PJSIP/belgium-voip-00000140", "## Status of device is 1&1 ##") in new stack
    -- Executing [042770677@from-external:15] GotoIf("PJSIP/belgium-voip-00000140", "0?busy:call") in new stack
    -- Goto (from-external,042770677,20)
    -- Executing [042770677@from-external:20] Dial("PJSIP/belgium-voip-00000140", "PJSIP/115&PJSIP/116,120,m(waiting-audio)r") in new stack
    -- Called PJSIP/115
    -- Called PJSIP/116
[Oct 12 11:52:29] WARNING[2016][C-000000a0]: res_musiconhold.c:918 _get_mohbyname: Music on Hold class 'waiting-audio' not found in memory. Verify your configuration.
[Oct 12 11:52:29] WARNING[2016][C-000000a0]: res_musiconhold.c:918 _get_mohbyname: Music on Hold class 'waiting-audio' not found in memory. Verify your configuration.
    -- Started music on hold, class 'default', on channel 'PJSIP/belgium-voip-00000140'
[Oct 12 11:52:29] WARNING[2016][C-000000a0]: translate.c:407 framein: no samples for ulawtolin
    -- PJSIP/116-00000144 connected line has changed. Saving it until answer for PJSIP/belgium-voip-00000140
    -- PJSIP/115-00000143 connected line has changed. Saving it until answer for PJSIP/belgium-voip-00000140
  == Begin MixMonitor Recording PJSIP/belgium-voip-00000140
    -- PJSIP/115-00000143 is ringing
    -- PJSIP/115-00000143 is ringing
    -- PJSIP/116-00000144 is ringing
    -- PJSIP/116-00000144 is ringing
  == Spawn extension (from-internal, 042770677, 26) exited non-zero on 'PJSIP/100-0000013e'
  == MixMonitor close filestream (mixed)
  == End MixMonitor Recording PJSIP/100-0000013e
[Oct 12 11:52:34] ERROR[543]: cdr_odbc.c:176 odbc_log: Unable to retrieve database handle.  CDR failed.
    -- Stopped music on hold on PJSIP/belgium-voip-00000140
  == Spawn extension (from-external, 042770677, 20) exited non-zero on 'PJSIP/belgium-voip-00000140'
  == MixMonitor close filestream (mixed)
  == End MixMonitor Recording PJSIP/belgium-voip-00000140
[Oct 12 11:52:34] ERROR[543]: cdr_odbc.c:176 odbc_log: Unable to retrieve database handle.  CDR failed.
[Oct 12 11:52:34] ERROR[543]: cdr_odbc.c:176 odbc_log: Unable to retrieve database handle.  CDR failed.
    -- Channel PJSIP/belgium-voip-0000013d left 'simple_bridge' basic-bridge <9f2d9bd1-82d2-480f-b0a1-3a6329b6ae5e>
    -- Channel PJSIP/101-0000013c left 'simple_bridge' basic-bridge <9f2d9bd1-82d2-480f-b0a1-3a6329b6ae5e>
  == Spawn extension (from-internal, 0476283547, 26) exited non-zero on 'PJSIP/101-0000013c'
  == MixMonitor close filestream (mixed)
  == End MixMonitor Recording PJSIP/101-0000013c
[Oct 12 11:52:35] ERROR[543]: cdr_odbc.c:176 odbc_log: Unable to retrieve database handle.  CDR failed.

#15

Have you checked that the path to the directory exists, and Asterisk has permission to use it.

Are there suitable files in that directory (it is a directory, not the actual sound file I hope)?

What error does Asterisk report when parsing the configuration file? (It is reporting that the class doesn’t exist when you actually try to use it.

I do vaguely remember seeing something saying that absolute path names are no longer accepted, but I might be wrong.


#16
[root@localhost asterisk-13.23.1]# ls -la /var/lib/asterisk/sounds/ivr/
-rw-r--r-- 1     root         root         877157     10 oct   19:32     WAITING_AUDIO.alaw
-rw-r--r-- 1     root         root         180939     10 oct   19:33     WAITING_AUDIO.gsm
-rw-r--r-- 1     root         root         877157     10 oct   19:32     WAITING_AUDIO.ulaw
-rw-rw-r-- 1     asterisk     asterisk     877292      9 oct   10:45     WAITING_AUDIO.wav
[root@localhost asterisk-13.23.1]#
type or paste code here

#17

Directories need execute permission. WAITING_AUDIO must be a directory, not a file.


#18

@david551 and in this directory, I can put my audio files waiting_audio ? Or other files ?


#19

It’s used in exactly the same way as the default musiconhold directory.


#20

I create the directory:
/var/lib/asterisk/waiting-audio/

As you can see in the list of content of waiting-audio/ directory

`localhost*CLI> exit
Asterisk cleanly ending (0).
Executing last minute cleanups
[root@localhost asterisk-13.23.1]# ls -la /var/lib/asterisk/waiting-audio/
total 2760
drwxr-xr-x  2 asterisk asterisk    104 12 oct 13:19 .
drwxr-xr-x 15 asterisk asterisk    223 12 oct 13:27 ..
-rw-r--r--  1 root     root     877157 10 oct 19:32 waiting-audio.alaw
-rw-r--r--  1 root     root     180939 10 oct 19:33 waiting-audio.gsm
-rw-r--r--  1 root     root     877157 10 oct 19:32 waiting-audio.ulaw
-rw-rw-r--  1 asterisk asterisk 877292  9 oct 10:45 waiting-audio.wav
[root@localhost asterisk-13.23.1]#`
 -- Executing [042770677@from-external:8] Set("PJSIP/belgium-voip-000002bb", "REC_FILE_NAME=IN__042770677_028992018.wav") in new stack
    -- Executing [042770677@from-external:9] Set("PJSIP/belgium-voip-000002bb", "RETURNED_VALUE=bel") in new stack
    -- Executing [042770677@from-external:10] MixMonitor("PJSIP/belgium-voip-000002bb", "IN__042770677_028992018.wav,b V(1)") in new stack
    -- Executing [042770677@from-external:11] ChanIsAvail("PJSIP/belgium-voip-000002bb", "PJSIP/115&PJSIP/116,sa") in new stack
    -- Executing [042770677@from-external:12] Set("PJSIP/belgium-voip-000002bb", "PHONESTATUS=1&1") in new stack
    -- Executing [042770677@from-external:13] Set("PJSIP/belgium-voip-000002bb", "PHONEAVAIL=PJSIP/115&PJSIP/116") in new stack
    -- Executing [042770677@from-external:14] NoOp("PJSIP/belgium-voip-000002bb", "## Status of device is 1&1 ##") in new stack
    -- Executing [042770677@from-external:15] GotoIf("PJSIP/belgium-voip-000002bb", "0?busy:call") in new stack
    -- Goto (from-external,042770677,21)
    -- Executing [042770677@from-external:21] NoOp("PJSIP/belgium-voip-000002bb", "Dial status : ") in new stack
    -- Executing [042770677@from-external:22] Dial("PJSIP/belgium-voip-000002bb", "PJSIP/115&PJSIP/116,110,m(waiting-audio)") in new stack
    -- Called PJSIP/115
    -- Called PJSIP/116
    -- Started music on hold, class 'waiting-audio', on channel 'PJSIP/belgium-voip-000002bb'
[Oct 12 13:22:24] WARNING[3419][C-0000015e]: translate.c:407 framein: no samples for ulawtolin
    -- PJSIP/116-000002bf connected line has changed. Saving it until answer for PJSIP/belgium-voip-000002bb
    -- PJSIP/115-000002be connected line has changed. Saving it until answer for PJSIP/belgium-voip-000002bb
  == Begin MixMonitor Recording PJSIP/belgium-voip-000002bb
    -- PJSIP/115-000002be is ringing
    -- PJSIP/115-000002be is ringing
    -- PJSIP/116-000002bf is ringing
    -- PJSIP/116-000002bf is ringing
  == Spawn extension (from-internal, 042770677, 26) exited non-zero on 'PJSIP/100-000002b9'
  == MixMonitor close filestream (mixed)
  == End MixMonitor Recording PJSIP/100-000002b9
    -- Stopped music on hold on PJSIP/belgium-voip-000002bb
  == Spawn extension (from-external, 042770677, 22) exited non-zero on 'PJSIP/belgium-voip-000002bb'
  == MixMonitor close filestream (mixed)
  == End MixMonitor Recording PJSIP/belgium-voip-000002bb
[Oct 12 13:22:27] ERROR[543]: cdr_odbc.c:176 odbc_log: Unable to retrieve database handle.  CDR failed.
[Oct 12 13:22:27] ERROR[543]: cdr_odbc.c:176 odbc_log: Unable to retrieve database handle.  CDR failed.
[Oct 12 13:22:27] ERROR[543]: cdr_odbc.c:176 odbc_log: Unable to retrieve database handle.  CDR failed.
    -- PJSIP/belgium-voip-000002b8 answered PJSIP/106-000002b7
    -- Channel PJSIP/belgium-voip-000002b8 joined 'simple_bridge' basic-bridge <1e2492ec-1d79-47a0-a183-680df1ca1f7a>
    -- Channel PJSIP/106-000002b7 joined 'simple_bridge' basic-bridge <1e2492ec-1d79-47a0-a183-680df1ca1f7a>
    -- Channel PJSIP/106-000002b7 left 'simple_bridge' basic-bridge <1e2492ec-1d79-47a0-a183-680df1ca1f7a>
  == Spawn extension (from-internal, 0477946223, 26) exited non-zero on 'PJSIP/106-000002b7'
    -- Channel PJSIP/belgium-voip-000002b8 left 'simple_bridge' basic-bridge <1e2492ec-1d79-47a0-a183-680df1ca1f7a>
  == MixMonitor close filestream (mixed)
  == End MixMonitor Recording PJSIP/106-000002b7
[Oct 12 13:22:36] ERROR[543]: cdr_odbc.c:176 odbc_log: Unable to retrieve database handle.  CDR failed.

But I have this message in the proccess above:

    -- Started music on hold, class 'waiting-audio', on channel 'PJSIP/belgium-voip-000002e6'
[Oct 12 13:32:07] WARNING[3559][C-00000173]: translate.c:407 framein: no samples for ulawtolin
    --