Cutting beginning of the message

Hello

My asterisk 1.2 is cutting first two seconds of conversation (after connection is established). When i call to remote IVR i start hearing voice in the middle of the first sentense.
How can i prevent it ?

Thanx
Michal

This might help.
exten => xxxxxxx,1,Answer()
exten => xxxxxxx,2,Wait(2)

it did not helped :frowning:
The only difference is that now i do not hear ring tone when waiting.

What options are you using in your dial string?

Mat

i use:

exten => _X.,1,Macro(dial,${EXTEN},SIP/trunk_my1,r,${TIMEOUT})

[macro-dial]
exten => s,1,Set(CALLTO=${ARG1})
exten => s,2,Set(PROTO=${ARG2})
exten => s,3,Set(OPT=${ARG3})
exten => s,4,Set(TIMEOUT=${ARG4})
exten => s,5,Dial(${PROTO}/${CALLTO},${TIMEOUT},${OPT})
;nobody available
exten => s,6,Playback(custom/x1)
exten => s,7,Hangup()
;busy
exten => s,106,Playback(custom/x2)
exten => s,107,Hangup()

So - only r option.

Thanx

Take out the “r”, that will fix your problem.

Mat