I am using asterisk version 1.2.6 with Zaptel version 1.2.5. I have a POTs line coming into a Digium TDM01B. It appears to not be getting CID at all. If I hook up a POTS phone to the line CID comes through fine. Inbound and outbound calls work fine but there is just no CID on inbound for this channel.The incoming route for the channel is Zaptel Channel 0. No DID or CID settings applied. My IP routes inbound are providing CID with no issue. Here is the output from the log when a call is coming in: -- Starting simple switch on 'Zap/1-1' -- Executing NoOp("Zap/1-1", "Entering from-zaptel with DID == ") in new stack -- Executing Set("Zap/1-1", "DID=s") in new stack -- Executing NoOp("Zap/1-1", "DID is now s") in new stack -- Executing GotoIf("Zap/1-1", "1?zapok:notzap") in new stack -- Goto (from-zaptel,s,7) -- Executing NoOp("Zap/1-1", "Is a Zaptel Channel") in new stack -- Executing Set("Zap/1-1", "CHAN=1-1") in new stack -- Executing Set("Zap/1-1", "CHAN=1") in new stack -- Executing Macro("Zap/1-1", "from-zaptel-1|s|1") in new stack -- Executing NoOp("Zap/1-1", "Returned from Macro from-zaptel-1") in new stack -- Executing Goto("Zap/1-1", "ext-did|s|1") in new stack -- Goto (ext-did,s,1) -- Executing Set("Zap/1-1", "FROM_DID=s") in new stack -- Executing Goto("Zap/1-1", "ext-local|200|1") in new stack -- Goto (ext-local,200,1) -- Executing Macro("Zap/1-1", "exten-vm|200|200") in new stack -- Executing Macro("Zap/1-1", "user-callerid") in new stack -- Executing GotoIf("Zap/1-1", "0?report") in new stack -- Executing GotoIf("Zap/1-1", "0?start") in new stack -- Executing Set("Zap/1-1", "REALCALLERIDNUM=") in new stack -- Executing NoOp("Zap/1-1", "REALCALLERIDNUM is ") in new stack -- Executing Set("Zap/1-1", "AMPUSER=") in new stack -- Executing Set("Zap/1-1", "AMPUSERCIDNAME=") in new stack -- Executing GotoIf("Zap/1-1", "1?report") in new stack -- Goto (macro-user-callerid,s,9) -- Executing NoOp("Zap/1-1", "Using CallerID "" <>") in new stack -- Executing Set("Zap/1-1", "FROMCONTEXT=exten-vm") in new stack -- Executing Set("Zap/1-1", "VMBOX=200") in new stack -- Executing Set("Zap/1-1", "EXTTOCALL=200") in new stack -- Executing Set("Zap/1-1", "CFUEXT=") in new stack -- Executing Set("Zap/1-1", "RT=25") in new stack -- Executing Macro("Zap/1-1", "record-enable|200|IN") in new stack -- Executing GotoIf("Zap/1-1", "0 > 0?2:4") in new stack -- Goto (macro-record-enable,s,4) -- Executing AGI("Zap/1-1", "recordingcheck|20060609-095557|1149864957.408") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck recordingcheck|20060609-095557|1149864957.408: Inbound recording not enabled -- AGI Script recordingcheck completed, returning 0 -- Executing NoOp("Zap/1-1", "No recording needed") in new stack -- Executing GotoIf("Zap/1-1", "0?dolocaldial|1") in new stack -- Executing Macro("Zap/1-1", "dial|25|tr|200") in new stack -- Executing AGI("Zap/1-1", "dialparties.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi dialparties.agi: Starting New Dialparties.agi -- dialparties.agi: priority is 1 dialparties.agi: Caller ID name is 'unknown' number is 'unknown' dialparties.agi: Methodology of ring is 'none' -- dialparties.agi: Added extension 200 to extension map -- dialparties.agi: Extension 200 cf is disabled -- dialparties.agi: Extension 200 do not disturb is disabled == Parsing '/etc/asterisk/manager.conf': Found == Manager 'admin' logged on from 127.0.0.1 == Manager 'admin' logged off from 127.0.0.1 -- dialparties.agi: Checking CW and CFB status for extension 200 -- dialparties.agi: DbSet CALLTRACE/200 to unknown -- AGI Script dialparties.agi completed, returning 0 -- Executing Dial("Zap/1-1", "SIP/200|25|tr") in new stack Any help would be appreciated. Thanks Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060609/4c48932c/attachment.htm
Thanks for sharing that info. How about sharing your zapata.conf configuration so that someone can look at it and maybe see if there is a problem. I'm guessing you want help with this. On 6/9/06, Curt Shaffer <cshaffer@gmail.com> wrote:> > > > > I am using asterisk version 1.2.6 with Zaptel version 1.2.5. I have a POTs > line coming into a Digium TDM01B. It appears to not be getting CID at all. > If I hook up a POTS phone to the line CID comes through fine. Inbound and > outbound calls work fine but there is just no CID on inbound for this > channel.The incoming route for the channel is Zaptel Channel 0. No DID or > CID settings applied. My IP routes inbound are providing CID with no issue. > > > > > > Here is the output from the log when a call is coming in: > > > > -- Starting simple switch on 'Zap/1-1' > > -- Executing NoOp("Zap/1-1", "Entering from-zaptel with DID == ") in new > stack > > -- Executing Set("Zap/1-1", "DID=s") in new stack > > -- Executing NoOp("Zap/1-1", "DID is now s") in new stack > > -- Executing GotoIf("Zap/1-1", "1?zapok:notzap") in new stack > > -- Goto (from-zaptel,s,7) > > -- Executing NoOp("Zap/1-1", "Is a Zaptel Channel") in new stack > > -- Executing Set("Zap/1-1", "CHAN=1-1") in new stack > > -- Executing Set("Zap/1-1", "CHAN=1") in new stack > > -- Executing Macro("Zap/1-1", "from-zaptel-1|s|1") in new stack > > -- Executing NoOp("Zap/1-1", "Returned from Macro from-zaptel-1") in new > stack > > -- Executing Goto("Zap/1-1", "ext-did|s|1") in new stack > > -- Goto (ext-did,s,1) > > -- Executing Set("Zap/1-1", "FROM_DID=s") in new stack > > -- Executing Goto("Zap/1-1", "ext-local|200|1") in new stack > > -- Goto (ext-local,200,1) > > -- Executing Macro("Zap/1-1", "exten-vm|200|200") in new stack > > -- Executing Macro("Zap/1-1", "user-callerid") in new stack > > -- Executing GotoIf("Zap/1-1", "0?report") in new stack > > -- Executing GotoIf("Zap/1-1", "0?start") in new stack > > -- Executing Set("Zap/1-1", "REALCALLERIDNUM=") in new stack > > -- Executing NoOp("Zap/1-1", "REALCALLERIDNUM is ") in new stack > > -- Executing Set("Zap/1-1", "AMPUSER=") in new stack > > -- Executing Set("Zap/1-1", "AMPUSERCIDNAME=") in new stack > > -- Executing GotoIf("Zap/1-1", "1?report") in new stack > > -- Goto (macro-user-callerid,s,9) > > -- Executing NoOp("Zap/1-1", "Using CallerID "" <>") in new stack > > -- Executing Set("Zap/1-1", "FROMCONTEXT=exten-vm") in new stack > > -- Executing Set("Zap/1-1", "VMBOX=200") in new stack > > -- Executing Set("Zap/1-1", "EXTTOCALL=200") in new stack > > -- Executing Set("Zap/1-1", "CFUEXT=") in new stack > > -- Executing Set("Zap/1-1", "RT=25") in new stack > > -- Executing Macro("Zap/1-1", "record-enable|200|IN") in new stack > > -- Executing GotoIf("Zap/1-1", "0 > 0?2:4") in new stack > > -- Goto (macro-record-enable,s,4) > > -- Executing AGI("Zap/1-1", > "recordingcheck|20060609-095557|1149864957.408") in new > stack > > -- Launched AGI Script > /var/lib/asterisk/agi-bin/recordingcheck > > recordingcheck|20060609-095557|1149864957.408: Inbound > recording not enabled > > -- AGI Script recordingcheck completed, returning 0 > > -- Executing NoOp("Zap/1-1", "No recording needed") in new stack > > -- Executing GotoIf("Zap/1-1", "0?dolocaldial|1") in new stack > > -- Executing Macro("Zap/1-1", "dial|25|tr|200") in new stack > > -- Executing AGI("Zap/1-1", "dialparties.agi") in new stack > > -- Launched AGI Script > /var/lib/asterisk/agi-bin/dialparties.agi > > dialparties.agi: Starting New Dialparties.agi > > -- dialparties.agi: priority is 1 dialparties.agi: Caller ID name is > 'unknown' number is 'unknown' > > dialparties.agi: Methodology of ring is 'none' > > -- dialparties.agi: Added extension 200 to extension map > > -- dialparties.agi: Extension 200 cf is disabled > > -- dialparties.agi: Extension 200 do not disturb is disabled > > == Parsing '/etc/asterisk/manager.conf': Found > > == Manager 'admin' logged on from 127.0.0.1 > > == Manager 'admin' logged off from 127.0.0.1 > > -- dialparties.agi: Checking CW and CFB status for extension 200 > > -- dialparties.agi: DbSet CALLTRACE/200 to unknown > > -- AGI Script dialparties.agi completed, returning 0 > > -- Executing Dial("Zap/1-1", "SIP/200|25|tr") in new stack > > > > Any help would be appreciated. > > > > > > > > Thanks > > > > Curt > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > >-- Tom Vile Baldwin Technology Solutions, Inc Consulting - Web Design - VoIP Telephony www.baldwintechsolutions.com Phone: 518-631-2855 x205 Fax: 518-631-2856
Someone mentioned that it may need a pause because the CID is sent between ring 1 and ring 2. So now if this is the case, I am trying to enter this pause. I am using freePBX 2.1.0 for configuration. So I went into extensions.conf to find the from-zaptel and this is what I tried to add: [from-zaptel] exten => _X.,1,Wait(2) exten => _X.,n,Set(DID=${EXTEN}) exten => _X.,n,Goto(s,1) exten => s,1,NoOp(Entering from-zaptel with DID == ${DID}) ; If ($did == "") { $did = "s"; } The wait statement seems to be ignored. Can anyone out there point me to the right direction to get this to function properly? On 6/9/06, Curt Shaffer <cshaffer@gmail.com> wrote:> > I am using asterisk version 1.2.6 with Zaptel version 1.2.5. I have a > POTs line coming into a Digium TDM01B. It appears to not be getting CID at > all. If I hook up a POTS phone to the line CID comes through fine. Inbound > and outbound calls work fine but there is just no CID on inbound for this > channel.The incoming route for the channel is Zaptel Channel 0. No DID or > CID settings applied. My IP routes inbound are providing CID with no issue. > > > > > > Here is the output from the log when a call is coming in: > > > > -- Starting simple switch on 'Zap/1-1' > > -- Executing NoOp("Zap/1-1", "Entering from-zaptel with DID == ") in > new stack > > -- Executing Set("Zap/1-1", "DID=s") in new stack > > -- Executing NoOp("Zap/1-1", "DID is now s") in new stack > > -- Executing GotoIf("Zap/1-1", "1?zapok:notzap") in new stack > > -- Goto (from-zaptel,s,7) > > -- Executing NoOp("Zap/1-1", "Is a Zaptel Channel") in new stack > > -- Executing Set("Zap/1-1", "CHAN=1-1") in new stack > > -- Executing Set("Zap/1-1", "CHAN=1") in new stack > > -- Executing Macro("Zap/1-1", "from-zaptel-1|s|1") in new stack > > -- Executing NoOp("Zap/1-1", "Returned from Macro from-zaptel-1") in > new stack > > -- Executing Goto("Zap/1-1", "ext-did|s|1") in new stack > > -- Goto (ext-did,s,1) > > -- Executing Set("Zap/1-1", "FROM_DID=s") in new stack > > -- Executing Goto("Zap/1-1", "ext-local|200|1") in new stack > > -- Goto (ext-local,200,1) > > -- Executing Macro("Zap/1-1", "exten-vm|200|200") in new stack > > -- Executing Macro("Zap/1-1", "user-callerid") in new stack > > -- Executing GotoIf("Zap/1-1", "0?report") in new stack > > -- Executing GotoIf("Zap/1-1", "0?start") in new stack > > -- Executing Set("Zap/1-1", "REALCALLERIDNUM=") in new stack > > -- Executing NoOp("Zap/1-1", "REALCALLERIDNUM is ") in new stack > > -- Executing Set("Zap/1-1", "AMPUSER=") in new stack > > -- Executing Set("Zap/1-1", "AMPUSERCIDNAME=") in new stack > > -- Executing GotoIf("Zap/1-1", "1?report") in new stack > > -- Goto (macro-user-callerid,s,9) > > -- Executing NoOp("Zap/1-1", "Using CallerID "" <>") in new stack > > -- Executing Set("Zap/1-1", "FROMCONTEXT=exten-vm") in new stack > > -- Executing Set("Zap/1-1", "VMBOX=200") in new stack > > -- Executing Set("Zap/1-1", "EXTTOCALL=200") in new stack > > -- Executing Set("Zap/1-1", "CFUEXT=") in new stack > > -- Executing Set("Zap/1-1", "RT=25") in new stack > > -- Executing Macro("Zap/1-1", "record-enable|200|IN") in new stack > > -- Executing GotoIf("Zap/1-1", "0 > 0?2:4") in new stack > > -- Goto (macro-record-enable,s,4) > > -- Executing AGI("Zap/1-1", > "recordingcheck|20060609-095557|1149864957.408") in new stack > > -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck > > recordingcheck|20060609-095557|1149864957.408: Inbound recording not > enabled > > -- AGI Script recordingcheck completed, returning 0 > > -- Executing NoOp("Zap/1-1", "No recording needed") in new stack > > -- Executing GotoIf("Zap/1-1", "0?dolocaldial|1") in new stack > > -- Executing Macro("Zap/1-1", "dial|25|tr|200") in new stack > > -- Executing AGI("Zap/1-1", "dialparties.agi") in new stack > > -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi > > dialparties.agi: Starting New Dialparties.agi > > -- dialparties.agi: priority is 1 dialparties.agi: Caller ID name is > 'unknown' number is 'unknown' > > dialparties.agi: Methodology of ring is 'none' > > -- dialparties.agi: Added extension 200 to extension map > > -- dialparties.agi: Extension 200 cf is disabled > > -- dialparties.agi: Extension 200 do not disturb is disabled > > == Parsing '/etc/asterisk/manager.conf': Found > > == Manager 'admin' logged on from 127.0.0.1 > > == Manager 'admin' logged off from 127.0.0.1 > > -- dialparties.agi: Checking CW and CFB status for extension 200 > > -- dialparties.agi: DbSet CALLTRACE/200 to unknown > > -- AGI Script dialparties.agi completed, returning 0 > > -- Executing Dial("Zap/1-1", "SIP/200|25|tr") in new stack > > > > Any help would be appreciated. > > > > > > > > Thanks > > > > Curt >-- Curt Shaffer,MCSA,MCSE Security+, Network+ Certified IP Telephony Sepcialist 202-470-6892 (home) 1-309-412-4809 (efax) 202-470-6893 (Business) 570-207-1822 (fax) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060609/348e4d55/attachment.htm