Muhammad Haris
2005-Mar-31 05:05 UTC
[Asterisk-Users] setting SIP to dial PSTN with TDM400P
I've setup * with TDM400P w/1 FXS, 1 FXO modules. I've one analog phone connected to TDM400P FXS module, 1 PSTN line to one of the FXO module(ZAP) , and IP phone connected to asterisk on LAN. The calls between SIPs and zap phone (fxs) are OK. But 2 issues cannot be solved: 1. To dial to PSTN via zap phone, the setup in extensions.conf with the following exten => _Nxxxxxx, 1, zap/1 doesn't work. Does anyone can give me suggestion that what did I do wrong to make the setting: 2. When trying using SIP phone to dial PSTN, I got no luck. Please advice if any solution.
Martijn van Oosterhout
2005-Mar-31 07:44 UTC
[Asterisk-Users] setting SIP to dial PSTN with TDM400P
On Thu, Mar 31, 2005 at 05:05:21PM +0500, Muhammad Haris wrote:> The calls between SIPs and zap phone (fxs) are OK. But 2 issues > cannot be solved: > > 1. To dial to PSTN via zap phone, the setup in extensions.conf with > the following > exten => _Nxxxxxx, 1, zap/1 > doesn't work.I think you need to tell Asterisk what you actually want (Dial) and tell it the phonenumber, perhaps: exten => _Nxxxxxx, 1, Dial(zap/1/${EXTEN}) Check the wiki for more details about the dial command...> 2. When trying using SIP phone to dial PSTN, I got no luck.Probably same issue... Hope this helps, -- Martijn van Oosterhout Ecomtel Pty Ltd
Jason Williams
2005-Mar-31 08:32 UTC
[Asterisk-Users] setting SIP to dial PSTN with TDM400P
On Mar 31, 2005 1:05 PM, Muhammad Haris <haris.farooque@gmail.com> wrote:> I've setup * with TDM400P w/1 FXS, 1 FXO modules. > I've one analog phone connected to TDM400P FXS module, 1 PSTN line to > one of the FXO module(ZAP) , and IP phone connected to asterisk on > LAN. > > The calls between SIPs and zap phone (fxs) are OK. But 2 issues > cannot be solved: > > 1. To dial to PSTN via zap phone, the setup in extensions.conf with > the following > exten => _Nxxxxxx, 1, zap/1 > doesn't work.your line is not correct try this exten => _NXXXXXX,1,Dial(Zap/1/${EXTEN})