[Asterisk-Users] No CID on ZAP

Curt Shaffer cshaffer at gmail.com
Fri Jun 9 07:57:48 MST 2006


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


More information about the asterisk-users mailing list