[asterisk-users] polarity on some channels

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Oct 22 02:33:03 CDT 2009


On Thu, Oct 22, 2009 at 01:03:15AM +0300, B.Masoud @ SH wrote:
> It's not caller ID issue,
> 
> I can make asterisk answer the line by omitting the line
> answeronpolarityswitch=no , 

answeronpolarityswitch = *yes*; right?

> but this will take effect on all 24 TDM
> channels, I want some to have answer on polarity, and some without polarity.

answeronpolarityswitch = yes
channels => 1-4,8-10

answeronpolarityswitch = no
channels => 5-7,11-24

Or, if you have asterisk >= 1.6.1:

[polarity](!)
answeronpolarityswitch = yes

[first-ones](polarity)
dahdichan = 1-4

[second-ones]
dahdichan = 5-7

[third-ones](polarity)
dahdichan = 8-10

[fourth-ones]
dahdichan = 11-24


-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list