|Summary:||ASTERISK-11314: The ring option in queue doesn't work if no audio has been played previously on the channel|
|Reporter:||Daryll Strauss (daryll)||Labels:|
|Date Opened:||2008-01-27 22:11:43.000-0600||Date Closed:||2011-06-07 14:03:00|
|Environment:||Attachments:||( 0) configs.tar.gz|
|Description:||My dial plan answers the phone and immediately drops the call in to a queue with the flags tr.|
The caller doesn't hear any ring tone as they should.
If I add
prior to the queue call, then the ring signal is sent.
|Comments:||By: Dmitry Andrianov (dimas) 2008-01-28 06:26:40.000-0600|
What channel technology your caller uses? Zap or SIP ?
By: Daryll Strauss (daryll) 2008-01-28 09:52:29.000-0600
That was using SIP.
By: Mark Michelson (mmichelson) 2008-01-28 14:35:10.000-0600
I am unable to reproduce this locally. In all configurations I tried, the 'r' option successfully produced ringing for the caller. I also was using SIP phones.
There is most likely a setting in either queues.conf or sip.conf which is causing this to happen. If we can isolate which setting it is, then perhaps we can determine what a fix is. Could you please upload your queues.conf and sip.conf so I can attempt reproducing with the same configuration as you? Thanks.
By: Mark Michelson (mmichelson) 2008-01-29 14:27:06.000-0600
I also realize that perhaps your dialplan prior to the call to Queue() could make a difference in this, so when you upload the other files, could you upload the portion of the dialplan that is followed prior to the call to Queue()? Thanks.
By: Daryll Strauss (daryll) 2008-01-29 14:58:17.000-0600
I've attached the whitewashed versions of the configs you requested. The phone number and secrets have been blanked.
Please don't laugh too much at my extensions.conf. It grew rather organically. :)
By: Daryll Strauss (daryll) 2008-01-31 13:23:11.000-0600
Since there's a bunch of stuff in that dial plan, I realized I should probably explain.
If you look at the from-sipphone-bunny context you'll see that it does an Answer, some caller-id mucking, sets the ring style, plays silence, and then drops to the queue. If I remove the silence, the caller gets no ring indication.
The same thing happens with the from-broadvoice context if the person is in the friends database. Those callers don't have to use the voice menu, it just rings though.
The queue has two phones permanently in it. The goal was just to ring both those phones at the same time.
By: Mark Michelson (mmichelson) 2008-02-04 12:31:51.000-0600
I'm having difficulty seeing how/where a queue gets called when a call comes into the [from-sipphone-bunny] context. I see all the other things you mentioned, but after adding the SIP header, it appears that you dial a SIP device and then call voicemail. Can you detail how the caller ends up in the queue? Thanks.
By: Daryll Strauss (daryll) 2008-02-04 15:44:33.000-0600
Sorry you're right. I forgot we changed the bunny channel. That's for my wife's rabbit rescue operation, and I decided it didn't need to ring in the office so I took it out of the queue. That dial plan only drops in to the queue in the from-broadvoice context when the caller-id matches the "friends" database entry.
By: Mark Michelson (mmichelson) 2008-02-06 12:49:53.000-0600
I made a setup very similar to the one you have and still heard ringing when I called the queue. I think at this point, what would be helpful is to see sip debug output from a failed attempt and a successful attempt to see what's different.
By: Norman Franke (norman) 2008-02-08 19:29:22.000-0600
Perhaps this is related to ASTERISK-11030, which also doesn't generate a ring when transferring an incoming call before it is answered.
By: Mark Michelson (mmichelson) 2008-02-13 14:18:28.000-0600
daryll: Any chance of seeing sip debugs from successful and unsuccessful ring attempts?
norman: While I can't say for certain, I would be willing to wager that this is not related to the issue you brought up.
By: Daryll Strauss (daryll) 2008-02-13 14:28:08.000-0600
I've gotten sort of swamped and haven't had a chance. I'll get it to you soon!
By: Mark Michelson (mmichelson) 2008-03-07 16:49:10.000-0600
By: Grzegorz Garlewicz (garlew) 2008-03-09 05:20:14
I've just had a similar behavoiur with queue music on hold. The issue was only present when calling a queue from phone registered with external asterisk server. Calling a queue from the same server worked perfectly.
Also after periodic announcement moh was magically starting.
After having loaded ztdummy the problem was gone.
By: Tilghman Lesher (tilghman) 2008-05-05 15:19:42
If loading ztdummy fixes it, then I think we have our answer.