Well, I just figured out that 4 digit dialing plan is used on the other end so if I just 4 digit extension, i.e. 95222, the call works out fine for both the sip phone and the pots phone.
However, I still don't understand that when I dial full 7 digit number, sip phones work but pots does not. I'll ignore it for now:) -----Original Message----- From: Lisa Xie Sent: Friday, April 30, 2004 9:52 AM To: '[EMAIL PROTECTED]' Subject: FXS card dial digit wrong Hello, everyone, I am currently trying to get the asterisk server to talk with a 3COM NBX with T1 connection. My asterisk server has a T100p, TDM20B, a couple of sip phones. Now the sip phones are calling 3COM NBX phones fine, however, the analog phone has problem when dialing the NBX phones. The connection is established and the NBX auto-attendant picks up the call however the NBX end says that incorrect extension number is dialed, >From 3com NBX end to Asterisk is fine, i.e., 3com NBX phones call both the sip phone and the analog phone with no problem. Below is the console output from Asterisk when I tried to call the same extension using both the sip phone and the analog phone. Also my configuration files are attached: zapata.conf, zaptel.conf, extensions.conf. Thanks for your help. Lisa ~~~~~~~Console output from Asterisk~~~~~~~ *CLI> -- Executing Dial("SIP/2001-2445", "Zap/g1/5555222") in new stack -- Called g1/5555222 -- Zap/1-1 answered SIP/2001-2445 -- Hungup 'Zap/1-1' == Spawn extension (internal, 95555222, 1) exited non-zero on 'SIP/2001-2445' -- Starting simple switch on 'Zap/26-1' -- Executing Dial("Zap/26-1", "Zap/g1/5555222") in new stack -- Called g1/5555222 -- Zap/1-1 answered Zap/26-1 -- Attempting native bridge of Zap/26-1 and Zap/1-1 -- Hungup 'Zap/1-1' == Spawn extension (internal, 95555222, 1) exited non-zero on 'Zap/26-1' -- Hungup 'Zap/26-1' ~~~~~~~My configuration files are here~~~~~~~ ---Zaptel.conf--- #add t100 card span=1,0,0,esf,b8zs e&m=1-24 loadzone = us defaultzone=us #add tdm20b card fxoks=25-26 ---Zapata.conf---- ;add for t100 card signalling=em_w context=incoming group=1 immediate=yes channel => 1-24 ;add for tdm20b card signalling=fxo_ks context=internal channel=>25-26 ---Extensions.conf--- [incoming] exten => _XXX2001.,1,Dial(SIP/2001,20) exten => _XXX2101.,1,Dial,Zap/26 include => internal [internal] exten => s,1,Playback(demo-congrats) exten => 2001,1,Dial(SIP/2001,20) exten => 2100,1,Dial,Zap/25 exten => 2101,1,Dial,Zap/26 ;outbound calls exten =>_9.,1,Dial(Zap/g1/${EXTEN:1}) -----Original Message----- From: Lisa Xie Sent: Wednesday, April 28, 2004 5:51 PM To: '[EMAIL PROTECTED]' Subject: RE: [Asterisk-Users] Extra digit needed for outbound call Here is part of the files: "extensions.conf" for both of the servers Asterisk server 1 [incoming] include => internal [internal] exten => s,1,Playback(demo-congrats) exten => 2000,1,Dial(SIP/2000,20) exten => 2100,1,Dial,Zap/25 ;outbound calls ignorepat => 9 exten =>_9.,1,Dial(Zap/g1/${EXTEN:1}) Asterisk server 2 [incoming] include => internal [internal] exten => s,1,Playback(demo-congrats) exten => 2000,1,Dial(SIP/2000,20) ;outbound calls ignorepat => 9 exten =>_9.,1,Dial(Zap/g1/${EXTEN:1}) Thanks! Lisa -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Critchfield Sent: Wednesday, April 28, 2004 4:39 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Extra digit needed for outbound call On Wed, 2004-04-28 at 14:49, Lisa Xie wrote: > Hi, > > I've been working on starting a lab of end to end asterisk system and > now most of pieces seem to be working. The two asterisk servers are > connected by T1. Both servers have a couple of SIP phones connected and > one of the servers has a FXS card with an analog phone hanging. > > I can make calls across the T1 link however there is one thing that I > don't understand. I need to append one extra digit to get the correct > extension number at the other end. For example, when I tried to call > extension 2000 at the other end, I need to dial "92000x", where x can be > anything between 0-9. Otherwise, if I dial "92000", the console says > something like "extension 200 is not found". > > Also internal calls are normal. > > This looks very bizarre for me... How can I fix it? Examine your dialplan. Post it here and maybe someone will point out what you are doing wrong. -- Steven Critchfield <[EMAIL PROTECTED]> _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users