Hello I have contacted my line provider who is saying that in order to get my 0845 or 0870 number to id as the incoming number on a landline that i may call i need the following. User must provide - NPI set to E.163/E.164 User must provide - TON = "national or international I have had a good search around and can't seem to find a good answer to this. Does anyone have any idea where i would set this and how. Best Regards Simon
> User must provide - TON = "national or internationalAdd pridialplan=national before just above your "channel =>..." line in zapata.conf to set TON to national for outgoing calls. NPI will be always be set to E.164 afaik. Now set callerid to 845 or 870 without the leading 0. Thilo
Simon wrote:>Hello > >I have contacted my line provider who is saying that in order to get my 0845 >or 0870 number to id as the incoming number on a landline that i may call i >need the following. > >User must provide - NPI set to E.163/E.164 > > >User must provide - TON = "national or international > >I have had a good search around and can't seem to find a good answer to >this. Does anyone have any idea where i would set this and how. > >Best Regards >Simon > >* makes bundles out of NPI and TON, and calls them the pridialplan. I find this annoying, but then some people find me annoying, Look in zapata.conf Regards, Steve
Hello, I need to check red alarms status from the script, but asterisk CLI "zap show channel 1" or "pri show span 1" does not tell me this. zttool does, but I can run it only in interactive curses mode. Is there any ready solution? Best Regards, Ivan
nothing ready, but is pretty simple to strip away all newt stuff from zttool and make the output go to stdout... On Wed, 2004-06-23 at 18:45, asterisk@spindrift.on.ca wrote:> Hello, > > I need to check red alarms status from the script, but asterisk CLI "zap > show channel 1" or "pri show span 1" does not tell me this. > zttool does, but I can run it only in interactive curses mode. > Is there any ready solution? > > Best Regards, > Ivan > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Brancaleoni Matteo <mbrancaleoni@espia.it> Espia Srl
On Wed, Jun 23, 2004 at 12:45:59PM -0400, asterisk@spindrift.on.ca wrote:> I need to check red alarms status from the script, but asterisk CLI "zap > show channel 1" or "pri show span 1" does not tell me this. > zttool does, but I can run it only in interactive curses mode. > Is there any ready solution?If you `cat /proc/zaptel/1` (substituting 1 with whatever span/card you would like to check, you should be able to see the alarm state of the card. Matthew Fredrickson
Matthew, Thanks a lot, that worked. Ivan Gostev creslin@digium.com wrote:> On Wed, Jun 23, 2004 at 12:45:59PM -0400, asterisk@spindrift.on.ca wrote: > >>I need to check red alarms status from the script, but asterisk CLI "zap >>show channel 1" or "pri show span 1" does not tell me this. >>zttool does, but I can run it only in interactive curses mode. >>Is there any ready solution? > > > If you `cat /proc/zaptel/1` (substituting 1 with whatever span/card > you would like to check, you should be able to see the alarm state of > the card. > > Matthew Fredrickson > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > . >