Missing the first part of a call

I make a call from a sip/iax phone, and dial out onto the pstn.

When connecting to certain destinations (especially cell phone voicemail), I
will miss the first 5 seconds of the audio stream… anyone know how to fix this?

This “missing” call information is usually caused by the jitterbuffer in your IAX.Conf/SIP.Conf files as Asterisk learns how to handle any jitter your lines may produce.

Try reducing the jitterbuffer or turning it off in your SIP.CONF and IAX.CONF files:

jitterbuffer=no

Chris. C.

I used my cell phone to analyze the difference between the delay before speech is delivered on certain calls. If I call my cell and answer it then speech goes through immediately. If I let it go through to voicemail then the first few seconds of the greetings message is lost. Turning on PRI Q931 debug and looking at the messages we get different central office response to the two calls, the fragments pertinent to the issue are listed at the end of this note. Note when the call is answered without delay we get a Q931 call delivered alert from the CO and so the PBX connects the speech paths and everything is OK. In the second case we only get a “call progressing” notification from the CO and so the pBX does not (yet) complete the speech path. The notification that the call is connected does occur until sometime later and hence the delay. To correct this we would have to modify the code to key off some of these earlier “call progressing” notifications. I will check into this further.

Call Answered Immediately
q931.c:3426 q931_receive: call 32812 on channel 1 enters state 3 (Outgoing call Proceeding)
– Zap/1-1 is proceeding passing it to IAX2/AlbanyIn-23
< Protocol Discriminator: Q.931 (8) len=9
< Call Ref: len= 2 (reference 44/0x2C) (Terminator)
< Message type: PROGRESS (3)
< [1e 02 84 88]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4)
< Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]
– Processing IE 30 (cs0, Progress Indicator)
– Zap/1-1 is making progress passing it to IAX2/AlbanyIn-23
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 44/0x2C) (Terminator)
< Message type: ALERTING (1)
q931.c:3341 q931_receive: call 32812 on channel 1 enters state 4 (Call Delivered)
– Zap/1-1 is ringing
< Protocol Discriminator: Q.931 (8) len=9
< Call Ref: len= 2 (reference 44/0x2C) (Terminator)
< Message type: CONNECT (7)
< [1e 02 84 82]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4)
< Ext: 1 Progress Description: Called equipment is non-ISDN. (2) ]
– Processing IE 30 (cs0, Progress Indicator)
q931.c:3371 q931_receive: call 32812 on channel 1 enters state 10 (Active)

Protocol Discriminator: Q.931 (8) len=5
Call Ref: len= 2 (reference 44/0x2C) (Originator)
Message type: CONNECT ACKNOWLEDGE (15)
– Zap/1-1 answered IAX2/AlbanyIn-23

Call Delayed

q931.c:3426 q931_receive: call 32813 on channel 1 enters state 3 (Outgoing call Proceeding)
– Zap/1-1 is proceeding passing it to IAX2/AlbanyIn-3
< Protocol Discriminator: Q.931 (8) len=9
< Call Ref: len= 2 (reference 45/0x2D) (Terminator)
< Message type: PROGRESS (3)
< [1e 02 84 88]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4)
< Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]
– Processing IE 30 (cs0, Progress Indicator)
– Zap/1-1 is making progress passing it to IAX2/AlbanyIn-3
< Protocol Discriminator: Q.931 (8) len=9
< Call Ref: len= 2 (reference 45/0x2D) (Terminator)
< Message type: CONNECT (7)
< [1e 02 84 82]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4)
< Ext: 1 Progress Description: Called equipment is non-ISDN. (2) ]
– Processing IE 30 (cs0, Progress Indicator)
q931.c:3371 q931_receive: call 32813 on channel 1 enters state 10 (Active)

Protocol Discriminator: Q.931 (8) len=5
Call Ref: len= 2 (reference 45/0x2D) (Originator)
Message type: CONNECT ACKNOWLEDGE (15)
– Zap/1-1 answered IAX2/AlbanyIn-3
< Protocol Discriminator: Q.931 (8) len=9
< Call Ref: len= 2 (reference 45/0x2D) (Terminator)
< Message type: DISCONNECT (69)
< [08 02 84 90]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Public network serving the remote user (4)
< Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
– Processing IE 8 (cs0, Cause)

bump?