Hello list, I've got a problem (maybe only a problem of understanding how * works) with IAX and WaitExten.
To simplify the problem I've brought it down to the following scenario: - 3 Asterisk Server A,B and C (central). - A and B both register with C. Now I want to be able to dial an extension at A to become connected to C and there I want to dial an extension to become connected to B. I've done the (following) tests all in [EMAIL PROTECTED], so that no other dtmf methods may have impact on the results: > dial [EMAIL PROTECTED] --> connection with Zap/1 at server B can be established > hangup > dial [EMAIL PROTECTED] --> connection with server C established and waitexten waiting for input > dial 161 --> connection with Zap/1 at server B can be established > hangup So far so good, but: > dial [EMAIL PROTECTED] --> connection with server B established and waitexten waiting for input > dial 301 --> nothing happens (either on server b nor c or even a) --> timeout! Does asterisk at server C "eat" the extensions I dial, although they ought be send to B?? Thanks in advance for any help or hint towards a solution, Christian Here are the config details: [EMAIL PROTECTED]: ====================================================================== [general] bindport=4569 bindaddr=0.0.0.0 bandwidth=low allow=all disallow=g723.1 disallow=lpc10 allow=gsm jitterbuffer=no forcejitterbuffer=no register => c1:[EMAIL PROTECTED] [m] type=user auth=md5 secret=xxx context=iax2-in [m] type=peer host=m.domain username=c1 auth=md5 secret=xxx ====================================================================== [EMAIL PROTECTED]: ====================================================================== [general] bindport=4569 bindaddr=0.0.0.0 bandwidth=low allow=all disallow=g723.1 disallow=lpc10 allow=gsm jitterbuffer=no forcejitterbuffer=no register => c2:[EMAIL PROTECTED] autokill=yes [m] type=user auth=md5 secret=xxx context=iax2-in [m] type=peer host=m.domain username=c2 auth=md5 secret=xxx ====================================================================== [EMAIL PROTECTED]: ====================================================================== [general] bindport=4569 bindaddr=0.0.0.0 bandwidth=low allow=all disallow=g723.1 disallow=lpc10 allow=gsm jitterbuffer=no forcejitterbuffer=no autokill=yes tos=lowdelay [c] type=user auth=md5 secret=xxx context=iax2-in [c] type=peer host=dynamic username=m auth=md5 secret=xxx [c2] type=user auth=md5 secret=xxx context=iax2-in [c2] type=peer host=dynamic username=m auth=md5 secret=xxx ====================================================================== [EMAIL PROTECTED]: ====================================================================== [default] exten => 16,1,Dial(IAX2/m/16) exten => 161,1,Dial(IAX2/m/161) exten => 17,1,Dial(IAX2/m/17) ===================================================================== [EMAIL PROTECTED]: ====================================================================== [iax2-in] exten => s,1,Playtones(internal) exten => s,n,Set(TIMEOUT(digit)=${DIGIT_WAIT}) exten => s,n,WaitExten(${EXTEN_WAIT}) exten => 301,1,Dial(Zap/1) exten => 302,1,Dial(Zap/2) ===================================================================== [EMAIL PROTECTED]: ====================================================================== [iax2-in] exten => 15,1,Dial(IAX2/c) exten => 16,1,Dial(IAX2/c2) exten => 161,1,Dial(IAX2/c2/301) exten => 162,1,Dial(IAX2/c2/302) exten => 17,1,WaitExten(15) ====================================================================== _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users