DID not always working on extensions

I am havign a serious issue with freepbx where a did is assigned to an extension, and it will work for 20 calls from the same num,ber (testing), then it will all of a sudden ring in on the main incoming route for one call, then start ringing in on the extension it is tied to again.

I have experienced this on all versions of Freepbx 2.4, and with 4-5 clients servers that are utilizing DID’s. this is only happening on SIP trunking as far as I can tell. i haven’t had a chance to test it on multiple carriers that we are SIp trunking with.

I am using fax detection in Freepbx, so that might also have a hand in it…

any ideas?

it sounds like your sip provider is screwing up once in a while and not providing the proper information.

What you need to do is set your verbose level to 5 (at the asterisk cli type set verbose 5) then wait for a call that screws up to come in and look at the output from the console to see if they are not providing the DID properly. once you have that info and can prove it call your provider and ask why. But without a copy of the output from a failed call versus a good call it’s hard to tell you anything.

best guess would be related to fax detection. But you are going to need to provide a log trace of the rogue call when it is not going to the extension properly to see what is going on. Best would be 2 traces, add the trace where it is properly working also.

This is where the DID comes in fine, and does the faxdetection, then somehow skips and rings in as any number in the default Any DID, Any CID inbound route.

<Connect*CLI>
– Executing [8154395050@from-trunk:1] Set(“SIP/8154366000-b740bda0”, “__FROM_DID=8154395050”) in new stack
– Executing [8154395050@from-trunk:2] GotoIf(“SIP/8154366000-b740bda0”, “1 ?cidok”) in new stack
– Goto (from-trunk,8154395050,4)
– Executing [8154395050@from-trunk:4] NoOp(“SIP/8154366000-b740bda0”, “CallerID is “Out of Area” <7733096500>”) in new stack
– Executing [8154395050@from-trunk:5] Set(“SIP/8154366000-b740bda0”, "[email protected]") in new stack
– Executing [8154395050@from-trunk:6] Answer(“SIP/8154366000-b740bda0”, “”) in new stack
– Executing [8154395050@from-trunk:7] PlayTones(“SIP/8154366000-b740bda0”, “ring”) in new stack
– Executing [8154395050@from-trunk:8] NVFaxDetect(“SIP/8154366000-b740bda0”, “0”) in new stack
– Executing [talk@from-trunk:1] NoOp(“SIP/8154366000-b740bda0”, “Catch-All DID Match - Found talk - You probably want a DID for this.”) in new stack
– Executing [talk@from-trunk:2] Goto(“SIP/8154366000-b740bda0”, “ext-did|s|1”) in new stack
– Goto (ext-did,s,1)
– Executing [s@ext-did:1] Set(“SIP/8154366000-b740bda0”, “__FROM_DID=s”) in new stack
– Executing [s@ext-did:2] Gosub(“SIP/8154366000-b740bda0”, “app-blacklist-check|s|1”) in new stack
– Executing [s@app-blacklist-check:1] LookupBlacklist(“SIP/8154366000-b740bda0”, “”) in new stack
– Executing [s@app-blacklist-check:2] GotoIf(“SIP/8154366000-b740bda0”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:3] Return(“SIP/8154366000-b740bda0”, “”) in new stack
– Executing [s@ext-did:3] GotoIf(“SIP/8154366000-b740bda0”, “1 ?cidok”) in new stack
– Goto (ext-did,s,5)
– Executing [s@ext-did:5] NoOp(“SIP/8154366000-b740bda0”, “CallerID is “Out of Area” <7733096500>”) in new stack
– Executing [s@ext-did:6] Set(“SIP/8154366000-b740bda0”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [s@ext-did:7] SetCallerPres(“SIP/8154366000-b740bda0”, “allowed_not_screened”) in new stack
– Executing [s@ext-did:8] Goto(“SIP/8154366000-b740bda0”, “app-daynight|0|1”) in new stack
– Goto (app-daynight,0,1)
– Executing [0@app-daynight:1] GotoIf(“SIP/8154366000-b740bda0”, “0?ext-local|vmu1000|1:app-daynight|1|1”) in new stack
– Goto (app-daynight,1,1)
– Executing [1@app-daynight:1] GotoIf(“SIP/8154366000-b740bda0”, “0?ext-group|602|1:ext-group|601|1”) in new stack
– Goto (ext-group,601,1)
– Executing [601@ext-group:1] Macro(“SIP/8154366000-b740bda0”, “user-callerid|”) in new stack
– Executing [s@macro-user-callerid:1] NoOp(“SIP/8154366000-b740bda0”, “user-callerid: Out of Area 7733096500”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/8154366000-b740bda0”, “AMPUSER=7733096500”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/8154366000-b740bda0”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/8154366000-b740bda0”, “1|Set|REALCALLERIDNUM=7733096500”) in new stack
– Executing [s@macro-user-callerid:5] NoOp(“SIP/8154366000-b740bda0”, “REALCALLERIDNUM is 7733096500”) in new stack
– Executing [s@macro-user-callerid:6] Set(“SIP/8154366000-b740bda0”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/8154366000-b740bda0”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“SIP/8154366000-b740bda0”, “1?report”) in new stack
– Goto (macro-user-callerid,s,13)
– Executing [s@macro-user-callerid:13] NoOp(“SIP/8154366000-b740bda0”, "TTL: ARG1: ") in new stack
– Executing [s@macro-user-callerid:14] GotoIf(“SIP/8154366000-b740bda0”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:15] Set(“SIP/8154366000-b740bda0”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:16] GotoIf(“SIP/8154366000-b740bda0”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing [s@macro-user-callerid:23] NoOp(“SIP/8154366000-b740bda0”, “Using CallerID “Out of Area” <7733096500>”) in new stack
– Executing [601@ext-group:2] GotoIf(“SIP/8154366000-b740bda0”, “1?skipdb”) in new stack
– Goto (ext-group,601,4)
– Executing [601@ext-group:4] Set(“SIP/8154366000-b740bda0”, “__NODEST=”) in new stack
– Executing [601@ext-group:5] Set(“SIP/8154366000-b740bda0”, “__BLKVM_OVERRIDE=BLKVM/601/SIP/8154366000-b740bda0”) in new stack
– Executing [601@ext-group:6] Set(“SIP/8154366000-b740bda0”, “__BLKVM_BASE=601”) in new stack
– Executing [601@ext-group:7] Set(“SIP/8154366000-b740bda0”, “DB(BLKVM/601/SIP/8154366000-b740bda0)=TRUE”) in new stack
– Executing [601@ext-group:8] Set(“SIP/8154366000-b740bda0”, “RRNODEST=”) in new stack
– Executing [601@ext-group:9] Set(“SIP/8154366000-b740bda0”, “__NODEST=601”) in new stack
– Executing [601@ext-group:10] GotoIf(“SIP/8154366000-b740bda0”, “1?REPCID”) in new stack
– Goto (ext-group,601,15)
– Executing [601@ext-group:15] NoOp(“SIP/8154366000-b740bda0”, “CALLERID(name) is Out of Area”) in new stack
– Executing [601@ext-group:16] Set(“SIP/8154366000-b740bda0”, “_RGPREFIX=Main:”) in new stack
– Executing [601@ext-group:17] Set(“SIP/8154366000-b740bda0”, “CALLERID(name)=Main:Out of Area”) in new stack
– Executing [601@ext-group:18] Set(“SIP/8154366000-b740bda0”, “RecordMethod=Group”) in new stack
– Executing [601@ext-group:19] Macro(“SIP/8154366000-b740bda0”, “record-enable|1000-1001-3070|Group”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“SIP/8154366000-b740bda0”, “0?2:4”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] AGI(“SIP/8154366000-b740bda0”, “recordingcheck|20080812-170317|1218556995.8291”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080812-170317|1218556995.8291: PHPAGI internal configuration:
recordingcheck|20080812-170317|1218556995.8291: Array
recordingcheck|20080812-170317|1218556995.8291: (
recordingcheck|20080812-170317|1218556995.8291: [festival] => Array
recordingcheck|20080812-170317|1218556995.8291: (
recordingcheck|20080812-170317|1218556995.8291: [text2wave] => /usr/src/festival/bin/text2wave
recordingcheck|20080812-170317|1218556995.8291: [tempdir] => /var/lib/asterisk/sounds/tmp/
recordingcheck|20080812-170317|1218556995.8291: )
recordingcheck|20080812-170317|1218556995.8291:
recordingcheck|20080812-170317|1218556995.8291: [phpagi] => Array
recordingcheck|20080812-170317|1218556995.8291: (
recordingcheck|20080812-170317|1218556995.8291: [debug] => 1
recordingcheck|20080812-170317|1218556995.8291: [error_handler] => 1
recordingcheck|20080812-170317|1218556995.8291: [admin] => [email protected]
recordingcheck|20080812-170317|1218556995.8291: [hostname] => connect.realtyexecutivessuccess.com
recordingcheck|20080812-170317|1218556995.8291: [tempdir] => /var/spool/asterisk/tmp/
recordingcheck|20080812-170317|1218556995.8291: )
recordingcheck|20080812-170317|1218556995.8291:
recordingcheck|20080812-170317|1218556995.8291: [asmanager] => Array
recordingcheck|20080812-170317|1218556995.8291: (
recordingcheck|20080812-170317|1218556995.8291: [server] => localhost
recordingcheck|20080812-170317|1218556995.8291: [port] => 5038
recordingcheck|20080812-170317|1218556995.8291: [username] => admin
recordingcheck|20080812-170317|1218556995.8291: [secret] => amp111
recordingcheck|20080812-170317|1218556995.8291: )
recordingcheck|20080812-170317|1218556995.8291:
recordingcheck|20080812-170317|1218556995.8291: [cepstral] => Array
recordingcheck|20080812-170317|1218556995.8291: (
recordingcheck|20080812-170317|1218556995.8291: [swift] => /opt/swift/bin/swift
recordingcheck|20080812-170317|1218556995.8291: [voice] => David
recordingcheck|20080812-170317|1218556995.8291: )
recordingcheck|20080812-170317|1218556995.8291:
recordingcheck|20080812-170317|1218556995.8291: )
recordingcheck|20080812-170317|1218556995.8291:
– AGI Script recordingcheck completed, returning 0
– Executing [s@macro-record-enable:5] NoOp(“SIP/8154366000-b740bda0”, “No recording needed”) in new stack
– Executing [601@ext-group:20] Set(“SIP/8154366000-b740bda0”, “RingGroupMethod=ringall”) in new stack
– Executing [601@ext-group:21] Macro(“SIP/8154366000-b740bda0”, “dial|20|tr|1000-1001-3070”) in new stack
– Executing [s@macro-dial:1] GotoIf(“SIP/8154366000-b740bda0”, “1?dial”) in new stack
– Goto (macro-dial,s,3)
– Executing [s@macro-dial:3] AGI(“SIP/8154366000-b740bda0”, “dialparties.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: PHPAGI internal configuration:
dialparties.agi: Array
dialparties.agi: (
dialparties.agi: [festival] => Array
dialparties.agi: (
dialparties.agi: [text2wave] => /usr/src/festival/bin/text2wave
dialparties.agi: [tempdir] => /var/lib/asterisk/sounds/tmp/
dialparties.agi: )
dialparties.agi:
dialparties.agi: [phpagi] => Array
dialparties.agi: (
dialparties.agi: [debug] => 1
dialparties.agi: [error_handler] => 1
dialparties.agi: [admin] => [email protected]
dialparties.agi: [hostname] => connect.realtyexecutivessuccess.com
dialparties.agi: [tempdir] => /var/spool/asterisk/tmp/
dialparties.agi: )
dialparties.agi:
dialparties.agi: [asmanager] => Array
dialparties.agi: (
dialparties.agi: [server] => localhost
dialparties.agi: [port] => 5038
dialparties.agi: [username] => admin
dialparties.agi: [secret] => amp111
dialparties.agi: )
dialparties.agi:
dialparties.agi: [cepstral] => Array
dialparties.agi: (
dialparties.agi: [swift] => /opt/swift/bin/swift
dialparties.agi: [voice] => David
dialparties.agi: )
dialparties.agi:
dialparties.agi: )
dialparties.agi:
dialparties.agi: Starting New Dialparties.agi
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1
dialparties.agi: Caller ID name is ‘Main:Out of Area’ number is '7733096500’
dialparties.agi: USE_CONFIRMATION: 'FALSE’
dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is ‘ringall’
– dialparties.agi: Added extension 1000 to extension map
– dialparties.agi: Added extension 1001 to extension map
– dialparties.agi: Added extension 3070 to extension map
– dialparties.agi: Extension 1000 cf is disabled
– dialparties.agi: Extension 1001 cf is disabled
– dialparties.agi: Extension 3070 cf is disabled
– dialparties.agi: Extension 1000 do not disturb is disabled
– dialparties.agi: Extension 1001 do not disturb is disabled
– dialparties.agi: Extension 3070 do not disturb is disabled
> dialparties.agi: extnum 1000 has: cw: 1; hascfb: 0 [] hascfu: 0 []
– dialparties.agi: dbset CALLTRACE/1000 to 7733096500
> dialparties.agi: extnum 1001 has: cw: 1; hascfb: 0 [] hascfu: 0 []
– dialparties.agi: dbset CALLTRACE/1001 to 7733096500
> dialparties.agi: extnum 3070 has: cw: 1; hascfb: 0 [] hascfu: 0 []
– dialparties.agi: dbset CALLTRACE/3070 to 7733096500
– dialparties.agi: Filtered ARG3: 1000-1001-3070
> dialparties.agi: NODEST: 601 adding M(auto-blkvm) to dialopts: trM(auto-blkvm)
> dialparties.agi: NODEST: 601 blkvm enabled macro already in dialopts: trM(auto-blkvm)
== Manager ‘admin’ logged off from 127.0.0.1
– AGI Script dialparties.agi completed, returning 0
– Executing [s@macro-dial:7] Dial(“SIP/8154366000-b740bda0”, “SIP/1000&SIP/1001&SIP/3070|20|trM(auto-blkvm)”) in new stack
– Called 1000
– Called 1001
– Called 3070
– SIP/1000-084fc2f8 is ringing
– SIP/1001-0851b690 is ringing
– SIP/3070-084822d0 is ringing
== Spawn extension (macro-dial, s, 7) exited non-zero on ‘SIP/8154366000-b740bda0’ in macro ‘dial’
== Spawn extension (macro-dial, s, 7) exited non-zero on ‘SIP/8154366000-b740bda0’
– Executing [h@macro-dial:1] Macro(“SIP/8154366000-b740bda0”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] ResetCDR(“SIP/8154366000-b740bda0”, “w”) in new stack
– Executing [s@macro-hangupcall:2] NoCDR(“SIP/8154366000-b740bda0”, “”) in new stack
– Executing [s@macro-hangupcall:3] GotoIf(“SIP/8154366000-b740bda0”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing [s@macro-hangupcall:6] GotoIf(“SIP/8154366000-b740bda0”, “0?skipblkvm”) in new stack
– Executing [s@macro-hangupcall:7] NoOp(“SIP/8154366000-b740bda0”, “Cleaning Up Block VM Flag: BLKVM/601/SIP/8154366000-b740bda0”) in new stack
– Executing [s@macro-hangupcall:8] DBdel(“SIP/8154366000-b740bda0”, “BLKVM/601/SIP/8154366000-b740bda0”) in new stack
– DBdel: family=BLKVM, key=601/SIP/8154366000-b740bda0
– Executing [s@macro-hangupcall:9] GotoIf(“SIP/8154366000-b740bda0”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing [s@macro-hangupcall:11] Hangup(“SIP/8154366000-b740bda0”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/8154366000-b740bda0’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/8154366000-b740bda0’

This is where is works fine:

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2008.08.13 10:03:05 =~=~=~=~=~=~=~=~=~=~=~=

connect*CLI>

connect*CLI>

connect*CLI>

connect*CLI>

connect*CLI>

connect*CLI>

connect*CLI>

connect*CLI>

connect*CLI>

connect*CLI>

connect*CLI>

connect*CLI>

connect*CLI>

connect*CLI>

connect*CLI>

connect*CLI>

connect*CLI>

connect*CLI>

connect*CLI>

connect*CLI>
– Executing [8154395050@from-trunk:1] e[1;36;40mSete[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40m__FROM_DID=8154395050e[0;37;40m”) in new stack
– Executing [8154395050@from-trunk:2] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40m1 ?cidoke[0;37;40m”) in new stack
– Goto (from-trunk,8154395050,4)
– Executing [8154395050@from-trunk:4] e[1;36;40mNoOpe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mCallerID is “Out of Area” <7733096500>e[0;37;40m”) in new stack
– Executing [8154395050@from-trunk:5] e[1;36;40mSete[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;[email protected][0;37;40m”) in new stack
– Executing [8154395050@from-trunk:6] e[1;36;40mAnswere[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40me[0;37;40m”) in new stack
– Executing [8154395050@from-trunk:7] e[1;36;40mPlayTonese[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, " e[1;35;40mringe[0;37;40m") in new stack
– Executing [8154395050@from-trunk:8] e[1;36;40mNVFaxDetecte[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40m0e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [8154395050@from-trunk:9] e[1;36;40mGotoe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mfrom-did-direct|5050|1e[0;37;40m”) in new stack
– Goto (from-did-direct,5050,1)
– Executing [5050@from-did-direct:1] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40m1?ext-local|5050|1e[0;37;40m”) in new stack
– Goto (ext-local,5050,1)
– Executing [5050@ext-local:1] e[1;36;40mMacroe[0;37;40m(“e[1;35;40mSIP/8154366000-08514 d58e[0;37;40m”, “e[1;35;40mexten-vm|5050|5050e[0;37;40m”) in new stack
– Executing [s@macro-exten-vm:1] e[1;36;40mMacroe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40muser-calleride[0;37;40m”) in new stack
– Executing [s@macro-user-callerid:1] e[1;36;40mNoOpe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40muser-callerid: Out of Area 7733096500e[0;37;40m”) in new stack
– Executing [s@macro-user-callerid:2] e[1;36;40mSete[0;37;40m(“e[1;35;40mSIP/81543 66000-08514d58e[0;37;40m”, “e[1;35;40mAMPUSER=7733096500e[0;37;40m”) in new stack
– Executing [s@macro-user-callerid:3] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40m0?reporte[0;37;40m”) in new stack
– Executing [s@macro-user-callerid:4] e[1;36;40mExecIfe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40m1|Set|REALCALLERIDNUM=7733096500e[0;37;40m”) in new stack
– Executing [s@macro-user-callerid:5] e[1;36;40mNoOpe[0;37;40m(“e[1;35;40 mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mREALCALLERIDNUM is 7733096500e[0;37;40m”) in new stack
– Executing [s@macro-user-callerid:6] e[1;36;40mSete[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mAMPUSER=e[0;37;40m”) in new stack
– Executing [s@macro-user-callerid:7] e[1;36;40mSete[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mAMPUSERCIDNAME=e[0;37;40m”) in new stack
– Executing [s@macro-user-callerid:8] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40 mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40m1?reporte[0;37;40m”) in new stack
– Goto (macro-user-callerid,s,13)
– Executing [s@macro-user-callerid:13] e[1;36;40mNoOpe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mTTL: ARG1: 5050e[0;37;40m”) in new stack
– Executing [s@macro-user-callerid:14] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40m0?continuee[0;37;40m”) in new stack
– Executing [s@macro-user-callerid:15] e[1;36;4 0mSete[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40m__TTL=64e[0;37;40m”) in new stack
– Executing [s@macro-user-callerid:16] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40m1?continuee[0;37;40m”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing [s@macro-user-callerid:23] e[1;36;40mNoOpe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mUsing CallerID “Out of Area” <7733096500>e[0;37;40m”) in new stack
– Executing [s@macro-exten-vm:2] e[1;36;40mSete[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mRingGroupMethod=nonee[0;37;40m”) in new stack
– Executing [s@macro-exten-vm:3] e[1;36;40mSete[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mVMBOX=5050e[0;37;40m”) in new stack
– Executing [s@macro-exten-vm:4] e[1;36;40mSete[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mEXTTOCALL=5050e[0;37;40m”) in new stack
– Executing [s@macro-exten-vm:5] e[1;36;40mSete[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mCFUEXT=e[0;37;40m”) in new stack
– Executing [s@macro-exten-vm:6] e[1;36;40mSete[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mCFBEXT=e[0;37;40m”) in new stack
– Executing [s@macro-exten-vm:7] e[1;36;40mSete[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mRT=45e[0;37;40m”) in new stack
– Executing [s@macro-exten-vm:8] e[1;36;40mMa croe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mrecord-enable|5050|INe[0;37;40m”) in new stack
– Executing [s@macro-record-enable:1] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40m0?2:4e[0;37;40m”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] e[1;36;40mAGIe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mrecordingcheck|20080813-160037|1218639632.9148e[0;37;40m”) in new s tack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: PHPAGI internal configuration:

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: Array

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: (

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: [festival] => Array

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: (

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: [text2wave] => /usr/src/festival/bin/text2wave

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: [tempdir] => /var/lib/asterisk/sounds/tmp/

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: )

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148:

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: [phpagi] => Array

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: (

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: [debug] => 1

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: [error_handler] => 1

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: [admin] => [email protected]

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: [hostname] => connect.realtyexecutivessuccess.com

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: [tempdir] => /var/spool/asterisk/tmp/

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: )

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148:

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: [asmanager] => Array

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: (

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: [server] => localhost

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: [port] => 5038

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: [username] => admin

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: [secret] => amp111

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: )

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148:

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: [cepstral] => Array

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: (

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: [swift] => /opt/swift/bin/swift

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: [voice] => David

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: )

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148:

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: )

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148:

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639632.9148: Inbound recording not enabled

e[Kconnect*CLI>
– AGI Script recordingcheck completed, returning 0
– Executing [s@macro-record-enable:5] e[1;36;40mNoOpe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mNo recording needede[0;37;40m”) in new stack
– Executing [s@macro-exten-vm:9] e[1;36;40mMacroe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mdial|45|tr|5050e[0;37;40m”) in new stack
– Executing [s@macro-dial:1] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;4 0m1?diale[0;37;40m”) in new stack
– Goto (macro-dial,s,3)
– Executing [s@macro-dial:3] e[1;36;40mAGIe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mdialparties.agie[0;37;40m”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: PHPAGI internal configuration:

e[Kconnect*CLI>
dialparties.agi: Array

e[Kconnect*CLI>
dialparties.agi: (

e[Kconnect*CLI>
dialparties.agi: [festival] => Array

e[Kconnect*CLI>
dialparties.agi: (

e[Kconnect*CLI>
dialparties.agi: [text2wave] => /usr/src/festival/bin/text2wave

e[Kconnect*CLI>
dialparties.agi: [tempdir] => /var/lib/asterisk/sounds/tmp/

e[Kconnect*CLI>
dialparties.agi: )

e[Kconnect*CLI>
dialparties.agi:

e[Kconnect*CLI>
dialparties.agi: [phpagi] => Array

e[Kconnect*CLI>
dialparties.agi: (

e[Kconnect*CLI>
dialparties.agi: [debug] => 1

e[Kconnect*CLI>
dialparties.agi: [error_handler] => 1

e[Kconnect*CLI>
dialparties.agi: [admin] => [email protected]

e[Kconnect*CLI>
dialparties.agi: [hostname] => connect.realtyexecutivessuccess.com

e[Kconnect*CLI>
dialparties.agi: [tempdir] => /var/spool/asterisk/tmp/

e[Kconnect*CLI>
dialparties.agi: )

e[Kconnect*CLI>
dialparties.agi:

e[Kconnect*CLI>
dialparties.agi: [asmanager] => Array

e[Kconnect*CLI>
dialparties.agi: (

e[Kconnect*CLI>
dialparties.agi: [server] => localhost

e[Kconnect*CLI>
dialparties.agi: [port] => 5038

e[Kconnect*CLI>
dialparties.agi: [username] => admin

e[Kconnect*CLI>
dialparties.agi: [secret] => amp111

e[Kconnect*CLI>
dialparties.agi: )

e[Kconnect*CLI>
dialparties.agi:

e[Kconnect*CLI>
dialparties.agi: [cepstral] => Array

e[Kconnect*CLI>
dialparties.agi: (

e[Kconnect*CLI>
dialparties.agi: [swift] => /opt/swift/bin/swift

e[Kconnect*CLI>
dialparties.agi: [voice] => David

e[Kconnect*CLI>
dialparties.agi: )

e[Kconnect*CLI>
dialparties.agi:

e[Kconnect*CLI>
dialparties.agi: )

e[Kconnect*CLI>
dialparties.agi:

e[Kconnect*CLI>
dialparties.agi: Starting New Dialparties.agi

e[Kconnect*CLI>
== Parsing ‘/etc/asterisk/manager.conf’: Found

e[Kconnect*CLI>
== Parsing ‘/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1
dialparties.agi: Caller ID name is ‘Out of Area’ number is ‘7733096500’

e[Kconnect*CLI>
dialparties.agi: USE_CONFIRMATION: ‘FALSE’

e[Kconnect*CLI>
dialparties.agi: RINGGROUP_INDEX: ‘’

e[Kconnect*CLI>
dialparties.agi: Methodology of ring is ‘none’

e[Kconnect*CLI>
– dialparties.agi: Added extension 5050 to extension map

e[Kconnect*CLI>
dialparties.agi: Extension 5050 has call forward set to 8152609548

e[Kconnect*CLI>
> dialparties.agi: Primary ext is CF so disabling mastermode if it was set

e[Kconnect*CLI>
> dialparties.agi: extnum 8152609548# has: cw: 0; hascfb: 0 [] hascfu: 0 []

e[Kconnect*CLI>
> dialparties.agi: Built External dialstring component for 8152609548: Local/8152609548@from-internal/n

e[Kconnect*CLI>
– dialparties.agi: Filtered ARG3: 8152609548

e[Kconnect*CLI>
== Manager ‘admin’ logged off from 127.0.0.1

e[Kconnect*CLI>
– AGI Script dialparties.agi completed, returning 0
– Executing [s@macro-dial:7] e[1;36;40mDiale[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mLocal/8152609548@from-internal/n|45|tre[0;37;40m”) in new stack
– Called 8152609548@from-internal/n
– Executing [8152609548@from-internal:1] e[1;36;40mMacroe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40muser-callerid|SKIPTTL|e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-user-callerid:1] e[1;36;40mNoOpe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40muser-callerid: Out of Area 7733096500e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-user-callerid:2] e[1;36;40mSete[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mAMPUSER=7733096500e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-user-callerid:3] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m1?reporte[0;37;40m”) in new stack

e[Kconnect*CLI>
– Goto (macro-user-callerid,s,13)

e[Kconnect*CLI>
– Executing [s@macro-user-callerid:13] e[1;36;40mNoOpe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mTTL: 64 ARG1: SKIPTTLe[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-user-callerid:14] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m1?continuee[0;37;40m”) in new stack

e[Kconnect*CLI>
– Goto (macro-user-callerid,s,23)

e[Kconnect*CLI>
– Executing [s@macro-user-callerid:23] e[1;36;40mNoOpe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mUsing CallerID “Out of Area” <7733096500>e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [8152609548@from-internal:2] e[1;36;40mSete[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m_NODEST=e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [8152609548@from-internal:3] e[1;36;40mMacroe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mrecord-enable|7733096500|OUT|e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-record-enable:1] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m0?2:4e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Goto (macro-record-enable,s,4)

e[Kconnect*CLI>
– Executing [s@macro-record-enable:4] e[1;36;40mAGIe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mrecordingcheck|20080813-160037|1218639637.9150e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: PHPAGI internal configuration:

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: Array

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: (

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: [festival] => Array

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: (

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: [text2wave] => /usr/src/festival/bin/text2wave

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: [tempdir] => /var/lib/asterisk/sounds/tmp/

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: )

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150:

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: [phpagi] => Array

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: (

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: [debug] => 1

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: [error_handler] => 1

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: [admin] => [email protected]

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: [hostname] => connect.realtyexecutivessuccess.com

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: [tempdir] => /var/spool/asterisk/tmp/

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: )

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150:

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: [asmanager] => Array

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: (

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: [server] => localhost

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: [port] => 5038

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: [username] => admin

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: [secret] => amp111

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: )

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150:

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: [cepstral] => Array

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: (

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: [swift] => /opt/swift/bin/swift

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: [voice] => David

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: )

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150:

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: )

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150:

e[Kconnect*CLI>
recordingcheck|20080813-160037|1218639637.9150: No AMPUSER db entry for 7733096500. Not recording

e[Kconnect*CLI>
– AGI Script recordingcheck completed, returning 0

e[Kconnect*CLI>
– Executing [s@macro-record-enable:5] e[1;36;40mNoOpe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mNo recording needede[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [8152609548@from-internal:4] e[1;36;40mMacroe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mdialout-trunk|2|8152609548||e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk:1] e[1;36;40mSete[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mDIAL_TRUNK=2e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk:2] e[1;36;40mExecIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m0|Authenticate|e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk:3] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m0?disabletrunk|1e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk:4] e[1;36;40mSete[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mDIAL_NUMBER=8152609548e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk:5] e[1;36;40mSete[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mDIAL_TRUNK_OPTIONS=tre[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk:6] e[1;36;40mSete[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mGROUP()=OUT_2e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk:7] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m0?nomaxe[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk:8] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m0?chanfulle[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk:9] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m0?skipoutcide[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk:10] e[1;36;40mSete[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mDIAL_TRUNK_OPTIONS=e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk:11] e[1;36;40mMacroe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40moutbound-callerid|2e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-outbound-callerid:1] e[1;36;40mExecIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m0|SetCallerPres|e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-outbound-callerid:2] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m0?starte[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-outbound-callerid:3] e[1;36;40mSete[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mREALCALLERIDNUM=7733096500e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-outbound-callerid:4] e[1;36;40mNoOpe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mREALCALLERIDNUM is 7733096500e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-outbound-callerid:5] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m0?normcide[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-outbound-callerid:6] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m0?normcide[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-outbound-callerid:7] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m0?normcide[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-outbound-callerid:8] e[1;36;40mSete[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mUSEROUTCID=7733096500e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-outbound-callerid:9] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m1?bypass:normcide[0;37;40m”) in new stack

e[Kconnect*CLI>
– Goto (macro-outbound-callerid,s,11)

e[Kconnect*CLI>
– Executing [s@macro-outbound-callerid:11] e[1;36;40mSete[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mEMERGENCYCID=e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-outbound-callerid:12] e[1;36;40mSete[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mTRUNKOUTCID=<8154366000>e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-outbound-callerid:13] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m1?trunkcide[0;37;40m”) in new stack

e[Kconnect*CLI>
– Goto (macro-outbound-callerid,s,17)

e[Kconnect*CLI>
– Executing [s@macro-outbound-callerid:17] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m0?usercide[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-outbound-callerid:18] e[1;36;40mSete[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mCALLERID(all)=<8154366000>e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-outbound-callerid:19] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m0?reporte[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-outbound-callerid:20] e[1;36;40mSete[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mCALLERID(all)=7733096500e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-outbound-callerid:21] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m1?report:hidecide[0;37;40m”) in new stack

e[Kconnect*CLI>
– Goto (macro-outbound-callerid,s,23)

e[Kconnect*CLI>
– Executing [s@macro-outbound-callerid:23] e[1;36;40mNoOpe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mCallerID set to “” <7733096500>e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk:12] e[1;36;40mAGIe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mfixlocalprefixe[0;37;40m”) in new stack

e[Kconnect*CLI>
– Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix

e[Kconnect*CLI>
fixlocalprefix: PHPAGI internal configuration:

e[Kconnect*CLI>
fixlocalprefix: Array

e[Kconnect*CLI>
fixlocalprefix: (

e[Kconnect*CLI>
fixlocalprefix: [festival] => Array

e[Kconnect*CLI>
fixlocalprefix: (

e[Kconnect*CLI>
fixlocalprefix: [text2wave] => /usr/src/festival/bin/text2wave

e[Kconnect*CLI>
fixlocalprefix: [tempdir] => /var/lib/asterisk/sounds/tmp/

e[Kconnect*CLI>
fixlocalprefix: )

e[Kconnect*CLI>
fixlocalprefix:

e[Kconnect*CLI>
fixlocalprefix: [phpagi] => Array

e[Kconnect*CLI>
fixlocalprefix: (

e[Kconnect*CLI>
fixlocalprefix: [debug] => 1

e[Kconnect*CLI>
fixlocalprefix: [error_handler] => 1

e[Kconnect*CLI>
fixlocalprefix: [admin] => [email protected]

e[Kconnect*CLI>
fixlocalprefix: [hostname] => connect.realtyexecutivessuccess.com

e[Kconnect*CLI>
fixlocalprefix: [tempdir] => /var/spool/asterisk/tmp/

e[Kconnect*CLI>
fixlocalprefix: )

e[Kconnect*CLI>
fixlocalprefix:

e[Kconnect*CLI>
fixlocalprefix: [asmanager] => Array

e[Kconnect*CLI>
fixlocalprefix: (

e[Kconnect*CLI>
fixlocalprefix: [server] => localhost

e[Kconnect*CLI>
fixlocalprefix: [port] => 5038

e[Kconnect*CLI>
fixlocalprefix: [username] => admin

e[Kconnect*CLI>
fixlocalprefix: [secret] => amp111

e[Kconnect*CLI>
fixlocalprefix: )

e[Kconnect*CLI>
fixlocalprefix:

e[Kconnect*CLI>
fixlocalprefix: [cepstral] => Array

e[Kconnect*CLI>
fixlocalprefix: (

e[Kconnect*CLI>
fixlocalprefix: [swift] => /opt/swift/bin/swift

e[Kconnect*CLI>
fixlocalprefix: [voice] => David

e[Kconnect*CLI>
fixlocalprefix: )

e[Kconnect*CLI>
fixlocalprefix:

e[Kconnect*CLI>
fixlocalprefix: )

e[Kconnect*CLI>
fixlocalprefix:

e[Kconnect*CLI>
> fixlocalprefix: Using pattern 1+NXXNXXXXXX

e[Kconnect*CLI>
== fixlocalprefix: Dialpattern 1+NXXNXXXXXX matched. 8152609548 -> 18152609548

e[Kconnect*CLI>
– AGI Script fixlocalprefix completed, returning 0

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk:13] e[1;36;40mSete[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mOUTNUM=18152609548e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk:14] e[1;36;40mSete[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mcustom=SIP/SIPConnecte[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk:15] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m1?gocalle[0;37;40m”) in new stack

e[Kconnect*CLI>
– Goto (macro-dialout-trunk,s,17)

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk:17] e[1;36;40mMacroe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mdialout-trunk-predial-hook|e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk-predial-hook:1] e[1;36;40mExece[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mSipAddHeader(Diversion:sip:[email protected];user=phone)e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk:18] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m0?bypass|1e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk:19] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m0?customtrunke[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-dialout-trunk:20] e[1;36;40mDiale[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mSIP/SIPConnect/18152609548|300|e[0;37;40m”) in new stack

e[Kconnect*CLI>
– Called SIPConnect/18152609548

e[Kconnect*CLI>
== Spawn extension (macro-dial, s, 7) exited non-zero on ‘SIP/8154366000-08514d58’ in macro ‘dial’
== Spawn extension (macro-dial, s, 7) exited non-zero on ‘SIP/8154366000-08514d58’ in macro ‘exten-vm’
== Spawn extension (macro-dial, s, 7) exited non-zero on ‘SIP/8154366000-08514d58’
– Executing [h@macro-dial:1] e[1;36;40mMacroe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mhangupcalle[0;37;40m”) in new stack
– Executing [s@macro-hangupcall:1] e[1;36;40mResetCDRe[0 ;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40mwe[0;37;40m”) in new stack
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on ‘Local/8152609548@from-internal-ad0a,2’ in macro ‘dialout-trunk’
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on ‘Local/8152609548@from-internal-ad0a,2’
– Executing [h@macro-dialout-trunk:1] e[1;36;40mMacroe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mhangupcall|e[0;37;40m”) in new stack
– Executing [s@macro-hangupcall:1] e[1;36;40mResetCDRe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40mwe[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-hangupcall:2] e[1;36;40mNoCDRe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40me[0;37;40m”) in new stack
– Executing [s@macro-hangupcall:3] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40m1?skiprge[0;37;40m”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing [s@macro-hangupcall:6] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40m1?skipblkvme[0;37;40m”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40m1?theende[0;37;40m”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing [s@macro-hangupcall:11] e[1;36;40mHangupe[0;37;40m(“e[1;35;40mSIP/8154366000-08514d58e[0;37;40m”, “e[1;35;40me[0;37;40m”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/8154366000-08514d58’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/8154366000-08514d58’

e[Kconnect*CLI>
– Executing [s@macro-hangupcall:2] e[1;36;40mNoCDRe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40me[0;37;40m”) in new stack

e[Kconnect*CLI>
– Executing [s@macro-hangupcall:3] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m1?skiprge[0;37;40m”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing [s@macro-hangupcall:6] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m1?skipblkvme[0;37;40m”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mLocal/815 2609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40m1?theende[0;37;40m”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing [s@macro-hangupcall:11] e[1;36;40mHangupe[0;37;40m(“e[1;35;40mLocal/8152609548@from-internal-ad0a,2e[0;37;40m”, “e[1;35;40me[0;37;40m”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘Local/8152609548@from-internal-ad0a,2’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘Local/8152609548@from-in ternal-ad0a,2’

e[Kconnect*CLI>

It’s your NVFaxDetect which is responding on the talk extension which does not exist. I believe NVFaxDetect supports a ‘t’ option to tell it to ignore talk detect. Can you manually put that into the extension_additional.conf file. (Or search here or the bug tracker where I once addressed this, asked for feedback and I don’t recall if I got any or what the result was). There is a patch there or somewhere for functions.inc.php that will generate the code with talk detect disabled. If you can do this, and run through enough tests to confirm that the issue is resolved, then you can submit a bug report to the tracker indicating such and we can modify the code to add this option.

Sounds good. I will try it this afternoon. I just need to change the functions.inc.php file, and then reapply the changes correct?
It should be in the admin folder, right?

I will change the config file first, and test it before chaging the functions.inc.php file. Thanks for your help on this…

change it in the config folder first. And do some checking on the bug tracker, I’m pretty sure I supplied a patch that could be used to test this same issue a few weeks ago so there may be other feedback or info on it.

I tried your patch, but it did not work. The problem is that it uses a comma after the initial detection time, not a |. The corrected patch is below. I have tested it, and it does seem to work better. I will test on a few client boxes for a few days, and let you know if it keeps happening…

Index: functions.inc.php

— functions.inc.php (revision 5765)
+++ functions.inc.php (working copy)
@@ -791,7 +791,7 @@
if ($item[‘answer’] == “2”) { // NVFaxDetect
$ext->add($context, $exten, ‘’, new ext_answer(’’));
$ext->add($context, $exten, ‘’, new ext_playtones(‘ring’));

  •                                           $ext->add($context, $exten, '', new ext_nvfaxdetect($item['wait']));
    
  •                                           $ext->add($context, $exten, '', new ext_nvfaxdetect($item['wait']."|t"));
                                      }
                                      if ($item['privacyman'] == "1") {
                                              $ext->add($context, $exten, '', new ext_macro('privacy-mgr'));
    

sounds good, what version of asterisk are you running that it is sensitive to a , vs | since 1.2 and 1.4 are still happy with both? In any event, if you find that this appears to conclusively address the issue, then post a bug in the tracker along with the final solution that you tested and confirmed. That will make sure it gets seen and addressed vs. here where we may miss it. thanks.

Ok. I have this fix setup on 5 servers, and have not heard a peep aboput any mor eissues. This was driving me crazy.

I was doing a bit of research on the NXFaxdetect application and I found this:

YOU ARE FINISHED IF YOU SEE A CLI MESSAGE SAYING:
This application listens for fax tones (on IAX and SIP channels too)
for waitdur seconds of time. In addition, it can be interrupted by digits,
or non-silence. Audio is only monitored in the receive direction. If
digits interrupt, they must be the start of a valid extension unless the
option is included to ignore. If fax is detected, it will jump to the
’fax’ extension. If a period of non-silence greater than ‘mindur’ ms,
yet less than ‘maxdur’ ms is followed by silence at least ‘sildur’ ms
then the app is aborted and processing jumps to the ‘talk’ extension.
If all undetected, control will continue at the next priority.
waitdur: Maximum number of seconds to wait (default=4)

IF YOU LOOK AT IT THERE ARE 3 DESTINATIONS…

If fax is detected, go to “Fax” context
If it hears talking, go to the “talk” Context
And if it detects nothing, it will continue to the next line in the current context. By adding the |t to the detection, it will disable the listening for talk, so it will not send the call to the “talk” extension (which by the way is the main default Incoming DID/CID) for us anyway…

Again, I have tested this out on 5 servers with as small as 10 users and another server that has 150 users. It is workling perfectly… Please ad this into the trunk… I will create a new bug, and provide the fix. Thanks for you help on this…