Tracker: Support Requests

5 Cant Get A@H to pickup calls from PSTN? - ID: 1477204
Last Update: Comment added ( ophthal )

I dont know if this is where I can obtain any
suggestions, but after 2 weeks I am at a loss. I have a
clean A@H 2.8 install, with an X101P connected to my
analog phone line, and a TDM400P with one FXS module
connected to an analog phone. I also have a couple
software SIP phones and one Grandstrem SIP phone on the
network.

With a clean install, and 1 SIP extension to a
Grandstream and 1 ZAP extension to an analog phone, I
can now call all extensions internally, including the
ZAP phone which didnt ring before. I can call back and
forth from soft phones, hardphones etc, and voicemail
seems to work fine. So far so good. But when a call
comes in from outside, it rings on the analog phone
plugged into another jack in the house, but none of the
Asterisk SIP/ZAP phones ring?

Initially incomming calls would ring once, and then go
dead, but I found some suggestions in the forum to make
the change below, and now the house phone (non
asterisk) will ring like normal, but still none of the
Asterisk connected SIP/ZAP phones ring?

Here is the log when an incoming call comes in
(var/log/asterisk/full)

Apr 26 10:13:22 VERBOSE[3827] logger.c: == Starting
Zap/1-1 at from-pstn,s,1 failed so falling back to
exten 's'
Apr 26 10:13:22 VERBOSE[3827] logger.c: == Starting
Zap/1-1 at from-pstn,s,1 still failed so falling back
to context 'default'
Apr 26 10:13:22 VERBOSE[3827] logger.c: -- Executing
Playback("Zap/1-1", "vm-goodbye") in new stack
Apr 26 10:13:22 DEBUG[3827] chan_zap.c: Took Zap/1-1
off hook
Apr 26 10:13:22 DEBUG[3827] chan_zap.c: Enabled echo
cancellation on channel 1
Apr 26 10:13:22 DEBUG[3827] chan_zap.c: Engaged echo
training on channel 1
Apr 26 10:13:22 DEBUG[3827] channel.c: Scheduling timer
at 160 sample intervals
Apr 26 10:13:22 VERBOSE[3827] logger.c: -- Playing
'vm-goodbye' (language 'en')
Apr 26 10:13:22 DEBUG[3827] channel.c: Scheduling timer
at 154 sample intervals
Apr 26 10:13:22 DEBUG[3827] channel.c: Scheduling timer
at 0 sample intervals
Apr 26 10:13:22 DEBUG[3827] channel.c: Scheduling timer
at 0 sample intervals
Apr 26 10:13:22 VERBOSE[3827] logger.c: -- Executing
Macro("Zap/1-1", "hangupcall") in new stack
Apr 26 10:13:22 VERBOSE[3827] logger.c: -- Executing
ResetCDR("Zap/1-1", "w") in new stack
Apr 26 10:13:22 DEBUG[3827] cdr_addon_mysql.c:
cdr_mysql: inserting a CDR record.
Apr 26 10:13:22 DEBUG[3827] cdr_addon_mysql.c:
cdr_mysql: SQL command as follows: INSERT INTO cdr
(calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid)
VALUES ('2006-04-26
10:13:22','6048156602','6048156602','s','from-pstn',
'Zap/1-1','','ResetCDR','w',0,0,'ANSWERED',3,'','1146071600.23')

Apr 26 10:13:22 VERBOSE[3827] logger.c: -- Executing
NoCDR("Zap/1-1", "") in new stack
Apr 26 10:13:22 WARNING[3827] cdr.c: CDR on channel
'Zap/1-1' not posted
Apr 26 10:13:22 WARNING[3827] cdr.c: CDR on channel
'Zap/1-1' lacks end
Apr 26 10:13:22 VERBOSE[3827] logger.c: -- Executing
Wait("Zap/1-1", "5") in new stack
Apr 26 10:13:28 VERBOSE[3827] logger.c: -- Executing
Hangup("Zap/1-1", "") in new stack
Apr 26 10:13:28 VERBOSE[3827] logger.c: == Spawn
extension (macro-hangupcall, s, 4) exited non-zero on
'Zap/1-1' in macro 'hangupcall'
Apr 26 10:13:28 VERBOSE[3827] logger.c: == Spawn
extension (macro-hangupcall, s, 4) exited non-zero on
'Zap/1-1'
Apr 26 10:13:28 DEBUG[3827] chan_zap.c: Hangup:
channel: 1 index = 0, normal = 19, callwait = -1,
thirdcall = -1
Apr 26 10:13:28 DEBUG[3827] chan_zap.c: disabled echo
cancellation on channel 1
Apr 26 10:13:28 DEBUG[3827] chan_zap.c: Set option TDD
MODE, value: OFF(0) on Zap/1-1
Apr 26 10:13:28 DEBUG[3827] chan_zap.c: Updated
conferencing on 1, with 0 conference users
Apr 26 10:13:28 VERBOSE[3827] logger.c: -- Hungup
'Zap/1-1'


Johnny Stork ( stork ) - 2006-04-26 13:13:06 PDT

5

Open

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )

Date: 2006-05-06 05:28:30 PDT
Sender: ophthal

Logged In: YES
user_id=1517960

Let us see your exensions.conf contexts for [from-pstn],
[incoming] and [default]

This is where the problem probably lies.

Here's a copy of my AAH 2.8 [from-pstn]

[from-pstn]
include => from-pstn-custom ; create
this context in extensions_custom.conf to include customizations
include => ext-did
exten => fax,1,Goto(ext-fax,in_fax,1)
exten => s,1,NoOP(INCOMING IS ${INCOMING} override is
${IN_OVERRIDE}) ;
exten => s,2,GotoIf($[${CALLERIDNUM} =
5082556703]?Goto(faxy,1):3) ;
;exten => s,2,GotoIf($[${DID} = 9785291994]?Goto(s,4):3) ;
exten => s,3,GotoIf($[${IN_OVERRIDE} = forcereghours]?s,7:)
exten => s,4,GotoIf($[${IN_OVERRIDE} = forceafthours]?s,6:)
exten => s,5,GotoIfTime(${REGTIME}|${REGDAYS}|*|*?s,7:)
exten => s,6,Goto(AnsweringService,s,1)
exten => s,7,Dial(SIP/3001&SIP/3002,30,Ttr) ;&
exten => s,8,Dial(SIP/2001&SIP/2002,30,Ttr)
exten => s,9,Goto(AnsweringService,s,1)





Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.