Re: [asterisk-users] app_rpt and chan_usbradio removal from trunk

2012-02-25 Thread Tzafrir Cohen
On Thu, Feb 23, 2012 at 11:56:12AM -0600, Josh Freeman wrote:
> Just to inform the list -
> 
> App_rpt and chan_usbradio are still regularly used and maintained, but
> now live in a repository at ohnosec.org along with the forked-off builds
> of Asterisk 1.4 and Zaptel that are required to have them work properly.
> 
> I'm told there is some fundamental incompatibility between canonical
> Zaptel/DAHDI and the radio application that can't be effectively worked
> around, or would take more effort than it would be worth to fix and keep
> up with DAHDI changes. This was the motivation for forking Asterisk and
> maintaining a separate codebase.

I'd appreciate some more details. Is it related to dahdi_cfg? pciradio
(is it still used?) ?

Bug reports would be welcomed.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Is Asterisk 10 available in Digium Repository? I doesn't show up

2012-02-25 Thread Jason Parker
yum and rpm do not support downgrades.  You can try using `yum shell` to
uninstall one version and install another version in one transaction, but you'll
have to go it alone.

On 02/25/2012 11:49 AM, Ast Coder wrote:
> Thanks Jason.
> 
> One more question: Is there anyway to go back on an Asterisk version when 
> using
> the repository? For example, Asterisk 1.8.9.2 is available now. But I want to
> use 1.8.9.1. Can I downgrade somehow? I want to test NAT bug issue.
> 
> Thanks
> 
> On Thu, Feb 23, 2012 at 11:15 AM, Jason Parker  > wrote:
> 
> On 02/23/2012 10:09 AM, Ast Coder wrote:
> > Hi,
> >
> > I have followed instruction
> > on
> 
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages#AsteriskPackages-Prerequisites
> to
> > add Digium Asterisk repositories but doing a, "yum search asterisk" 
> only shows
> > me Asterisk 1.4, 1.6, and 1.8. There is no Asterisk 10 and "yum install
> > asterisk10" fails. Am I missing something? or Asterisk 10 is just no 
> available
> > in binary?
> >
> > Thanks,
> >
> 
> There are now repositories for each major version of Asterisk, which have 
> to be
> explicitly enabled to use them.
> 
> `yum update` to get to the latest of everything, then do `yum update
> --enablerepo=asterisk-10`.  Asterisk 10 will be installed, and that 
> repository
> will be enabled permanently.  I'll add that information to the wiki 
> shortly.
> 

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Is Asterisk 10 available in Digium Repository? I doesn't show up

2012-02-25 Thread Ast Coder
Thanks Jason.

One more question: Is there anyway to go back on an Asterisk version when
using the repository? For example, Asterisk 1.8.9.2 is available now. But I
want to use 1.8.9.1. Can I downgrade somehow? I want to test NAT bug issue.

Thanks

On Thu, Feb 23, 2012 at 11:15 AM, Jason Parker  wrote:

> On 02/23/2012 10:09 AM, Ast Coder wrote:
> > Hi,
> >
> > I have followed instruction
> > on
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages#AsteriskPackages-Prerequisitesto
> > add Digium Asterisk repositories but doing a, "yum search asterisk" only
> shows
> > me Asterisk 1.4, 1.6, and 1.8. There is no Asterisk 10 and "yum install
> > asterisk10" fails. Am I missing something? or Asterisk 10 is just no
> available
> > in binary?
> >
> > Thanks,
> >
>
> There are now repositories for each major version of Asterisk, which have
> to be
> explicitly enabled to use them.
>
> `yum update` to get to the latest of everything, then do `yum update
> --enablerepo=asterisk-10`.  Asterisk 10 will be installed, and that
> repository
> will be enabled permanently.  I'll add that information to the wiki
> shortly.
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>   http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Asterisk and realtime

2012-02-25 Thread Andrew Nowrot
Hi

I am using asterisk 10.1.3

When user hangs up during playing audio files in Background used in
realtime extensions with postgres I am getting this log on the
console:
[Feb  1 23:04:54] ERROR[4831]: res_config_pgsql.c:166 _pgsql_exec:
PostgreSQL RealTime: Failed to query 'extensions_conf@asterisk'.
[Feb  1 23:04:54] ERROR[4831]: res_config_pgsql.c:167 _pgsql_exec:
PostgreSQL RealTime: Query Failed: SELECT * FROM extensions_conf WHERE
exten LIKE '�%' AND context = 'Ivr-main' AND priority = '1'
[Feb  1 23:04:54] ERROR[4831]: res_config_pgsql.c:168 _pgsql_exec:
PostgreSQL RealTime: Query Failed because: ERROR:  postgres invalid
byte sequence for encoding "UTF8": 0xff
 (PGRES_FATAL_ERROR)
In never happend during execution of other applications in realtime;
always in Background.

I have reported this in issues.asterisk.org/jira:
https://issues.asterisk.org/jira/browse/ASTERISK-19291
but I also want to ask you for an opinion.

My dialplan looks like this:

[incoming]

exten => 0X,1,Answer() ; X are to hide the number
exten => 0X,2,Goto(incoming,s,10)

exten => s,10,Set(TRANSFER_CONTEXT=Inside)
exten => s,11,GotoIfTime(07:00-16:00,mon-fri,*,*?Ivr-main,s,1)
exten => s,12,Playback(ivr/welcome&ivr/hours&ivr/thankyou)
exten => s,13,Hangup()

[Ivr-main]

switch => Realtime/${CONTEXT}@extensions


extensons_conf table in postgresql database

id  | context  | exten | priority |app |
  appdata
-+--+---+--++-
 190 | Ivr-main | 1 |1 | Goto   | Inside,10,1
 191 | Ivr-main | 2 |1 | Goto   | Inside,11,1
 192 | Ivr-main | 3 |1 | Goto   | Inside,12,1
 193 | Ivr-main | 4 |1 | Goto   | Inside,13,1
 194 | Ivr-main | 5 |1 | Goto   | Inside,14,1
 197 | Ivr-main | h |1 | Hangup |
 195 | Ivr-main | i |1 | Goto   | Ivr-main,s,1
 188 | Ivr-main | s |1 | Wait   | 1
 189 | Ivr-main | s |2 | Background |
ivr/welcome2&ivr/hours&ivr/operator&ivr/sales&ivr/accountants&ivr/technical&ivr/marketing&ivr/warehouse&ivr/thankyou
 196 | Ivr-main | t |1 | Goto   | Inside,10,1
 198 | Ivr-main | _XX   |1 | Goto   | Inside,${EXTEN},1


Does anyone have similar behaviour?
What can i do to fix this?

Best Regards

Andrew

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users