Asterisk stopped answering the calls. I'm just experimenting with asterisk, upon setup there is a [demo] context. I have SPA-3000 with PSTN line: Dial plan 2: S0<:1000@10.0.0.101> my sip.conf localnet = 10.0.0.101 localmask = 255.255.255.0 [3000] type=friend host=dynamic username=3000 secret=my_secret mailbox=3000 context=from_pstn callerid="PSTN GW" <3000> deny=0.0.0.0 permit=10.0.0.154 ;SPA-3000 IP address dtmfmode=rfc2833 canreinvite=no cantransfer=yes My extension.conf [globals] PSTN_GW=10.0.0.154:5062 [from_pstn] exten => 1000,1,Goto(demo,s,1) [demo] exten => s,1,Answer exten => s,2,DigitTimeout,5 exten => s,3,ResponseTimeout,10 exten => s,4,BackGround(demo-congrats When I type "show channels" I get "0 active channel(s)" Why isn't asterisk answering the call? -- #Joseph
Just an FYI localmask is deprecated... As of latest CVS: localnet=ip/mask bkw> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Joseph > Sent: Saturday, September 18, 2004 9:06 PM > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] Asterisk stopped answering the calls > > Asterisk stopped answering the calls. > I'm just experimenting with asterisk, upon setup there is a [demo] > context. > I have SPA-3000 with PSTN line: > Dial plan 2: S0<:1000@10.0.0.101> > my sip.conf > localnet = 10.0.0.101 > localmask = 255.255.255.0 > > [3000] > type=friend > host=dynamic > username=3000 > secret=my_secret > mailbox=3000 > context=from_pstn > callerid="PSTN GW" <3000> > deny=0.0.0.0 > permit=10.0.0.154 ;SPA-3000 IP address > dtmfmode=rfc2833 > canreinvite=no > cantransfer=yes > > My extension.conf > [globals] > PSTN_GW=10.0.0.154:5062 > [from_pstn] > exten => 1000,1,Goto(demo,s,1) > [demo] > exten => s,1,Answer > exten => s,2,DigitTimeout,5 > exten => s,3,ResponseTimeout,10 > exten => s,4,BackGround(demo-congrats > > When I type "show channels" I get "0 active channel(s)" > > Why isn't asterisk answering the call? > -- > #Joseph > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > lists.digium.com/mailman/listinfo/asterisk-users