Sunday, September 30, 2012

Fax is no is being recived ,just ring and hang !! - Kunena

Fax is no is being recived ,just ring and hang !! 17 Hours, 19 Minutes ago Karma: 0
hi ,
i have Now im using client which is called yajfax to send faxes ,
Now I have two Iax fax externtions , 420 & 400
420 I use it as source to send faxes using yajfax client
400 extenyion is used to recive faxes on dahdi 5
I have the dahdi 5 for reciving both calls and faxes and here is a printscreen of dahdi 5 config

The problem is when sending fax , the fax is seem not detected and forwarded to sip extention not to iax fax extention
===============================
I performed fax sending from user 420 using yajfax client software to the number xxx3909 which is the dahdi that accept both sip & fax .
I use chanspy from my extention 102 to hear dahdi 5 and hear if the fax was detected or not , but I nonly hear ringing and then hangup.
note that extention 115 is a sip of timecondition which was configured on dahdi 5

Here is a result of debug of sending fax from the number
xxx3494 to xxx3909
Hint , I use the start 72 to go out from dahdi which has the number xxx3494

Code:

xp10*CLI>?
????--?Accepting?AUTHENTICATED?call?from?127.0.0.1:
???????>?requested?format?=?ulaw,
???????>?requested?prefs?=?(),
???????>?actual?format?=?ulaw,
???????>?host?prefs?=?(ulaw|alaw|gsm),
???????>?priority?=?mine
????--?Executing?[72xxx3909@from-internal:1]?Macro("IAX2/420-1714",?"user-callerid,SKIPTTL,")?in?new?stack
????--?Executing?[s@macro-user-callerid:1]?Set("IAX2/420-1714",?"AMPUSER=420")?in?new?stack
????--?Executing?[s@macro-user-callerid:2]?GotoIf("IAX2/420-1714",?"0?report")?in?new?stack
????--?Executing?[s@macro-user-callerid:3]?ExecIf("IAX2/420-1714",?"0?Set(REALCALLERIDNUM=420)")?in?new?stack
????--?Executing?[s@macro-user-callerid:4]?Set("IAX2/420-1714",?"AMPUSER=420")?in?new?stack
????--?Executing?[s@macro-user-callerid:5]?Set("IAX2/420-1714",?"AMPUSERCIDNAME=f420")?in?new?stack
????--?Executing?[s@macro-user-callerid:6]?GotoIf("IAX2/420-1714",?"0?report")?in?new?stack
????--?Executing?[s@macro-user-callerid:7]?Set("IAX2/420-1714",?"AMPUSERCID=420")?in?new?stack
????--?Executing?[s@macro-user-callerid:8]?Set("IAX2/420-1714",?"CALLERID(all)="f420"?<420>")?in?new?stack
????--?Executing?[s@macro-user-callerid:9]?ExecIf("IAX2/420-1714",?"0?Set(CHANNEL(language)=)")?in?new?stack
????--?Executing?[s@macro-user-callerid:10]?GotoIf("IAX2/420-1714",?"1?continue")?in?new?stack
????--?Goto?(macro-user-callerid,s,19)
????--?Executing?[s@macro-user-callerid:19]?Set("IAX2/420-1714",?"CALLERID(number)=420")?in?new?stack
????--?Executing?[s@macro-user-callerid:20]?Set("IAX2/420-1714",?"CALLERID(name)=f420")?in?new?stack
????--?Executing?[s@macro-user-callerid:21]?NoOp("IAX2/420-1714",?"Using?CallerID?"f420"?<420>")?in?new?stack
????--?Executing?[72xxx3909@from-internal:2]?NoOp("IAX2/420-1714",?"Calling?Out?Route:?outfromxxx3494_72")?in?new?stack
????--?Executing?[72xxx3909@from-internal:3]?Set("IAX2/420-1714",?"MOHCLASS=default")?in?new?stack
????--?Executing?[72xxx3909@from-internal:4]?Set("IAX2/420-1714",?"_NODEST=")?in?new?stack
????--?Executing?[72xxx3909@from-internal:5]?Macro("IAX2/420-1714",?"record-enable,420,OUT,")?in?new?stack
????--?Executing?[s@macro-record-enable:1]?GotoIf("IAX2/420-1714",?"1?check")?in?new?stack
????--?Goto?(macro-record-enable,s,4)
????--?Executing?[s@macro-record-enable:4]?ExecIf("IAX2/420-1714",?"0?MacroExit()")?in?new?stack
????--?Executing?[s@macro-record-enable:5]?GotoIf("IAX2/420-1714",?"0?Group:OUT")?in?new?stack
????--?Goto?(macro-record-enable,s,15)
????--?Executing?[s@macro-record-enable:15]?GotoIf("IAX2/420-1714",?"0?IN")?in?new?stack
????--?Executing?[s@macro-record-enable:16]?ExecIf("IAX2/420-1714",?"0?MacroExit()")?in?new?stack
????--?Executing?[s@macro-record-enable:17]?NoOp("IAX2/420-1714",?"Recording?enable?for?420")?in?new?stack
????--?Executing?[s@macro-record-enable:18]?Set("IAX2/420-1714",?"CALLFILENAME=OUT420-20120930-084427-1348987467.6380")?in?new?stack
????--?Executing?[s@macro-record-enable:19]?Goto("IAX2/420-1714",?"record")?in?new?stack
????--?Goto?(macro-record-enable,s,23)
????--?Executing?[s@macro-record-enable:23]?MixMonitor("IAX2/420-1714",?"OUT420-20120930-084427-1348987467.6380.wav,,")?in?new?stack
????--?Executing?[s@macro-record-enable:24]?Set("IAX2/420-1714",?"CDR(userfield)=audio:OUT420-20120930-084427-1348987467.6380.wav")?in?new?stack
????--?Executing?[s@macro-record-enable:25]?MacroExit("IAX2/420-1714",?"")?in?new?stack
????--?Executing?[72xxx3909@from-internal:6]?Macro("IAX2/420-1714",?"dialout-trunk,6,xxx3909,")?in?new?stack
????--?Executing?[s@macro-dialout-trunk:1]?Set("IAX2/420-1714",?"DIAL_TRUNK=6")?in?new?stack
????--?Executing?[s@macro-dialout-trunk:2]?GosubIf("IAX2/420-1714",?"0?sub-pincheck,s,1")?in?new?stack
????--?Executing?[s@macro-dialout-trunk:3]?GotoIf("IAX2/420-1714",?"0?disabletrunk,1")?in?new?stack
????--?Executing?[s@macro-dialout-trunk:4]?Set("IAX2/420-1714",?"DIAL_NUMBER=xxx3909")?in?new?stack
????--?Executing?[s@macro-dialout-trunk:5]?Set("IAX2/420-1714",?"DIAL_TRUNK_OPTIONS=tr")?in?new?stack
????--?Executing?[s@macro-dialout-trunk:6]?Set("IAX2/420-1714",?"OUTBOUND_GROUP=OUT_6")?in?new?stack
????--?Executing?[s@macro-dialout-trunk:7]?GotoIf("IAX2/420-1714",?"1?nomax")?in?new?stack
????--?Goto?(macro-dialout-trunk,s,9)
????--?Executing?[s@macro-dialout-trunk:9]?GotoIf("IAX2/420-1714",?"0?skipoutcid")?in?new?stack
????--?Executing?[s@macro-dialout-trunk:10]?Set("IAX2/420-1714",?"DIAL_TRUNK_OPTIONS=")?in?new?stack
????--?Executing?[s@macro-dialout-trunk:11]?Macro("IAX2/420-1714",?"outbound-callerid,6")?in?new?stack
????--?Executing?[s@macro-outbound-callerid:1]?ExecIf("IAX2/420-1714",?"0?Set(CALLERPRES()=)")?in?new?stack
????--?Executing?[s@macro-outbound-callerid:2]?ExecIf("IAX2/420-1714",?"0?Set(REALCALLERIDNUM=420)")?in?new?stack
????--?Executing?[s@macro-outbound-callerid:3]?GotoIf("IAX2/420-1714",?"1?normcid")?in?new?stack
????--?Goto?(macro-outbound-callerid,s,6)
????--?Executing?[s@macro-outbound-callerid:6]?Set("IAX2/420-1714",?"USEROUTCID=")?in?new?stack
????--?Executing?[s@macro-outbound-callerid:7]?Set("IAX2/420-1714",?"EMERGENCYCID=")?in?new?stack
????--?Executing?[s@macro-outbound-callerid:8]?Set("IAX2/420-1714",?"TRUNKOUTCID=")?in?new?stack
????--?Executing?[s@macro-outbound-callerid:9]?GotoIf("IAX2/420-1714",?"1?trunkcid")?in?new?stack
????--?Goto?(macro-outbound-callerid,s,12)
????--?Executing?[s@macro-outbound-callerid:12]?ExecIf("IAX2/420-1714",?"0?Set(CALLERID(all)=)")?in?new?stack
????--?Executing?[s@macro-outbound-callerid:13]?ExecIf("IAX2/420-1714",?"0?Set(CALLERID(all)=)")?in?new?stack
????--?Executing?[s@macro-outbound-callerid:14]?ExecIf("IAX2/420-1714",?"0?Set(CALLERID(all)=)")?in?new?stack
????--?Executing?[s@macro-outbound-callerid:15]?ExecIf("IAX2/420-1714",?"0?Set(CALLERPRES()=prohib_passed_screen)")?in?new?stack
????--?Executing?[s@macro-dialout-trunk:12]?GosubIf("IAX2/420-1714",?"0?sub-flp-6,s,1")?in?new?stack
??==?Begin?MixMonitor?Recording?IAX2/420-1714
????--?Executing?[s@macro-dialout-trunk:13]?Set("IAX2/420-1714",?"OUTNUM=xxx3909")?in?new?stack
????--?Executing?[s@macro-dialout-trunk:14]?Set("IAX2/420-1714",?"custom=DAHDI/5")?in?new?stack
????--?Executing?[s@macro-dialout-trunk:15]?ExecIf("IAX2/420-1714",?"0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))")?in?new?stack
????--?Executing?[s@macro-dialout-trunk:16]?Macro("IAX2/420-1714",?"dialout-trunk-predial-hook,")?in?new?stack
????--?Executing?[s@macro-dialout-trunk-predial-hook:1]?MacroExit("IAX2/420-1714",?"")?in?new?stack
????--?Executing?[s@macro-dialout-trunk:17]?GotoIf("IAX2/420-1714",?"0?bypass,1")?in?new?stack
????--?Executing?[s@macro-dialout-trunk:18]?GotoIf("IAX2/420-1714",?"0?customtrunk")?in?new?stack
????--?Executing?[s@macro-dialout-trunk:19]?Dial("IAX2/420-1714",?"DAHDI/5/xxx3909,300,")?in?new?stack
????--?Called?DAHDI/5/xxx3909
????--?DAHDI/5-1?answered?IAX2/420-1714
????--?Starting?simple?switch?on?'DAHDI/4-1'
[Sep?30?08:44:34]?DEBUG[15535]:?chan_dahdi.c:1736?my_get_callerid:?CallerID?number:?xxx3494,?name:?(null),?flags=4
????--?Executing?[s@from-zaptel:1]?NoOp("DAHDI/4-1",?"Entering?from-dahdi?with?DID?==?")?in?new?stack
????--?Executing?[s@from-zaptel:2]?Ringing("DAHDI/4-1",?"")?in?new?stack
????--?Executing?[s@from-zaptel:3]?Set("DAHDI/4-1",?"DID=s")?in?new?stack
????--?Executing?[s@from-zaptel:4]?NoOp("DAHDI/4-1",?"DID?is?now?s")?in?new?stack
????--?Executing?[s@from-zaptel:5]?GotoIf("DAHDI/4-1",?"1?dahdiok:checkzap")?in?new?stack
????--?Goto?(from-zaptel,s,9)
????--?Executing?[s@from-zaptel:9]?NoOp("DAHDI/4-1",?"Is?a?DAHDI?Channel")?in?new?stack
????--?Executing?[s@from-zaptel:10]?Set("DAHDI/4-1",?"CHAN=4-1")?in?new?stack
????--?Executing?[s@from-zaptel:11]?Set("DAHDI/4-1",?"CHAN=4")?in?new?stack
????--?Executing?[s@from-zaptel:12]?Macro("DAHDI/4-1",?"from-dahdi-4,s,1")?in?new?stack
????--?Executing?[s@macro-from-dahdi-4:1]?NoOp("DAHDI/4-1",?"Entering?macro-from-dahdi-4?with?DID?=?s?and?setting?to:?xxx3909")?in?new?stack
????--?Executing?[s@macro-from-dahdi-4:2]?Set("DAHDI/4-1",?"__FROM_DID=xxx3909")?in?new?stack
????--?Executing?[s@macro-from-dahdi-4:3]?Goto("DAHDI/4-1",?"from-trunk,xxx3909,1")?in?new?stack
????--?Goto?(from-trunk,xxx3909,1)
??==?Channel?'DAHDI/4-1'?jumping?out?of?macro?'from-dahdi-4'
????--?Executing?[xxx3909@from-trunk:1]?Set("DAHDI/4-1",?"__FROM_DID=xxx3909")?in?new?stack
????--?Executing?[xxx3909@from-trunk:2]?Gosub("DAHDI/4-1",?"app-blacklist-check,s,1")?in?new?stack
????--?Executing?[s@app-blacklist-check:1]?GotoIf("DAHDI/4-1",?"0?blacklisted")?in?new?stack
????--?Executing?[s@app-blacklist-check:2]?Set("DAHDI/4-1",?"CALLED_BLACKLIST=1")?in?new?stack
????--?Executing?[s@app-blacklist-check:3]?Return("DAHDI/4-1",?"")?in?new?stack
????--?Executing?[xxx3909@from-trunk:3]?ExecIf("DAHDI/4-1",?"1??Set(CALLERID(name)=xxx3494)")?in?new?stack
????--?Executing?[xxx3909@from-trunk:4]?SetMusicOnHold("DAHDI/4-1",?"none")?in?new?stack
????--?Executing?[xxx3909@from-trunk:5]?Set("DAHDI/4-1",?"__MOHCLASS=none")?in?new?stack
????--?Executing?[xxx3909@from-trunk:6]?Set("DAHDI/4-1",?"__CALLINGPRES_SV=allowed_not_screened")?in?new?stack
????--?Executing?[xxx3909@from-trunk:7]?Set("DAHDI/4-1",?"CALLERPRES()=allowed_not_screened")?in?new?stack
????--?Executing?[xxx3909@from-trunk:8]?Set("DAHDI/4-1",?"FAX_DEST=from-did-direct^400^1")?in?new?stack
????--?Executing?[xxx3909@from-trunk:9]?Answer("DAHDI/4-1",?"")?in?new?stack
????--?Executing?[xxx3909@from-trunk:10]?Wait("DAHDI/4-1",?"2")?in?new?stack
????--?Executing?[xxx3909@from-trunk:11]?Goto("DAHDI/4-1",?"timeconditions,18,1")?in?new?stack
????--?Goto?(timeconditions,18,1)
????--?Executing?[18@timeconditions:1]?GotoIfTime("DAHDI/4-1",?"08:00-16:00,sat-thu,*,*?ext-queues,31,1")?in?new?stack
????--?Goto?(ext-queues,31,1)
????--?Executing?[31@ext-queues:1]?Macro("DAHDI/4-1",?"user-callerid,")?in?new?stack
????--?Executing?[s@macro-user-callerid:1]?Set("DAHDI/4-1",?"AMPUSER=xxx3494")?in?new?stack
????--?Executing?[s@macro-user-callerid:2]?GotoIf("DAHDI/4-1",?"0?report")?in?new?stack
????--?Executing?[s@macro-user-callerid:3]?ExecIf("DAHDI/4-1",?"1?Set(REALCALLERIDNUM=xxx3494)")?in?new?stack
????--?Executing?[s@macro-user-callerid:4]?Set("DAHDI/4-1",?"AMPUSER=")?in?new?stack
????--?Executing?[s@macro-user-callerid:5]?Set("DAHDI/4-1",?"AMPUSERCIDNAME=")?in?new?stack
????--?Executing?[s@macro-user-callerid:6]?GotoIf("DAHDI/4-1",?"1?report")?in?new?stack
????--?Goto?(macro-user-callerid,s,10)
????--?Executing?[s@macro-user-callerid:10]?GotoIf("DAHDI/4-1",?"0?continue")?in?new?stack
????--?Executing?[s@macro-user-callerid:11]?Set("DAHDI/4-1",?"__TTL=64")?in?new?stack
????--?Executing?[s@macro-user-callerid:12]?GotoIf("DAHDI/4-1",?"1?continue")?in?new?stack
????--?Goto?(macro-user-callerid,s,19)
????--?Executing?[s@macro-user-callerid:19]?Set("DAHDI/4-1",?"CALLERID(number)=xxx3494")?in?new?stack
????--?Executing?[s@macro-user-callerid:20]?Set("DAHDI/4-1",?"CALLERID(name)=xxx3494")?in?new?stack
????--?Executing?[s@macro-user-callerid:21]?NoOp("DAHDI/4-1",?"Using?CallerID?"xxx3494"?<xxx3494>")?in?new?stack
????--?Executing?[31@ext-queues:2]?Answer("DAHDI/4-1",?"")?in?new?stack
????--?Executing?[31@ext-queues:3]?Set("DAHDI/4-1",?"__BLKVM_OVERRIDE=BLKVM/31/DAHDI/4-1")?in?new?stack
????--?Executing?[31@ext-queues:4]?Set("DAHDI/4-1",?"__BLKVM_BASE=31")?in?new?stack
????--?Executing?[31@ext-queues:5]?Set("DAHDI/4-1",?"DB(BLKVM/31/DAHDI/4-1)=TRUE")?in?new?stack
????--?Executing?[31@ext-queues:6]?ExecIf("DAHDI/4-1",?"1?Set(_DIAL_OPTIONS=trM(auto-blkvm))")?in?new?stack
????--?Executing?[31@ext-queues:7]?Set("DAHDI/4-1",?"__NODEST=31")?in?new?stack
????--?Executing?[31@ext-queues:8]?Set("DAHDI/4-1",?"MONITOR_FILENAME=/var/spool/asterisk/monitor/q31-20120930-084436-1348987473.6382")?in?new?stack
????--?Executing?[31@ext-queues:9]?Playback("DAHDI/4-1",?"custom/recordinghint")?in?new?stack
????--?<DAHDI/4-1>?Playing?'custom/recordinghint.slin'?(language?'en')
??==?Using?SIP?RTP?TOS?bits?184
??==?Using?SIP?RTP?CoS?mark?5
???????>?Channel?SIP/102-00000425?was?answered.
???????>?Launching?ChanSpy(DAHDI/4,q)?on?SIP/102-00000425
??==?Spying?on?channel?DAHDI/4-1
[Sep?30?08:44:44]?NOTICE[15537]:?app_chanspy.c:484?start_spying:?Attaching?SIP/102-00000425?to?DAHDI/4-1
[Sep?30?08:44:44]?NOTICE[15537]:?app_chanspy.c:484?start_spying:?Attaching?SIP/102-00000425?to?DAHDI/4-1
????--?Executing?[31@ext-queues:10]?Set("DAHDI/4-1",?"__MOHCLASS=netstreamad")?in?new?stack
????--?Executing?[31@ext-queues:11]?Queue("DAHDI/4-1",?"31,t,,,240")?in?new?stack
????--?Started?music?on?hold,?class?'none',?on?DAHDI/4-1
????--?Executing?[115@from-queue:1]?Set("Local/115@from-queue-740d;2",?"QAGENT=115")?in?new?stack
????--?Executing?[115@from-queue:2]?Goto("Local/115@from-queue-740d;2",?"31,1")?in?new?stack
????--?Goto?(from-queue,31,1)
????--?Executing?[31@from-queue:1]?Goto("Local/115@from-queue-740d;2",?"from-internal,115,1")?in?new?stack
????--?Goto?(from-internal,115,1)
????--?Executing?[115@from-internal:1]?GotoIf("Local/115@from-queue-740d;2",?"0?ext-local,115,1")?in?new?stack
????--?Executing?[115@from-internal:2]?Macro("Local/115@from-queue-740d;2",?"user-callerid,")?in?new?stack
????--?Executing?[s@macro-user-callerid:1]?Set("Local/115@from-queue-740d;2",?"AMPUSER=xxx3494")?in?new?stack
????--?Executing?[s@macro-user-callerid:2]?GotoIf("Local/115@from-queue-740d;2",?"1?report")?in?new?stack
????--?Goto?(macro-user-callerid,s,10)
????--?Executing?[s@macro-user-callerid:10]?GotoIf("Local/115@from-queue-740d;2",?"0?continue")?in?new?stack
????--?Executing?[s@macro-user-callerid:11]?Set("Local/115@from-queue-740d;2",?"__TTL=63")?in?new?stack
???--?Executing?[s@macro-user-callerid:12]?GotoIf("Local/115@from-queue-740d;2",?"1?continue")?in?new?stack
????--?Goto?(macro-user-callerid,s,19)
????--?Executing?[s@macro-user-callerid:19]?Set("Local/115@from-queue-740d;2",?"CALLERID(number)=xxx3494")?in?new?stack
????--?Executing?[s@macro-user-callerid:20]?Set("Local/115@from-queue-740d;2",?"CALLERID(name)=xxx3494")?in?new?stack
????--?Executing?[s@macro-user-callerid:21]?NoOp("Local/115@from-queue-740d;2",?"Using?CallerID?"xxx3494"?<xxx3494>")?in?new?stack
????--?Executing?[115@from-internal:3]?Set("Local/115@from-queue-740d;2",?"__EXTTOCALL=115")?in?new?stack
????--?Executing?[115@from-internal:4]?GotoIf("Local/115@from-queue-740d;2",?"0?skipdb")?in?new?stack
????--?Executing?[115@from-internal:5]?GotoIf("Local/115@from-queue-740d;2",?"1?skipov")?in?new?stack
????--?Goto?(from-internal,115,10)
????--?Executing?[115@from-internal:10]?Set("Local/115@from-queue-740d;2",?"RRNODEST=31")?in?new?stack
????--?Executing?[115@from-internal:11]?Set("Local/115@from-queue-740d;2",?"__NODEST=115")?in?new?stack
????--?Executing?[115@from-internal:12]?GosubIf("Local/115@from-queue-740d;2",?"0?sub-fmsetcid,s,1")?in?new?stack
????--?Executing?[115@from-internal:13]?Set("Local/115@from-queue-740d;2",?"RecordMethod=Group")?in?new?stack
????--?Executing?[115@from-internal:14]?Macro("Local/115@from-queue-740d;2",?"record-enable,115-115,Group")?in?new?stack
????--?Executing?[s@macro-record-enable:1]?GotoIf("Local/115@from-queue-740d;2",?"1?check")?in?new?stack
????--?Goto?(macro-record-enable,s,4)
????--?Executing?[s@macro-record-enable:4]?ExecIf("Local/115@from-queue-740d;2",?"0?MacroExit()")?in?new?stack
????--?Executing?[s@macro-record-enable:5]?GotoIf("Local/115@from-queue-740d;2",?"1?Group:OUT")?in?new?stack
????--?Goto?(macro-record-enable,s,6)
????--?Executing?[s@macro-record-enable:6]?Set("Local/115@from-queue-740d;2",?"LOOPCNT=2")?in?new?stack
????--?Executing?[s@macro-record-enable:7]?Set("Local/115@from-queue-740d;2",?"ITER=1")?in?new?stack
????--?Executing?[s@macro-record-enable:8]?GotoIf("Local/115@from-queue-740d;2",?"0?continue")?in?new?stack
????--?Executing?[s@macro-record-enable:9]?Set("Local/115@from-queue-740d;2",?"TEXTEN=115")?in?new?stack
????--?Executing?[s@macro-record-enable:10]?NoOp("Local/115@from-queue-740d;2",?"Recording?enable?for?115")?in?new?stack
????--?Executing?[s@macro-record-enable:11]?Set("Local/115@from-queue-740d;2",?"CALLFILENAME=g115-20120930-084445-1348987485.6385")?in?new?stack
????--?Executing?[s@macro-record-enable:12]?Goto("Local/115@from-queue-740d;2",?"record")?in?new?stack
????--?Goto?(macro-record-enable,s,23)
????--?Executing?[s@macro-record-enable:23]?MixMonitor("Local/115@from-queue-740d;2",?"g115-20120930-084445-1348987485.6385.wav,,")?in?new?stack
????--?Executing?[s@macro-record-enable:24]?Set("Local/115@from-queue-740d;2",?"CDR(userfield)=audio:g115-20120930-084445-1348987485.6385.wav")?in?new?stack
????--?Executing?[s@macro-record-enable:25]?MacroExit("Local/115@from-queue-740d;2",?"")?in?new?stack
????--?Executing?[115@from-internal:15]?Set("Local/115@from-queue-740d;2",?"RingGroupMethod=ringallv2")?in?new?stack
????--?Executing?[115@from-internal:16]?Set("Local/115@from-queue-740d;2",?"_FMGRP=115")?in?new?stack
????--?Executing?[115@from-internal:17]?GotoIf("Local/115@from-queue-740d;2",?"0?doconfirm")?in?new?stack
????--?Executing?[115@from-internal:18]?Macro("Local/115@from-queue-740d;2",?"dial,60,trM(auto-blkvm),115")?in?new?stack
????--?Executing?[s@macro-dial:1]?GotoIf("Local/115@from-queue-740d;2",?"0?dial")?in?new?stack
????--?Executing?[s@macro-dial:2]?SetMusicOnHold("Local/115@from-queue-740d;2",?"netstreamad")?in?new?stack
????--?Executing?[s@macro-dial:3]?AGI("Local/115@from-queue-740d;2",?"dialparties.agi")?in?new?stack
????--?Launched?AGI?Script?/var/lib/asterisk/agi-bin/dialparties.agi
??==?Begin?MixMonitor?Recording?Local/115@from-queue-740d;2
[Sep?30?08:44:45]?WARNING[15535]:?format_wav.c:144?check_header:?Read?failed?(type)
[Sep?30?08:44:45]?WARNING[15535]:?file.c:376?fn_wrapper:?Unable?to?open?format?wav
[Sep?30?08:44:45]?WARNING[15535]:?res_musiconhold.c:327?ast_moh_files_next:?Unable?to?open?file?'/var/lib/asterisk/mohmp3/.nomusic_reserved/silence':?No?such?file?or?dy
????--?Stopped?music?on?hold?on?DAHDI/4-1
?dialparties.agi:?Starting?New?Dialparties.agi
?dialparties.agi:?Caller?ID?name?is?'xxx3494'?number?is?'xxx3494'
???????>?dialparties.agi:?USE_CONFIRMATION:??'FALSE'
???????>?dialparties.agi:?RINGGROUP_INDEX:???''
?dialparties.agi:?Methodology?of?ring?is??'ringallv2'
????--?dialparties.agi:?Added?extension?115?to?extension?map
???????>?dialparties.agi:?got?fmgrp_prering:?2,?fmgrp_grptime:?60
???????>?dialparties.agi:?fmgrp_totalprering:?62
???????>?dialparties.agi:?found?extension?in?pre-ring?and?array
???????>?dialparties.agi:?ringallv2?ring?times:?REALPRERING:?62,?PRERING:?2
???????>?dialparties.agi:?Extension?115?has?call?screening?off
????--?dialparties.agi:?Extension?115?cf?is?disabled
????--?dialparties.agi:?Extension?115?do?not?disturb?is?disabled
???????>?dialparties.agi:?extnum?115?has:??cw:?1;?hascfb:?0?[]?hascfu:?0?[]
????--?dialparties.agi:?dbset?CALLTRACE/115?to?xxx3494
????--?dialparties.agi:?Filtered?ARG3:?115
???????>?dialparties.agi:?NODEST:?115?blkvm?enabled?macro?already?in?dialopts:?trM(auto-blkvm)
???????>?dialparties.agi:?NODEST:?115?blkvm?enabled?macro?already?in?dialopts:?trM(auto-blkvm)
????--?<Local/115@from-queue-740d;2>AGI?Script?dialparties.agi?completed,?returning?0
????--?Executing?[s@macro-dial:7]?Dial("Local/115@from-queue-740d;2",?"SIP/115,62,trM(auto-blkvm)")?in?new?stack
??==?Using?SIP?RTP?TOS?bits?184
??==?Using?SIP?RTP?CoS?mark?5
????--?Called?SIP/115
????--?Local/115@from-queue-740d;1?is?ringing
????--?Local/115@from-queue-740d;1?connected?line?has?changed.?Saving?it?until?answer?for?DAHDI/4-1
????--?Local/115@from-queue-740d;1?connected?line?has?changed.?Saving?it?until?answer?for?DAHDI/4-1
????--?SIP/115-00000426?is?ringing
????--?Local/115@from-queue-740d;1?is?ringing
[Sep?30?08:44:46]?NOTICE[15535]:?chan_dahdi.c:2074?my_handle_dtmf:?Fax?detected,?but?no?fax?extension
??==?Spawn?extension?(ext-queues,?31,?11)?exited?non-zero?on?'DAHDI/4-1'
????--?Executing?[h@ext-queues:1]?Macro("DAHDI/4-1",?"hangupcall,")?in?new?stack
????--?Executing?[s@macro-hangupcall:1]?GotoIf("DAHDI/4-1",?"1?endmixmoncheck")?in?new?stack
????--?Goto?(macro-hangupcall,s,9)
????--?Executing?[s@macro-hangupcall:9]?NoOp("DAHDI/4-1",?"End?of?MIXMON?check")?in?new?stack
????--?Executing?[s@macro-hangupcall:10]?GotoIf("DAHDI/4-1",?"1?nomeetmemon")?in?new?stack
????--?Goto?(macro-hangupcall,s,15)
????--?Executing?[s@macro-hangupcall:15]?NoOp("DAHDI/4-1",?"MEETME_RECORDINGFILE=")?in?new?stack
????--?Executing?[s@macro-hangupcall:16]?GotoIf("DAHDI/4-1",?"1?noautomon")?in?new?stack
????--?Goto?(macro-hangupcall,s,18)
????--?Executing?[s@macro-hangupcall:18]?NoOp("DAHDI/4-1",?"TOUCH_MONITOR_OUTPUT=")?in?new?stack
????--?Executing?[s@macro-hangupcall:19]?GotoIf("DAHDI/4-1",?"0?noautomon2")?in?new?stack
????--?Executing?[s@macro-hangupcall:20]?System("DAHDI/4-1",?"test?-e?/var/spool/asterisk/monitor/q31-20120930-084436-1348987473.6382*")?in?new?stack
??==?Spawn?extension?(macro-dial,?s,?7)?exited?non-zero?on?'Local/115@from-queue-740d;2'?in?macro?'dial'
??==?Spawn?extension?(from-internal,?115,?18)?exited?non-zero?on?'Local/115@from-queue-740d;2'
????--?Executing?[h@from-internal:1]?Macro("Local/115@from-queue-740d;2",?"hangupcall")?in?new?stack
????--?Executing?[s@macro-hangupcall:1]?GotoIf("Local/115@from-queue-740d;2",?"0?endmixmoncheck")?in?new?stack
????--?Executing?[s@macro-hangupcall:2]?Set("Local/115@from-queue-740d;2",?"MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/g115-20120930-084445-1348987485.6385.wav")?k
????--?Executing?[s@macro-hangupcall:3]?GotoIf("Local/115@from-queue-740d;2",?"1?defaultmixmondir")?in?new?stack
????--?Goto?(macro-hangupcall,s,5)
????--?Executing?[s@macro-hangupcall:5]?System("Local/115@from-queue-740d;2",?"test?-e?/var/spool/asterisk/monitor/g115-20120930-084445-1348987485.6385.wav")?in?new?stk
????--?Executing?[s@macro-hangupcall:6]?NoOp("Local/115@from-queue-740d;2",?"SYSTEMSTATUS?=?APPERROR")?in?new?stack
????--?Executing?[s@macro-hangupcall:7]?GotoIf("Local/115@from-queue-740d;2",?"0?endmixmoncheck")?in?new?stack
????--?Executing?[s@macro-hangupcall:8]?Set("Local/115@from-queue-740d;2",?"CDR(userfield)=")?in?new?stack
????--?Executing?[s@macro-hangupcall:9]?NoOp("Local/115@from-queue-740d;2",?"End?of?MIXMON?check")?in?new?stack
????--?Executing?[s@macro-hangupcall:10]?GotoIf("Local/115@from-queue-740d;2",?"1?nomeetmemon")?in?new?stack
????--?Goto?(macro-hangupcall,s,15)
????--?Executing?[s@macro-hangupcall:15]?NoOp("Local/115@from-queue-740d;2",?"MEETME_RECORDINGFILE=")?in?new?stack
????--?Executing?[s@macro-hangupcall:16]?GotoIf("Local/115@from-queue-740d;2",?"1?noautomon")?in?new?stack
????--?Goto?(macro-hangupcall,s,18)
????--?Executing?[s@macro-hangupcall:18]?NoOp("Local/115@from-queue-740d;2",?"TOUCH_MONITOR_OUTPUT=")?in?new?stack
????--?Executing?[s@macro-hangupcall:19]?GotoIf("Local/115@from-queue-740d;2",?"1?noautomon2")?in?new?stack
????--?Goto?(macro-hangupcall,s,25)
????--?Executing?[s@macro-hangupcall:25]?NoOp("Local/115@from-queue-740d;2",?"MONITOR_FILENAME=")?in?new?stack
????--?Executing?[s@macro-hangupcall:26]?GotoIf("Local/115@from-queue-740d;2",?"1?skiprg")?in?new?stack
????--?Goto?(macro-hangupcall,s,29)
????--?Executing?[s@macro-hangupcall:29]?GotoIf("Local/115@from-queue-740d;2",?"1?skipblkvm")?in?new?stack
????--?Goto?(macro-hangupcall,s,32)
????--?Executing?[s@macro-hangupcall:32]?GotoIf("Local/115@from-queue-740d;2",?"1?theend")?in?new?stack
????--?Goto?(macro-hangupcall,s,34)
????--?Executing?[s@macro-hangupcall:34]?Hangup("Local/115@from-queue-740d;2",?"")?in?new?stack
??==?Spawn?extension?(macro-hangupcall,?s,?34)?exited?non-zero?on?'Local/115@from-queue-740d;2'?in?macro?'hangupcall'
??==?Spawn?extension?(from-internal,?h,?1)?exited?non-zero?on?'Local/115@from-queue-740d;2'
??==?End?MixMonitor?Recording?Local/115@from-queue-740d;2
????--?Executing?[s@macro-hangupcall:21]?NoOp("DAHDI/4-1",?"SYSTEMSTATUS?=?APPERROR")?in?new?stack
????--?Executing?[s@macro-hangupcall:22]?GotoIf("DAHDI/4-1",?"1?errornoautomon")?in?new?stack
????--?Goto?(macro-hangupcall,s,24)
????--?Executing?[s@macro-hangupcall:24]?NoOp("DAHDI/4-1",?"End?of?MONITOR?QUEUE?check")?in?new?stack
????--?Executing?[s@macro-hangupcall:25]?NoOp("DAHDI/4-1",?"MONITOR_FILENAME=/var/spool/asterisk/monitor/q31-20120930-084436-1348987473.6382")?in?new?stack
????--?Executing?[s@macro-hangupcall:26]?GotoIf("DAHDI/4-1",?"1?skiprg")?in?new?stack
????--?Goto?(macro-hangupcall,s,29)
????--?Executing?[s@macro-hangupcall:29]?GotoIf("DAHDI/4-1",?"0?skipblkvm")?in?new?stack
????--?Executing?[s@macro-hangupcall:30]?NoOp("DAHDI/4-1",?"Cleaning?Up?Block?VM?Flag:?BLKVM/31/DAHDI/4-1")?in?new?stack
????--?Executing?[s@macro-hangupcall:31]?NoOp("DAHDI/4-1",?"Deleting:?BLKVM/31/DAHDI/4-1?TRUE")?in?new?stack
????--?Executing?[s@macro-hangupcall:32]?GotoIf("DAHDI/4-1",?"1?theend")?in?new?stack
????--?Goto?(macro-hangupcall,s,34)
????--?Executing?[s@macro-hangupcall:34]?Hangup("DAHDI/4-1",?"")?in?new?stack
??==?Spawn?extension?(macro-hangupcall,?s,?34)?exited?non-zero?on?'DAHDI/4-1'?in?macro?'hangupcall'
??==?Spawn?extension?(ext-queues,?h,?1)?exited?non-zero?on?'DAHDI/4-1'
????--?Hanging?up?on?'DAHDI/4-1'
????--?Hungup?'DAHDI/4-1'
??==?Done?Spying?on?channel?DAHDI/4-1
????--?Remote?UNIX?connection
????--?Remote?UNIX?connection?disconnected
xp10*CLI>?



Disconnected from Asterisk server
==================================================
[root@xp10 ~]# cat /etc/asterisk/dahdi-channels.conf
Code:

;?Autogenerated?by?/usr/sbin/dahdi_genconf?on?Sun?Sep??2?14:38:10?2012
;?If?you?edit?this?file?and?execute?/usr/sbin/dahdi_genconf?again,
;?your?manual?changes?will?be?LOST.
;?Dahdi?Channels?Configurations?(chan_dahdi.conf)
;
;?This?is?not?intended?to?be?a?complete?chan_dahdi.conf.?Rather,?it?is?intended
;?to?be?#include-d?by?/etc/chan_dahdi.conf?that?will?include?the?global?settings
;

;?Span?1:?ATCOM-1600P/16?"ATCOM?AX1600P/800P?Board?17"?(MASTER)?
;;;?line="1?ATCOM-1600P/16/0?FXSKS??(In?use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel?=>?1
callerid=
group=
context=default

;;;?line="2?ATCOM-1600P/16/1?FXSKS??(In?use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel?=>?2
callerid=
group=
context=default

;;;?line="3?ATCOM-1600P/16/2?FXSKS??(In?use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel?=>?3
callerid=
group=
context=default

;;;?line="4?ATCOM-1600P/16/3?FXSKS??(In?use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel?=>?4
callerid=
group=
context=default
;busydetect=4
;busycount=yes

;;;?line="5?ATCOM-1600P/16/4?FXSKS??(In?use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel?=>?5
callerid=
group=
context=default

;;;?line="6?ATCOM-1600P/16/5?FXSKS??(In?use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel?=>?6
callerid=
group=
context=default

;;;?line="7?ATCOM-1600P/16/6?FXSKS??(In?use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel?=>?7
callerid=
group=
context=default

;;;?line="8?ATCOM-1600P/16/7?FXSKS??(In?use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel?=>?8
callerid=
group=
context=default


Code:

[root@xp10?~]#?cat?/etc/asterisk/chan_dahdi.conf
[trunkgroups]

[channels]
context=from-pstn
signalling=fxs_ks
rxwink=300??????????????;?Atlas?seems?to?use?long?(250ms)?winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=both
echotraining=800
;rxgain=0.0
;txgain=0.0
rxgain=1.2
txgain=2.5
callgroup=1
pickupgroup=1

;Uncomment?these?lines?if?you?have?problems?with?the?disconection?of?your?analog?lines
busydetect=yes

;busycount=13??
;using?busydetect?13?it?cause?a?problem?in?hangup
busycount=6
;busycount=8?;?after?using?this?,?it?mad?an?echo?;
;using?4?it?no?autohangup?,?but?there?is?interrupt?when?calling?outbound?calls?
;busypattern=500,500?
;hanguponpolarityswitch=yes
;cidstart=polarity
;cidstart=ring
;when?using?cidstart=dtmf?,?the?calls?are?no?longer?being?recived?on?server
;hanguponpolarityswitch=yes
immediate=yes
;ringtimeout=5000?;?when?
;cidsignalling=dtmf
;cidstart=ring

#include?dahdi-channels.conf
#include?chan_dahdi_additional.conf


======================
Kernel
Linux(i386)-2.6.18-238.12.1.el5

Elastix
elastix-2.2.0-14
elastix-firstboot-2.2.0-5
elastix-system-2.2.0-14
elastix-email_admin-2.2.0-9
elastix-vtigercrm-5.1.0-8
elastix-extras-2.0.4-4
elastix-asterisk-sounds-1.2.3-1
elastix-my_extension-2.2.0-5
elastix-agenda-2.2.0-5
elastix-a2billing-1.8.1-16
elastix-addons-2.2.0-4
elastix-im-2.0.4-2
elastix-pbx-2.2.0-14
elastix-security-2.2.0-7
elastix-reports-2.2.0-6
elastix-fax-2.2.0-4

RounCubeMail
RoundCubeMail-0.3.1-10

Mail
postfix-2.3.3-2.3.el5_6
cyrus-imapd-2.3.7-12.el5_7.1

IM
openfire-3.5.1-2

FreePBX
freePBX-2.8.1-7

Asterisk
asterisk-1.8.7.0-0
asterisk-perl-0.10-2
asterisk-addons-1.8.7.0-0

FAX
hylafax-4.3.10-2rhel5
iaxmodem-1.2.0-1.1

DRIVERS
dahdi-2.4.1.2-5
rhino-0.99.4-2.rc1
wanpipe-util-3.5.23-1
=========================

whish this info help to Tshoot the fax detection issue

regards
Ahmad

Source: http://www.elx.ec/index.php/en/component/kunena/3-help/110020-fax-is-no-is-being-recived-just-ring-and-hang-.html

jay z new song torrie wilson alabama lsu bcs national championship bcs championship bcs national championship 2012 university of alabama

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.