[asterisk-users] Controlling the channel

Doug Lytle support at drdos.info
Thu Sep 14 07:55:09 MST 2006


Hey everybody,

I've been struggling with this for a while and figured I'd ask.  I have 
a facility that is connected via a PRI to a Definity G3R, it does not 
pass caller id number, only name.  I see the following when this call is 
passed via IAX to one of our facilities:

    -- Accepting call from '' to '4899' on channel 0/1, span 1
    -- Executing NoOp("Zap/1-1", "Doug Lytle") in new stack
    -- Executing NoOp("Zap/1-1", "") in new stack
    -- Executing Dial("Zap/1-1", 
"IAX2/asterisk:xxxxxx at 192.168.102.15/4288") in new stack

I'm looking for a way to populate the Accepting call from ''

Is there a way to do this from the dial plan? 

Using Set(CALLERID(number=5574) does not work.

This is what it looks like when it's coming from a system that does send 
caller id number:

    -- Accepting call from '5574' to '4899' on channel 0/1, span 1
    -- Executing NoOp("Zap/1-1", "Lytle, Doug") in new stack
    -- Executing NoOp("Zap/1-1", "5574") in new stack
    -- Executing Dial("Zap/1-1", 
"IAX2/asterisk:xxxxxx at 192.168.102.15/4288") in new stack

Any suggestions?

Doug


-- 
 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."




More information about the asterisk-users mailing list