And if that ain't confusing I don't know what would be. I bought a TDM400 with two modules (FXO, FXS) a couple or so years ago and ended up never using it. Passed it along to a friend who is having some problems with it. (He isn't on this list.) We've both tried searches using Google but haven't been able to find anything that helps. So this is more a question of what-the-heck-should-we-be-searching-for. :-) The TDM400 works taking inbound calls and gives a dial tone when the phone is picked up but as soon as a key is pressed the line (Asterisk says) hangs up. Asterisk is configured based on a working system but that one only has one module inbound (FXO?) The outbound settings are based on docs from voip-info.org. Does this ring a bell for anyone? No pun intended. Unfortunately the system is 35 miles away and I haven't got the logs handy so I can't provide more right now. Just hoping for a clue on search terms. TIA, Rod --
On Wed, Nov 19, 2008 at 11:07:57AM -0800, Roderick A. Anderson wrote:> And if that ain't confusing I don't know what would be. > > I bought a TDM400 with two modules (FXO, FXS) a couple or so years ago > and ended up never using it. Passed it along to a friend who is having > some problems with it. (He isn't on this list.) > > We've both tried searches using Google but haven't been able to find > anything that helps. So this is more a question of > what-the-heck-should-we-be-searching-for. :-) > > The TDM400 works taking inbound calls and gives a dial tone when the > phone is picked up but as soon as a key is pressed the line (Asterisk > says) hangs up.Dialplan issue? What do you have in the s context there?> Asterisk is configured based on a working system but > that one only has one module inbound (FXO?) The outbound settings are > based on docs from voip-info.org. > > Does this ring a bell for anyone? No pun intended. > > Unfortunately the system is 35 miles away and I haven't got the logs > handy so I can't provide more right now. Just hoping for a clue on > search terms.35 miles away is no excuse for not having logs :-) Specifically, the debug-level logs should be able to give you the exact reason for the hangup (among many lines of useless information). -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
On Wed, 2008-11-19 at 11:07 -0800, Roderick A. Anderson wrote:> The TDM400 works taking inbound calls and gives a dial tone when the > phone is picked up but as soon as a key is pressed the line (Asterisk > says) hangs up. Asterisk is configured based on a working system but > that one only has one module inbound (FXO?) The outbound settings are > based on docs from voip-info.org.It sounds to me like you've got the two channels pointed at a context that doesn't exist, or there aren't extensions in that context that match the number being dialed. Look in zapata.conf (or chan_dahdi.conf if you're using DAHDI) and look for the "context=" line immediately above the "channel=>" line for each channel. That tells Asterisk where in the dialplan to look when calls come into Asterisk from those channels. Next, look at extensions.conf and see if those contexts exist. For example, if your FXS port (the port connected to an analog phone) is channel 1, and you're trying to dial extension 500 from the analog phone, make sure the context contains an extension 500. You can also check from the Asterisk CLI by typing "dialplan show 500 at context", where 500 is the extension you're trying to dial and context is the name of the context where calls are being sent. -- Jared Smith Training Manager Digium, Inc.
Roderick A. Anderson
2008-Nov-21 15:36 UTC
[asterisk-users] [SOLVED] TDM400 (?) zap hangup
Roderick A. Anderson wrote:> And if that ain't confusing I don't know what would be. > > I bought a TDM400 with two modules (FXO, FXS) a couple or so years ago > and ended up never using it. Passed it along to a friend who is having > some problems with it. (He isn't on this list.) > > We've both tried searches using Google but haven't been able to find > anything that helps. So this is more a question of > what-the-heck-should-we-be-searching-for. :-) > > The TDM400 works taking inbound calls and gives a dial tone when the > phone is picked up but as soon as a key is pressed the line (Asterisk > says) hangs up. Asterisk is configured based on a working system but > that one only has one module inbound (FXO?) The outbound settings are > based on docs from voip-info.org. > > Does this ring a bell for anyone? No pun intended. > > Unfortunately the system is 35 miles away and I haven't got the logs > handy so I can't provide more right now. Just hoping for a clue on > search terms.Thanks to Tzafrir Cohen and Jared Smith we've solved the problem. It was a "A Series of Unfortunate Events". The main one was, there was no (and then an incorrect) context= for the ZAP channel. The incorrect one came about because of a miss-communication while testing. We were able to dial-out but the logic in the dialplan to select a context for local calls, toll-free, etc. was missing. Once we got the channel set to the correct context all was well. Again thanks, Rod --> TIA, > Rod