Re: [asterisk-users] Disabling QSIG Encoding in LibPRI

2014-05-24 Thread Armen K
Hi Eric,

All that setting does is turn on and off the Facility IEs, nothing else.

Thanks though!

> From: ewiel...@nyigc.com
> To: asterisk-users@lists.digium.com
> Date: Sat, 24 May 2014 17:21:44 -0400
> Subject: Re: [asterisk-users] Disabling QSIG Encoding in LibPRI
> 
> Have you tried playing with the facilityenable setting in chan_dahdi.conf?
> 
> chan_dahdi.conf.sample should have some info on that option.
> 
> -Original Message-
> From: asterisk-users-boun...@lists.digium.com 
> [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Armen K
> Sent: Friday, May 23, 2014 11:46 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Disabling QSIG Encoding in LibPRI
> 
> Hi Richard,
> 
> Thanks for that (must be late where you are)  so I've set 
> "header.nfe_present" to equal "0" as it was "1" before and that indeed 
> removed those encoding bytes that I was referring to but... sadly, 
> I've had no luck getting the caller name to show up.
> 
> I'm really not sure what's going on...  I think I'm working in the dark right 
> now because I would need to see how other people with Nortel BCMs are getting 
> this to work.  I put up a posting on tek-tips to see if someone can send me a 
> screen shot of their BCM Monitor when a call comes in with a Name so I can 
> see what the system needs to see.
> 
> This also leads me to believe that there's another reason why the name 
> doesn't show up when I use "euroisdn" signalling... because in Nortel's BCM 
> Monitor, I can see the element:  CCITT Display come up as follows but still 
> no luck.. here's a screen shot with caller name "Ma Bell" being sent out... 
> the HEX characters are there but for some reason the format that it's in 
> doesn't make it recognise them or something.
> 
> http://i1100.photobucket.com/albums/g408/armeniki/BCM-DisplayIE.png
> 
> (SIGH) ... well I'm going to take a break for today.
> 
> Cheers,
> Armen
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Date: Fri, 23 May 2014 21:54:46 -0500
> From: rmudg...@digium.com
> To: asterisk-users@lists.digium.com
> Subject: Re: [asterisk-users] Disabling QSIG Encoding in LibPRI
> 
> 
> 
> 
> 
> On Fri, May 23, 2014 at 7:05 PM, Armen K  wrote:
> 
> 
>   Hi everyone,
> 
>   I was referred to this mailing list by Richard Mudgett regarding the 
> following thread on Issue Tracker as it's a feature request and not a bug:
>   https://issues.asterisk.org/jira/browse/PRI-170
> 
>   We've got a Nortel BCM (actually 2 BCM50s and 1 BCM400)... all showing 
> the same problem.
> 
>   When a call comes in the number shows up OK but the name does not.  In 
> looking at the ISDN messages coming in, we've noticed that the Facility IE 
> for the name has been QSIG encoded.  However, the BCMs don't understand this 
> encoding and as a result the name does not come through.
> 
>   Basically, I need to figure out how to disable the encoding so the 
> Facility IE for caller name comes through without being encoded (in other 
> words without the AA 06 80 01 00 82 01 00 bytes being placed between the 9F 
> and 8B bytes.
> 
>   For example:
>   9F 8B 01 00 A1 0E 02 01 08 02 01 00 80 06 4D 61 20 42 65 6C 6C
> 
> 
> In libpri pri_facility.c:enc_qsig_calling_name() you can change the code to 
> not set any header values nonzero.  That will disable sending the optional 
> NFE and interpretation-APDU values for the calling name only.
> 
> 
> Richard
> 
> 
> 
> -- _ -- 
> 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
  -- 
_
-- 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] Disabling QSIG Encoding in LibPRI

2014-05-24 Thread Eric Wieling
Have you tried playing with the facilityenable setting in chan_dahdi.conf?

chan_dahdi.conf.sample should have some info on that option.

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Armen K
Sent: Friday, May 23, 2014 11:46 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Disabling QSIG Encoding in LibPRI

Hi Richard,

Thanks for that (must be late where you are)  so I've set "header.nfe_present" 
to equal "0" as it was "1" before and that indeed removed those encoding bytes 
that I was referring to but... sadly, I've had no luck getting the 
caller name to show up.

I'm really not sure what's going on...  I think I'm working in the dark right 
now because I would need to see how other people with Nortel BCMs are getting 
this to work.  I put up a posting on tek-tips to see if someone can send me a 
screen shot of their BCM Monitor when a call comes in with a Name so I can see 
what the system needs to see.

This also leads me to believe that there's another reason why the name doesn't 
show up when I use "euroisdn" signalling... because in Nortel's BCM Monitor, I 
can see the element:  CCITT Display come up as follows but still no luck.. 
here's a screen shot with caller name "Ma Bell" being sent out... the HEX 
characters are there but for some reason the format that it's in doesn't make 
it recognise them or something.

http://i1100.photobucket.com/albums/g408/armeniki/BCM-DisplayIE.png

(SIGH) ... well I'm going to take a break for today.

Cheers,
Armen











Date: Fri, 23 May 2014 21:54:46 -0500
From: rmudg...@digium.com
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Disabling QSIG Encoding in LibPRI





On Fri, May 23, 2014 at 7:05 PM, Armen K  wrote:


Hi everyone,

I was referred to this mailing list by Richard Mudgett regarding the 
following thread on Issue Tracker as it's a feature request and not a bug:
https://issues.asterisk.org/jira/browse/PRI-170

We've got a Nortel BCM (actually 2 BCM50s and 1 BCM400)... all showing 
the same problem.

When a call comes in the number shows up OK but the name does not.  In 
looking at the ISDN messages coming in, we've noticed that the Facility IE for 
the name has been QSIG encoded.  However, the BCMs don't understand this 
encoding and as a result the name does not come through.

Basically, I need to figure out how to disable the encoding so the 
Facility IE for caller name comes through without being encoded (in other words 
without the AA 06 80 01 00 82 01 00 bytes being placed between the 9F and 8B 
bytes.

For example:
9F 8B 01 00 A1 0E 02 01 08 02 01 00 80 06 4D 61 20 42 65 6C 6C


In libpri pri_facility.c:enc_qsig_calling_name() you can change the code to not 
set any header values nonzero.  That will disable sending the optional NFE and 
interpretation-APDU values for the calling name only.


Richard



-- _ -- 
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] "transmit_silence" not properly recognized on 1.8 ?

2014-05-24 Thread Maximilian Grobecker
Hello,

I've got a problem at the moment, that setting "transmit_silence = yes"
seems to have no effect on Asterisk 1.8-Certified.

Although it's enabled and "core show settings" confirms, that it is
really enabled, there are no RTP packets sent by Asterisk when waiting
for DMTF input or when "Wait()" is called.
Also, there seems to be a small gap of 2 or 3 not sent packets when
playing several files one after another.


At the moment I'm using Asterisk 1.8 Certified (Cert 5).



In asterisk.conf I've set:

highpriority = yes
languageprefix = yes
internal_timing = yes
defaultlanguage = de

transmit_silence = yes
transcode_via_sln = yes
documentation_language = en_US



"core show settings" says:

PBX Core settings
-
  Version: 1.8.15-cert5
  Build Options:   DONT_OPTIMIZE, LOADABLE_MODULES,
BUILD_NATIVE, G711_NEW_ALGORITHM, G711_REDUCED_BRANCHING, TEST_CODING_TABLES
  Maximum calls:   Not set
  Maximum open file handles:   Not set
  Verbosity:   8
  Debug level: 0
  Maximum load average:0.00
  Minimum free memory: 0 MB
  Startup time:21:29:18
  Last reload time:21:29:18
  System:  Linux/3.2.0-4-amd64 built by root on
x86_64 2014-05-24 18:42:53 UTC
  System name:
  Entity ID:   00:25:xx:xx:xx:xx
  Default language:de
  Language prefix: Enabled
  User name and group:  / xxx
  Executable includes: Disabled
  Transcode via SLIN:  Enabled
  Internal timing: Enabled
  Transmit silence during rec: Enabled
  Generic PLC: Enabled





Is there anything I could do for forcing transmitting silence without
stopping sending RTP packets?
Maybe this would solve the "issue" with the packet gaps between
playbacks also.


Greetings
 Max

-- 
_
-- 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