Re: [asterisk-users] SIP trunks going to the wrong context

2017-12-15 Thread Julian Beach
On Thursday, December 14, 2017, 10:05:23 PM, Tony Mountifield
(t...@softins.co.uk) wrote:

> So I think you really do need to have a single peer section for all sipgate
> calls, pointing to one sipgate context in your dialplan that contains all
> your various extensions like se2489, sj0151, etc.

That is what I do - all my incoming calls (which originate from the
same IP and Port) go into a single context in extensions.conf, from
where they are directed into individual call handlers depending on the
DCID

[incoming calls]

exten => 4420,n,Goto(handler-a,s,1)
exten => 4400,n,Goto(handler-b,s,1)
exten => 4421,n,Goto(handlet-c,s,1)
exten => 4422,n,Goto(handler d,s,1)

-- 
Best regards,
 Julianmailto:jb_s...@trink.co.uk


-- 
_
-- 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] 1. SIP trunks going to the wrong context (Ade Vickers)

2017-12-15 Thread Mc GRATH Ricardo
How about if you set;
 
 exten => _se,1,Dial(IAX2/cloud/1000,30,r)


Mc GRATH Ricardo
-- 
_
-- 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


[asterisk-users] Any impact on VoIP from loss of Net neutrality

2017-12-15 Thread Ron Wheeler
Has there been any discussion about the the effect of the changes in net 
neutrality to VoIP service quality.


It seems to me that prioritizing streaming traffic from certain content 
delivery companies could have an impact on the latency for VoIP which 
could disrupt phone service.


I found this article 
https://voipstudio.com/2017-net-neutrality-debate-affect-voip/


It seems to be assuming that VoIP traffic only traverses one network and 
that my trunk provider will be able to charge me more and guarantee that 
my traffic get priority but I am pretty sure that at least some of my 
traffic crosses many networks.


Am I way off track?


Ron

--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


--
_
-- 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] General Kernel practices on CentOS

2017-12-15 Thread Ron Wheeler
It currently runs Linux 3.10.0-693.5.2.el7.x86_64 on x86_64 which I 
believe is the latest CentOS 7.



I apply updates as they are issues by the CentOS team.

I just installed the latest FreePPBX from 
https://www.freepbx.org/downloads/ on bare hardware. This included 
Sangoma's version of Centos 7 build 1701. After the install, I apply 
updates as they are issues by the CentOS team.



Works fine.

Ron


On 15/12/2017 5:59 AM, Olivier wrote:

Hello Ron,
Which kernel do you run Asterisk/Freepbx with ?
Cheers

2017-12-14 16:57 GMT+01:00 Ron Wheeler >:


CentOS 7 works well with Asterisk.
Install latest CentOS7 with updates install asterisk

I am running FreePBX on CentOS 7.

Ron

On 14/12/2017 10:38 AM, Olivier wrote:

Hello,

I'm used to install Asterisk on Debian stable platforms.

A customer is asking how I would proceed on a CentOS platform.

After a short research (see [1] as an example), I'm wondering
what are general kernel practices on CentOS regarding Asterisk
and when targeting stability:

- Is it recommended to upgrade kernel version(s) (ie moving from
linux 3.10 to 4.3) just after OS installation ?

Best regards





-- 
Ron Wheeler

President
Artifact Software Inc
email:rwhee...@artifact-software.com 
skype: ronaldmwheeler
phone:866-970-2435, ext 102 


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





--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102

-- 
_
-- 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] DTMF emulation with SIP INFO and direct media

2017-12-15 Thread Jean Aunis
Asterisk is in version 14.7.1. One end is a SIP Trunk to another 
Asterisk, the other end a home-made SIP phone. SIP INFO requests are 
coming from the other Asterisk.


Both endpoints use chan_sip with "dtmfmode" set to "info".

This is not strictly speaking a one-to-one setup since we're connecting 
to a SIP Trunk which then connects to another SIP phone, but I think it 
doesn't make much difference regarding SIP INFO handling.



Le 15/12/2017 à 12:12, Olivier a écrit :

Hello Jean,

1. Can you describe a bit further how both ends of the above call were 
both made of and configured ?

DTMF receiving is Asterisk/SIP channel but which version ?
Is the other end a SIP phone or a SIP trunk ?

2. Do you observe such behaviour in a one-to-one setup (one end emits, 
the other listen) or does the DTMF sending side also communicates with 
an other endpoint ?


Cheers

2017-12-13 12:22 GMT+01:00 Jean Aunis >:


Hello,

I think there is an issue when DTMF are handled with SIP INFO and
direct media is enabled.

When I receive a SIP INFO, the logs tell me that a "DTMF begin" is
generated, but no related "DTMF end" is generated, unless the call
is ended. Here is an excerpt of the logs :

*--- SIP INFO received **on **SIP/xxx-0004:*

[Dec 13 11:56:16] DTMF[18193][C-0005] channel.c: DTMF end '#'
received on SIP/xxx-0004, duration 257 ms
[Dec 13 11:56:16] DTMF[18193][C-0005] channel.c: DTMF begin
emulation of '#' with duration 257 queued on SIP/xxx-0004

*--- **SIP/xxx-0004 **is hanged up:*

[Dec 13 11:56:19] VERBOSE[18193][C-0005] bridge_channel.c:
Channel SIP/xxx-0004 left 'native_rtp' basic-bridge
<4a5905ac-29f8-41c5-9981-e9d0f4966c56>
[Dec 13 11:56:19] DTMF[18193][C-0005] bridge_channel.c: DTMF
end '#' simulated to bridge 4a5905ac-29f8-41c5-9981-e9d0f4966c56
because SIP/xxx-0004 left.  Duration 3012 ms.

Do you think it is a bug ? I would tend to say yes, but I'm not so
sure.

Regards

Jean Aunis


--
_
-- 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] Can't install package asterisk-dbgsym on Stretch [SOLVED]

2017-12-15 Thread Olivier
Hi,

2017-12-14 16:28 GMT+01:00 Tzafrir Cohen :

> On Fri, Dec 08, 2017 at 06:11:47PM +0100, Olivier wrote:
> > Hello,
> >
> > On a fresh Debian Stretch setup, I have:
> > $ cat /etc/apt/sources.list.d//dbgsym.list
> > deb http://debug.mirrors.debian.org/debian-debug/ stretch-debug main
> >
> > # apt-get update
> > ...
> > # apt-get install asterisk gdb
> >
> >  # apt-get -s install asterisk-dbgsym
> > ...
> >  asterisk-dbgsym : Depends: asterisk (= 1:13.14.1~dfsg-2+deb9u1) but
> > 1:13.14.1~dfsg-2+deb9u2 should be installed
>
> You seem to mix two versions.
>
>   apt-cache policy asterisk
>   apt-cache policy asterisk-dbgsym
>

I'm a bit ashamed of this but I must have forgotten an apt-get update,
before trying to install asterisk-dbgsym.
I did it and it worked perfectly.

Sorry for the noise !


>
> >
> > (above output is translated from the output I had)
>
> (Hint: LC_ALL=C )
>
> >
> >
> > 1. Is this a bug in debian-debug repo ? If positive, should I file a bug
> > report ?
>
> rmadison shows me now that the versions of asterisk is
> 1:13.14.1~dfsg-2+deb9u2 in both the stable and the stable-debug repos.
>
> >
> > 2. Is correct to understand that to get DONT_OPTIMZE, BETTER_BACKTRACE
> and
> > so on options compiled in, I must recompile anyway ?
>
> Right. DONT_OPTIMZE has a considerable performance impact.


How would you roughly evaluate this performance impact ?
I don't want to CREATE issues with performance penalties but I think I
can't  afford to see Asterisk segfaults (a customer of mine has this with
PJSIP) within having required data to open tickets.


> I never
> considered BETTER_BACKTRACE and its performance impact. Is it
> independent of DONT_OPTIMZE?
>

Both settings ar those required here [1]. I can't telle much about them
beside that.

[1]  https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

>
> --
>Tzafrir Cohen
> +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] [OT] Overview of Homer installation on Debian Stretch

2017-12-15 Thread Floimair Florian
@1) Not on the host, as jessie is only used within the container but you may 
run it on a Stretch host of course.

@2) The HOMER API contains modules for mysql and postgresql. The Debian 
maintainers simply split the resulting packages into three subpackages 
(homer-api general parts, db parts for mysql, and db parts for postgresql). So 
if you plan on using mysql you do not have to install the postgresql package. 
The methodology is the same as for asterisk modules in Debian’s asterisk 
packages. You can simply choose to only install the parts you really need.



With best regards

Florian Floimair

COMMEND INTERNATIONAL GMBH
A-5020 Salzburg, Saalachstraße 51
http://www.commend.com

Security and Communication by Commend

FN 178618z | LG Salzburg


Von: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] Im Auftrag von Olivier
Gesendet: Freitag, 15. Dezember 2017 12:05
An: Asterisk Users Mailing List - Non-Commercial Discussion 

Betreff: Re: [asterisk-users] [OT] Overview of Homer installation on Debian 
Stretch

Thanks Florian for replying.
1. I thought using Homer docker option required a Jessie setup.
Is it correct ?
2. Do you understand what homer-api-mysql package is for ?
After reading package's description on Debian stretch repo, it still keeps 
mystery to me.
Cheers

-- 
_
-- 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] DTMF emulation with SIP INFO and direct media

2017-12-15 Thread Olivier
Hello Jean,

1. Can you describe a bit further how both ends of the above call were both
made of and configured ?
DTMF receiving is Asterisk/SIP channel but which version ?
Is the other end a SIP phone or a SIP trunk ?

2. Do you observe such behaviour in a one-to-one setup (one end emits, the
other listen) or does the DTMF sending side also communicates with an other
endpoint ?

Cheers

2017-12-13 12:22 GMT+01:00 Jean Aunis :

> Hello,
>
> I think there is an issue when DTMF are handled with SIP INFO and direct
> media is enabled.
>
> When I receive a SIP INFO, the logs tell me that a "DTMF begin" is
> generated, but no related "DTMF end" is generated, unless the call is
> ended. Here is an excerpt of the logs :
>
> *--- SIP INFO received **on **SIP/xxx-0004:*
>
> [Dec 13 11:56:16] DTMF[18193][C-0005] channel.c: DTMF end '#' received
> on SIP/xxx-0004, duration 257 ms
> [Dec 13 11:56:16] DTMF[18193][C-0005] channel.c: DTMF begin emulation
> of '#' with duration 257 queued on SIP/xxx-0004
>
> *--- **SIP/xxx-0004 **is hanged up:*
>
> [Dec 13 11:56:19] VERBOSE[18193][C-0005] bridge_channel.c: Channel
> SIP/xxx-0004 left 'native_rtp' basic-bridge <4a5905ac-29f8-41c5-9981-
> e9d0f4966c56>
> [Dec 13 11:56:19] DTMF[18193][C-0005] bridge_channel.c: DTMF end '#'
> simulated to bridge 4a5905ac-29f8-41c5-9981-e9d0f4966c56 because
> SIP/xxx-0004 left.  Duration 3012 ms.
>
> Do you think it is a bug ? I would tend to say yes, but I'm not so sure.
>
> Regards
>
> Jean Aunis
>
> --
> _
> -- 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] [OT] Overview of Homer installation on Debian Stretch

2017-12-15 Thread Olivier
Thanks Florian for replying.

1. I thought using Homer docker option required a Jessie setup.
Is it correct ?

2. Do you understand what homer-api-mysql package is for ?
After reading package's description on Debian stretch repo, it still keeps
mystery to me.

Cheers


2017-12-14 14:19 GMT+01:00 Floimair Florian :

>
>1. The simplest option would be to run the Docker multicontainer-setup
>as described on the HOMER wiki here: https://github.com/sipcapture/
>homer/wiki/Docker-Install
>2. Sure it is. Just edit your homer configuration to reflect the
>remote DB server
>3. If you really want to learn and understand what’s happening, try
>following a manual setup from source as described here:
>https://github.com/sipcapture/homer/wiki/Quick-Install#-
>manual-setup-from-source-advanced
>
> 
>
>
>
> I have recently setup a Debian Stretch Azure VM along with an Azure MySQL
> database to run based on 3. There were a few hurdles to overcome (that for
> the most part were DB related) but I’ve managed to get there. Doing it this
> way helped me understand how things interact and where to look at in case
> of problems. It may take some time (as the wiki is not always very clear on
> every step) but it’s time well spent and worth investing.
>
>
>
> If you really get stuck somewhere I might be able to help you.
>
>
>
>
>
>
>
> With best regards
>
>
>
> *Florian Floimair *
>
> *COMMEND INTERNATIONAL GMBH *A-5020 Salzburg, Saalachstraße 51
> http://www.commend.com
>
>
>
> *Security and Communication by Commend *FN 178618z | LG Salzburg
>
>
>
> *Von:* asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> boun...@lists.digium.com] *Im Auftrag von *Olivier
> *Gesendet:* Dienstag, 12. Dezember 2017 16:59
> *An:* Asterisk Users Mailing List - Non-Commercial Discussion <
> asterisk-users@lists.digium.com>
> *Betreff:* [asterisk-users] [OT] Overview of Homer installation on Debian
> Stretch
>
>
>
> Hello,
>
> I've discovered homer-api-postgresql and homer-api-mysql packages in
> Stretch repo.
>
> I'm not sure I understand how Homer-API relates to Homer.
>
> My questions are:
>
> 1. What is the simplest available installation option to install Homer on
> a dedicated box, this dedicated box gathering data from one or several
> Asterisk systems on the same LAN ?
>
> 2. Is it possible to centralize data on a remote Postgres/MySQL server
> (remote meaning hee Homer server acting as a DB client)
>
>
>
> 3. Suggestions ?
>
> Cheers
>
>
>
>
>
> --
> _
> -- 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] General Kernel practices on CentOS

2017-12-15 Thread Olivier
Hello Ron,
Which kernel do you run Asterisk/Freepbx with ?
Cheers

2017-12-14 16:57 GMT+01:00 Ron Wheeler :

> CentOS 7 works well with Asterisk.
> Install latest CentOS7 with updates install asterisk
>
> I am running FreePBX on CentOS 7.
>
> Ron
>
> On 14/12/2017 10:38 AM, Olivier wrote:
>
> Hello,
>
> I'm used to install Asterisk on Debian stable platforms.
>
> A customer is asking how I would proceed on a CentOS platform.
>
> After a short research (see [1] as an example), I'm wondering what are
> general kernel practices on CentOS regarding Asterisk and when targeting
> stability:
>
> - Is it recommended to upgrade kernel version(s) (ie moving from linux
> 3.10 to 4.3) just after OS installation ?
>
> Best regards
>
>
>
>
> --
> Ron Wheeler
> President
> Artifact Software Inc
> email: rwhee...@artifact-software.com
> skype: ronaldmwheeler
> phone: 866-970-2435, ext 102 <(866)%20970-2435>
>
>
> --
> _
> -- 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