sean darcy
2008-Aug-30 17:32 UTC
[asterisk-users] beta9: how to set callerid on incoming iax?
iax.conf: [nhi] ; receives calls type=friend secret=password context=longdistance qualify=yes trunk=yes callerid="test" <447> extensions.conf: [longdistance] exten =>_1NXXNXXXXXX,1,Answer() exten =>_1NXXNXXXXXX,n,NoOp(${CALLERID(num)} first stanza) exten =>_1NXXNXXXXXX,n,Dial(Zap/g0/${EXTEN}) exten =>_1NXXNXXXXXX,n,Congestion() exten =>_1NXXNXXXXXX,n,Busy() exten =>_1NXXNXXXXXX,n,Hangup() from cli: Executing [xxx at longdistance:1] Answer("IAX2/nhi-2", "") in new stack Executing [xxx at longdistance:2] NoOp("IAX2/nhi-2", " first stanza") in new stack Executing [xxx at longdistance:4] Dial("IAX2/nhi-2", "Zap/g0/xxx") in new stack So extensions.conf see the _channel_ as the callerid(num). Is this a bug, or am I messing something up? sean
sean darcy
2008-Aug-30 17:50 UTC
[asterisk-users] beta9: how to set callerid on incoming iax?
sean darcy wrote:> iax.conf: > > [nhi] ; receives calls > type=friend > secret=password > context=longdistance > qualify=yes > trunk=yes > callerid="test" <447> > > > extensions.conf: > > [longdistance] > > exten =>_1NXXNXXXXXX,1,Answer() > exten =>_1NXXNXXXXXX,n,NoOp(${CALLERID(num)} first stanza) > exten =>_1NXXNXXXXXX,n,Dial(Zap/g0/${EXTEN}) > exten =>_1NXXNXXXXXX,n,Congestion() > exten =>_1NXXNXXXXXX,n,Busy() > exten =>_1NXXNXXXXXX,n,Hangup() > > from cli: > > Executing [xxx at longdistance:1] Answer("IAX2/nhi-2", "") in new stack > Executing [xxx at longdistance:2] NoOp("IAX2/nhi-2", " first stanza") in > new stack > Executing [xxx at longdistance:4] Dial("IAX2/nhi-2", "Zap/g0/xxx") in new stack > > So extensions.conf see the _channel_ as the callerid(num). Is this a > bug, or am I messing something up? >No not the channel, it's the blank before "first stanza". Why's it blank? sean