Re: [asterisk-users] DAHDI Dynamic span as INT device identificator

2016-08-06 Thread Tzafrir Cohen
On Thu, Aug 04, 2016 at 12:54:45PM -0300, Rafael dos Santos Saraiva wrote:
> Hi
> 
> Is it possible assign an INT identification to dynamic device in DAHDI?
> Example:
> 
> This is device: DYN/eth/eth1/04:74:A1:00:0A:AE/0
> I want call this as span 1
> 
> I saw the assigned-spans.conf and aparently can be this.
> 
> Thanks in advance.

See what I wrote earlier on the asterisk-dev list:

  http://lists.digium.com/pipermail/asterisk-dev/2016-April/075486.html

Generally I don't like the way dsystem.conf is used both for defining
synamic spans and for configuring existing spans. I explained there how
to separte the two. This also makes it simpler to interact with span
assignment.

-- 
   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 --
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 13 High CPU usage

2016-08-06 Thread Chirag Desai
All,

I upgraded to asterisk 13.10. I have minimal load on the box. 20-30 calls a day.

Right now, there are no calls on the box at all.

top shows me this:

PR 20

NI 0

VIRT 1570540

RES 84620

SHR 26296

S S

%CPU 99.7

%MEM 8.4

TIME+ 3468:39

COMMAND asterisk

When I run this command
while true; do top -Hbc -p `pgrep asterisk` -n 1 && asterisk -rx "core show
threads"; sleep 1; done

I get this

PID USER  PR  NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND
29079 root  20   0 1570540  84620  26296 R 37.5  8.4   1178:31 asterisk
29010 root  20   0 1570540  84620  26296 R 31.2  8.4   1197:07 asterisk
29047 root  20   0 1570540  84620  26296 R 31.2  8.4   1186:48 asterisk

Any ideas??




Previous message



Hi all,

I was using 13.5 but upgraded today to 13.9 (13.10 came out a few hours
after I upgraded).

On both 13.5 and 13.9 asterisk seems to use 100% of the CPU. This usually
happens a few hours after starting asterisk. A restart of asterisk gets the
CPU back down, but only for a little while.

There asterisk box has no call traffic flowing through it, just 15 or so
registrations.

I'm sure this is not best practise but for now I am using chan_sip and
pjsip at the same time. My pjsip endpoints are using TLS.

I am not sure where to start looking in order to debug the CPU usage by
asterisk and would very much appreciate some guidance.

Kind regards,

Chirag
-- 
_
-- 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] Metaswitch caller ID passing

2016-08-06 Thread Jeff LaCoursiere


This did get resolved on the carrier side - thank to all who pointed me 
towards documentation and suggestions.  The Metaswitch has an option 
"Caller Number Connected Line ID Screening" which was set to "owned".  
Changing this to "valid format" allowed my asterisk instances to send 
foreign caller ID information and it was accepted.


Cheers,

j

On 08/05/2016 09:05 AM, Jeff LaCoursiere wrote:

Hi,

I am dealing with a telco that has recently upgraded from a DMS100 
switch to a "Metaswitch", and our PRI no longer passes foreign caller 
ID information, i.e. if I place an outbound call with specific caller 
ID information not associated with the PRI, it gets replaced with the 
PRI's primary phone number.


This is a bit of a problem for follow-me services, which end up 
showing the PRI's primary phone number instead of the original 
caller's phone number.


I know this isn't a "metaswitch" forum, but can anyone point me in a 
direction of some metaswitch documentation or know what the option is 
in a metaswitch to allow foreign caller ID information? The telco 
engineers are still struggling with this new switch, and I am not sure 
they understand or appreciate my urgency in getting this resolved!


Cheers,




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