[help] Outgoing call through FXO card


#1

I just installed a FXO card in my Asterisk@home and use X-ten as the softphone. Currently, the incoming call is ok. When I made outgoing call: the softphone showed connected; the callee could hear the ringing and pick up the phone, he also could hear my voice, but I could’t hear the ringing back tone and the voice of the callee. Is there any suggestion for this error? thanks


#2

Is there any suggestion for how to fix the problem? Thanks a lot.


Apr 28 20:24:38 VERBOSE[1452]: – Executing SetVar(“SIP/200-8f59”, “DIAL_NUMBER=1214********”) in new stack
Apr 28 20:24:38 VERBOSE[1452]: – Executing SetVar(“SIP/200-8f59”, “DIAL_TRUNK=1”) in new stack
Apr 28 20:24:38 VERBOSE[1452]: – Executing AGI(“SIP/200-8f59”, “fixlocalprefix”) in new stack
Apr 28 20:24:38 VERBOSE[1452]: – Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
Apr 28 20:24:38 VERBOSE[1452]: – AGI Script fixlocalprefix completed, returning 0
Apr 28 20:24:38 VERBOSE[1452]: – Executing SetVar(“SIP/200-8f59”, “OUTNUM=1214*******”) in new stack
Apr 28 20:24:38 VERBOSE[1452]: – Executing Cut(“SIP/200-8f59”, “custom=OUT_1|:|1”) in new stack
Apr 28 20:24:38 DEBUG[1452]: Expression is '0’
Apr 28 20:24:38 VERBOSE[1452]: – Executing GotoIf(“SIP/200-8f59”, “0?19”) in new stack
Apr 28 20:24:38 DEBUG[1452]: Not taking any branch
Apr 28 20:24:38 VERBOSE[1452]: – Executing Dial(“SIP/200-8f59”, “ZAP/1/1214*******”) in new stack
Apr 28 20:24:38 DEBUG[1452]: Dialing '1214*******'
Apr 28 20:24:38 DEBUG[1452]: Deferring dialing…
Apr 28 20:24:38 VERBOSE[1452]: – Called 1/1214*******
Apr 28 20:24:39 DEBUG[1452]: Exception on 15, channel 1
Apr 28 20:24:39 DEBUG[1452]: Got event Hook Transition Complete(12) on channel 1 (index 0)
Apr 28 20:24:41 DEBUG[1452]: Exception on 15, channel 1
Apr 28 20:24:41 DEBUG[1452]: Got event Dial Complete(9) on channel 1 (index 0)
Apr 28 20:24:41 DEBUG[1452]: Enabled echo cancellation on channel 1
Apr 28 20:24:41 DEBUG[1452]: Engaged echo training on channel 1
Apr 28 20:24:43 DEBUG[1452]: Exception on 15, channel 1
Apr 28 20:24:43 DEBUG[1452]: Got event Dial Complete(9) on channel 1 (index 0)
Apr 28 20:24:43 DEBUG[1452]: Echo cancellation already on
Apr 28 20:24:43 DEBUG[1452]: Dropping duplicate answer!
Apr 28 20:24:43 VERBOSE[1452]: – Zap/1-1 answered SIP/200-8f59
Apr 28 20:24:43 DEBUG[1452]: Ooh, format changed from unknown to ulaw
Apr 28 20:24:43 DEBUG[1452]: Stopping retransmission on ‘26A6D559-539A-41FD-9692-9C4A6E2B494D@192.168.2.7’ of Response 22168: Found
Apr 28 20:25:06 DEBUG[1452]: Didn’t get a frame from channel: SIP/200-8f59
Apr 28 20:25:06 DEBUG[1452]: Bridge stops bridging channels SIP/200-8f59 and Zap/1-1
Apr 28 20:25:06 DEBUG[1452]: Hangup: channel: 1 index = 0, normal = 15, callwait = -1, thirdcall = -1
Apr 28 20:25:06 DEBUG[1452]: disabled echo cancellation on channel 1
Apr 28 20:25:06 DEBUG[1452]: Set option TDD MODE, value: OFF(0) on Zap/1-1
Apr 28 20:25:06 DEBUG[1452]: Updated conferencing on 1, with 0 conference users
Apr 28 20:25:06 VERBOSE[1452]: – Hungup 'Zap/1-1’
Apr 28 20:25:06 DEBUG[1452]: Exiting with DIALSTATUS=ANSWER.
Apr 28 20:25:06 VERBOSE[1452]: == Spawn extension (macro-dialout-trunk, s, 17) exited non-zero on ‘SIP/200-8f59’ in macro ‘dialout-trunk’
Apr 28 20:25:06 VERBOSE[1452]: == Spawn extension (from-internal, 1214*******, 1) exited non-zero on ‘SIP/200-8f59’
Apr 28 20:25:06 VERBOSE[1452]: – Executing Macro(“SIP/200-8f59”, “hangupcall”) in new stack
Apr 28 20:25:06 VERBOSE[1452]: – Executing ResetCDR(“SIP/200-8f59”, “w”) in new stack
Apr 28 20:25:06 DEBUG[1452]: cdr_mysql: inserting a CDR record.
Apr 28 20:25:06 DEBUG[1452]: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode) VALUES (‘2006-04-28 20:24:38’,‘214*******’,‘214*******’,‘1214*******’,‘from-internal’, ‘SIP/200-8f59’,‘Zap/1-1’,‘ResetCDR’,‘w’,28,23,‘ANSWERED’,3,’’)
Apr 28 20:25:06 VERBOSE[1452]: – Executing NoCDR(“SIP/200-8f59”, “”) in new stack
Apr 28 20:25:06 WARNING[1452]: CDR on channel ‘SIP/200-8f59’ not posted
Apr 28 20:25:06 WARNING[1452]: CDR on channel ‘SIP/200-8f59’ lacks end
Apr 28 20:25:06 VERBOSE[1452]: – Executing Wait(“SIP/200-8f59”, “5”) in new stack
Apr 28 20:25:06 VERBOSE[1452]: == Spawn extension (macro-hangupcall, s, 3) exited non-zero on ‘SIP/200-8f59’ in macro 'hangupcall’
Apr 28 20:25:06 VERBOSE[1452]: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/200-8f59’
Apr 28 20:25:06 DEBUG[1452]: update_user_counter(200) - decrement inUse counter”


#3

I tried to call *77 to record the Digital Receptionist, and also can’t hear any response and ring back tone. But the call report showed the call was answered. Do you think this error has the same reason with the outgoing call through FXO card? Thanks.