[asterisk-users] Recommended change to pjproject config_site.h

2016-12-07 Thread George Joseph
"*A problem was reported to the Asterisk project where transactions were
not **found when they should have been [1].  In the issue an incoming
INVITE transaction is CANCELed but the INVITE transaction cannot be found
so a 481 response is returned for the CANCEL.  The problematic calls have a
'_' **character in the Via branch parameter. *"
--Credit: Richard Mudgett

In the next Asterisk release, we have disabled PJ_HASH_USE_OWN_TOLOWER in
the bundled pjproject's config_site.h file.  If you build or package
pjproject yourself, we suggest you do the same.  We've also updated the
wiki[2] page.

/*
 * Do not ever enable PJ_HASH_USE_OWN_TOLOWER because the algorithm is
 * inconsistently used when calculating the hash value and doesn't
 * convert the same characters as pj_tolower()/tolower().  Thus you
 * can get different hash values if the string hashed has certain
 * characters in it.  (ASCII '@', '[', '\\', ']', '^', and '_')
 */
#undef PJ_HASH_USE_OWN_TOLOWER

[1] https://issues.asterisk.org/jira/browse/ASTERISK-26490
[2]
https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+pjproject

-- 
George Joseph
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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

Re: [asterisk-users] Asterisk Can't start with the default configs

2016-12-07 Thread Tzafrir Cohen
On Sun, Dec 04, 2016 at 08:00:45PM +0100, Mr Dini wrote:
> Hi,
> 
> I tried to run the make progdocs, but the first time, it said, I have no
> doxygen installed. So I compiled the latest release and reconfigure the
> asterisk. And after it, ut sucessfully started to build the docs. But it
> took a lot of time, So finally I aborted the process...
> 
> Is there a way to disable doc creating? The --disable-xmldoc is enough?

I must be missing something here. Isn't 'progdoc' an optional target?

The relevant XML documentation is doc/core-en_US.xml, which is generated
unconditionaly in the build and using awk, shell and make.

Another note: it is installed to the astdatadir. Which is indeed by
default var/lib/asterisk, but may have different values (build time or
set at run time in asterisk.conf).

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

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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


Re: [asterisk-users] Asterisk install challenge

2016-12-07 Thread Tzafrir Cohen
On Tue, Dec 06, 2016 at 06:35:07PM +0200, christopher kamutumwa wrote:
> am new to asterisk and am trying to "make all". or dahdi install but in
> only reach this stage below on centos 6.8 . Any idea how to resolve or
> bypass this
> 
> 
> configure: creating ./config.status
> ./configure: line 18858: cannot create temp file for here-document: No such
> file or directory
> configure: error: write failure creating ./config.status
> make: *** [all] Error 1


Not really sure. But maybe you're out of disk space? Can you create a
file?

  df -h .

Failing that: permission issues?

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

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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


Re: [asterisk-users] bash: asterisk: command not found

2016-12-07 Thread Jonathan H
Did you actually do "make install" after doing "make"?

On 7 December 2016 at 12:17, Tzafrir Cohen  wrote:
> On Wed, Dec 07, 2016 at 09:23:30AM +, k...@mayten.sch.bme.hu wrote:
>> On 2016-12-07 09:13, Steve Howes wrote:
>> >On 07/12/16 04:56, christopher kamutumwa wrote:
>> >>Ive installed asterisk 14.2 on centos 6.8 but i am not able to start it
>> >>below is what am executing and those are the errors anything am doing
>> >>wrong?
>> >
>> >It doesn't look like it is installed to me... Check the install
>> >actually worked etc. I've never had to do any path changes or anything
>> >for asterisk on centos so I suspect it just isn't there...
>> >
>>
>> it could be either of two things.
>>
>> 1) asterisk not being in the $PATH, try launching it by using an absolute
>> path
>
> Right. Next time become root with 'su -' and not 'su'. Make sure
> /usr/sbin is in your PATH.
>
>> 2) it is, and you have it installed, but you have a 64 bit binary on a 32
>> bit OS.  the error message is a match for this scenario.
>
> The binaries would still be in /usr/sbin .
>
> --
>Tzafrir Cohen
> icq#16849755  jabber:tzafrir.co...@xorcom.com
> +972-50-7952406   mailto:tzafrir.co...@xorcom.com
> http://www.xorcom.com
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> 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 --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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


Re: [asterisk-users] bash: asterisk: command not found

2016-12-07 Thread Tzafrir Cohen
On Wed, Dec 07, 2016 at 09:23:30AM +, k...@mayten.sch.bme.hu wrote:
> On 2016-12-07 09:13, Steve Howes wrote:
> >On 07/12/16 04:56, christopher kamutumwa wrote:
> >>Ive installed asterisk 14.2 on centos 6.8 but i am not able to start it
> >>below is what am executing and those are the errors anything am doing
> >>wrong?
> >
> >It doesn't look like it is installed to me... Check the install
> >actually worked etc. I've never had to do any path changes or anything
> >for asterisk on centos so I suspect it just isn't there...
> >
> 
> it could be either of two things.
> 
> 1) asterisk not being in the $PATH, try launching it by using an absolute
> path

Right. Next time become root with 'su -' and not 'su'. Make sure
/usr/sbin is in your PATH.

> 2) it is, and you have it installed, but you have a 64 bit binary on a 32
> bit OS.  the error message is a match for this scenario.

The binaries would still be in /usr/sbin .

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

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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


Re: [asterisk-users] bash: asterisk: command not found

2016-12-07 Thread ka

On 2016-12-07 09:13, Steve Howes wrote:

On 07/12/16 04:56, christopher kamutumwa wrote:
Ive installed asterisk 14.2 on centos 6.8 but i am not able to start 
it below is what am executing and those are the errors anything am 
doing wrong?


It doesn't look like it is installed to me... Check the install
actually worked etc. I've never had to do any path changes or anything
for asterisk on centos so I suspect it just isn't there...



it could be either of two things.

1) asterisk not being in the $PATH, try launching it by using an 
absolute path
2) it is, and you have it installed, but you have a 64 bit binary on a 
32 bit OS.  the error message is a match for this scenario.


regards
adam


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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


Re: [asterisk-users] bash: asterisk: command not found

2016-12-07 Thread Steve Howes

On 07/12/16 04:56, christopher kamutumwa wrote:
Ive installed asterisk 14.2 on centos 6.8 but i am not able to start 
it below is what am executing and those are the errors anything am 
doing wrong?


It doesn't look like it is installed to me... Check the install actually 
worked etc. I've never had to do any path changes or anything for 
asterisk on centos so I suspect it just isn't there...


Steve

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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