Patrick Lidstone (Personal e-mail)
2004-Aug-17 12:44 UTC
[Asterisk-Users] Dialplan problem - incoming calls get MOH, not ringing.
Chaps, I recently added an incoming VOIP account to my asterisk box. When the PSTN number associated with this account is dialled, the call rings once and then asterisk starts playing music on hold, even though all the extensions continue to ring. Variations of answer() and ringing() don't seem to help. I'm sure I'm missing something spectacularly obvious, but the wiki and googling the mailing list haven't shed any light. FWIW, my ISDN-2e based incoming lines work just fine using similar dialplans. Here is the excerpt from extensions.conf: [my-sip-provider] exten => 84411111,1,answer exten => 84411111,2,Ringing exten => 84411111,3,SetCallerId( 30${CALLERIDNUM}) exten => 84411111,4,SetCIDName(SIP 0${CALLERIDNUM}) exten => 84411111,5,Dial(ZAP/2&SIP/2010&SIP/2009&SIP/2011,120,trm) exten => 84411111,6,Voicemail,u1001 exten => 84411111,106,Voicemail,b1001 Any ideas? Thanks Patrick
Seth Remington
2004-Aug-17 13:42 UTC
[Asterisk-Users] Dialplan problem - incoming calls get MOH, not ringing.
On Tue, 2004-08-17 at 15:44, Patrick Lidstone (Personal e-mail) wrote:> Chaps, > I recently added an incoming VOIP account to my asterisk box. When the > PSTN number associated with this account is dialled, the call rings once > and then asterisk starts playing music on hold, even though all the > extensions continue to ring. Variations of answer() and ringing() don't > seem to help. I'm sure I'm missing something spectacularly obvious, but > the wiki and googling the mailing list haven't shed any light. FWIW, my > ISDN-2e based incoming lines work just fine using similar dialplans. > > Here is the excerpt from extensions.conf: > > [my-sip-provider] > exten => 84411111,1,answer > exten => 84411111,2,Ringing > exten => 84411111,3,SetCallerId( 30${CALLERIDNUM}) > exten => 84411111,4,SetCIDName(SIP 0${CALLERIDNUM}) > exten => 84411111,5,Dial(ZAP/2&SIP/2010&SIP/2009&SIP/2011,120,trm) > exten => 84411111,6,Voicemail,u1001 > exten => 84411111,106,Voicemail,b1001You have the 'm' option enabled in your Dial() command. That will play MOH to the calling party until the called channel answers. -Seth -- Seth Remington SaberLogic, LLC 661-B Weber Drive Wadsworth, Ohio 44281 Phone: (330)335-6442 Fax: (330)336-8559