|Summary:||ASTERISK-02186: No ringing when I dial|
|Date Opened:||2004-08-03 17:53:58||Date Closed:||2011-06-07 14:10:48|
|Environment:||Attachments:||( 0) app_dial.c.diff|
|Description:||I have a problem with the ringing and I found that a problem is into application dial. |
If a called, without answer, send one frame voice, the app_dial transfer a voice packet to caller (app_dial.c line 353 of last CVS version). When the called send the AST_CONTROL_RINGING, the caller must listen ringing sound (line 330), but it is immediately stopped by the next frame voice sended to called. In this way, it is not possible to listen ringing. The ringing is blocked by the frame voice sended from called to caller.
I have remove from app_dial.c the AST_FRAME_VOICE block (line between 353 to 361) and after this modify i have listen the ringing of called. Diff attached.
But this is not a patch, it is a wrong erase the lines code from app_dial.c
****** ADDITIONAL INFORMATION ******
The asterisk is updated with the last version of CVS.
With the cvs version of app_dial.c, the bugs is present only if the called send voice frame also with channel down (without answer). If a called don't send voice frame, i listen the ringing. I reproduce the bugs into lab.
|Comments:||By: Mark Spencer (markster) 2004-08-03 19:47:06|
What interface are you calling?
By: cybershield (cybershield) 2004-08-04 01:40:31
I found the problem with this configuration (but the problem can reproduce with anothers situation): create call with one fxs port. The call is sended to another asterisk box with IAX2 eth protocol. The second asterisk box is attached in E1 EUROISDN with one Cisco 2600 for terminate the call.
The cisco box, even if the channel still is not opened, send to second asterisk box a voice into B channel. When the signaling of the ring must be forwarded, the Cisco sendes it alone on the D channel and no also in B channel. I receive to FXS the signaling ring, but is endured stopped to next voice frame sended by cisco box. This destroys the signaling.
I don't like option 'r' of application Dial, i want ringing the call when the phone to called ring.
I use for test, the last standard devel CVS version.
By: Mark Spencer (markster) 2004-08-04 13:23:59
I believe this is a "known issue" with the Cisco in which it sends us in-band audio but does not actually send us the ringback in-band. If you take the Cisco out of the picture does it happen?
By: cybershield (cybershield) 2004-08-04 15:24:50
If in the system, i used only asterisk, not are problems on the signalling. But i necessity attached asterisk with a public carrier. In italy many public carrier use Cisco System for supply service. Colt-Telecom, Fastweb, ect. in Italy use Cisco. I don't like Cisco, but request their use.
The my patch today for resolv the problem is added one option to application dial that disable the frame voice into wait function. It's not good solution, i trying something more powerful solution.
By: connor (connor) 2004-08-04 21:52:28
Add progress_ind setup enable 1 or progress_ind setup enable 3 to your voip Dial peer and you'll get ringing if your using a Cisco gateway.
By: Olle Johansson (oej) 2004-08-14 16:35:26
Cybershield: Did Connor's advice solve the problem? Is this bug report ready to be closed?
By: cybershield (cybershield) 2004-08-17 07:39:30
Sorry, but i returned today from the holiday.
By: twisted (twisted) 2004-08-20 00:18:51
So, any update since you're back from your holiday? Hope you had a good time ;)
By: Brian West (bkw918) 2004-08-22 22:56:52
By: Mark Spencer (markster) 2004-08-30 09:49:09
User seems to have lost interest.
By: cybershield (cybershield) 2004-09-15 13:33:50
Sorry for my behavior, unfortunately they have been absent from the job for personal reasons. I am returned this week to the job.
I have tried the aid of connor, but continuous not listening the ring.
I have tried to update the IOS of the Cisco but to having the same problems.
Is it possible to add an option on the dial for disable the inband audio ?
Thanks and sorry for my silence
By: Mark Spencer (markster) 2004-09-15 13:38:15
No, I think it's totally unreasonable to say that we should *allow* the ring to come back and not cut through the in-band audio when it's presented to us, especially since the sole purpose of this is to work around a bug in the Cisco. You can find me on IRC if you think I'm wrong and you can try to convince me there.