Re: [asterisk-users] Help With Physical Layer

2015-06-30 Thread Tony Kasule
Dear David,

I am sorry, I can give the answer right now as the box is at a remote
location where I don't have access right now. However, I think the card is
ok and al the spans are working. Yesterday I had asked the telco to bring a
new RAD modem and I also took there another dell optiplex 3010 desktop with
another TE235 card in it but same results! I can confirm that the cards are
ok!


On Tue, Jun 30, 2015 at 12:36 PM, David Duffett  wrote:

> What response do you get to *CLI> pri show spans ?
>
> On 30 June 2015 at 09:34, Tony Kasule  wrote:
>
>> Hello,
>>
>> Anyone to help me with this issue? It has never worked :(
>>
>> On Wed, May 20, 2015 at 11:34 AM, Tony Kasule 
>> wrote:
>>
>>> Hello users,
>>>
>>> I have a Digium Te235 and asterisk 13  which have worked well with 1
>>> carrier but we have failed to add a 2nd carrier. The second telco brings
>>> their E1 line over finer, terminated in a RAD modem and they give me
>>> ethernet to the E1 card. It's the first time i am having install such a
>>> solution, which ideally would be not a big problem.
>>>
>>> However, The  physical layer has failed to come up! I have tried the
>>> same setup in an Alcatel OmniOCX and it works well. I can confirm that the
>>> port is also well configured because when I interchange the cables (with
>>> the exiting cable from the other telco), the alarm clears emmediately for
>>> the 1st telco and becomes RED for the 2nd telco. A loop also clears the
>>> alarm on both ports.
>>>
>>> The telco has told me to make sure that Line Impedance is 120 ohms but
>>> There's no where to set that and when I was reading, I was told that E1 is
>>> already 120 ohms so no need to change anything.
>>>
>>> Has anyone here experienced this?  What other things can I try?
>>>
>>> Thank you!
>>>
>>> Regards,
>>> Tim
>>>
>>
>>
>> --
>> _
>> -- 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
>>
>
>
>
> --
> [image: Digium logo]
> *David Duffett*
> Digium, Inc. · Director, Worldwide Asterisk Community
> 6 Landscape Close · Weston on the Green · Bicester · Oxfordshire OX25 3SX
>  · UK
> direct/fax: +1 256 428 6119 · mobile: +44 7722 442236
> twitter: dduffett · linkedin: www.linkedin.com/in/davidduffett
> Check us out at: http://digium.com · http://asterisk.org
> 
>
> --
> _
> -- 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] Question on permit/deny

2015-06-30 Thread Jerry Geis
I see in my log file this:
Jun 30 21:44:26] NOTICE[42192][C-02f3] chan_sip.c: Call from '' (
5.189.144.120:5076) to extension '011972592675431' rejected because
extension not found in context 'default'.

which is great its rejected - however
in my sip.conf file I have

deny=0.0.0.0
permit=x.y.z.z/255.255.255.255
permit=a.b.c.d/255.255.255.255

So I'm expecting to deny everything and only allow
the two addresses I have listed of which the 5.189.144.120 is not one of?

What is wrong with my permit/deny ?

Thanks,

Jerry
-- 
_
-- 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] Issues with call dropping

2015-06-30 Thread Joshua Colp

Nick Awesome wrote:

May someone help with the sourcecode, trying find where can I
manually send response on Received INFO request in PJSIP

ASTERISK-24986 issues opened already more the 2 month and calls from
customers still drops. very annoying :( maybe some one could help me
figure out where Received INFO request dies in source so I could
patch it to response 200 OK ?


INFO support is currently implemented only for DTMF in the 
res_pjsip_dtmf_info module. This module is located at 
res/res_pjsip_dtmf_info.c


It could be used as a base to implement this, or extended to support it.

Cheers,

--
Joshua Colp
Digium, Inc. | Senior 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 --
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] Issues with call dropping

2015-06-30 Thread Nick Awesome
May someone help with the sourcecode, trying find where can I manually send 
response on Received INFO request in PJSIP

ASTERISK-24986 issues opened already more the 2 month and calls from customers 
still drops. very annoying :( maybe some one could help me figure out where 
Received INFO request dies in source so I could patch it to response 200 OK ?

> On 20 Apr 2015, at 15:08, Nick Awesome  wrote:
> 
> Hi guys, have really annoying problem with trunks when I calling over voip 
> provider..
> 
> 
> after awhile provider sends INFO packages but for some reason Asterisk 
> doesn’t answer on it.
> after 8 packagers provider just drops the call, here is the package
> 
> <--- Received SIP request (555 bytes) from UDP:192.168.53.1:5060 --->
> INFO sip:c2e74184-4d23-43a3-8fd9-26ba2c5ef6c9@192.168.53.9:5060 SIP/2.0
> Max-Forwards: 69
> To: ;tag=b3769af4-118b-4467-8c95-042247ff1776
> From: ;tag=3638518512-132845
> Call-ID: cfe34652-14c2-4072-9dea-f0b0c30cb15e
> CSeq: 2 INFO
> Allow: CANCEL, ACK, INVITE, BYE, OPTIONS, REGISTER, NOTIFY, INFO, REFER, 
> SUBSCRIBE, PRACK, UPDATE, MESSAGE, PUBLISH
> Via: SIP/2.0/UDP 
> 192.168.53.1:5060;branch=z9hG4bK8da58cede20b91eb54dec15ad27f866c
> Contact: 
> Content-Length: 0
> 
> 192.168.53.1 - operator IP
> 192.168.53.9 - asterisk IP
> 
> 
> Any idea how to fix this?
> 
> 
> have 2 Ethernet interfaces:
> 192.168.1.4 - local network
> 192.168.53.9 - VOIP Provider network
> 
> Im using PJSIP, here is config:
> 
> [udp]
> type=transport
> protocol=udp
> bind=192.168.1.4
> local_net=10.0.0.0/24
> local_net=10.0.1.0/24
> local_net=192.168.1.0/24
> 
> external_media_address=195.239.8.122
> external_signaling_address=195.239.8.122
> 
> [udp_B]
> type=transport
> protocol=udp
> bind=192.168.53.9
> 
> [1]
> type=endpoint
> aors=1
> context=dialmap
> disallow=all
> allow=alaw,ulaw
> transport=udp_B
> 
> [1]
> type=aor
> contact=sip:192.168.53.1:5060
> max_contacts=4
> 


-- 
_
-- 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] Distributed Device States - Best Option

2015-06-30 Thread Matthew Jordan
On Sat, Jun 27, 2015 at 11:28 AM, Bryant Zimmerman  wrote:
> We have used AIS for disturbed Device State in the past, BLF and MWI, We are
> in the process of an update on one of our clustered systems, We are looking
> at XMPP and I found a few discussions on a Corosync with has OpenAIS built
> in.
>
> My question is which should I be looking at to replace my current AIS option
> I currently have.  XMPP or Corosync?
>
> It looks like the Corosync is just the AIS option more nicely packaged. Is
> XMPP a better solution as I grow my network? Are there down sides to XMPP
> that AIS/Corosync does better...
>
> Can anyone recommend where I can find some up to date documentation that
> would cover up through Asterisk 13 on Distributed Device State.
>

I'd take the following as opinion, and not gospel. Most of the work
I've done setting up distributed device state in Asterisk has been
either for development or testing; for production anecdotes, you'd
probably want someone else's opinion.

Both Corosync and XMPP functionally work the same. That is, from the
perspective of Asterisk, there really isn't any difference. The
question than is one of deployment.

XMPP is rather easy to set up, but does require an XMPP server. This
introduces another component, and another point of failure, into your
system. If the XMPP server goes down, your Asterisk instances will
stop aggregating device state.

Corosync is generally harder to set up, but since it is a library used
by Asterisk on your system, there isn't another discrete component
that you have to maintain and run. The Asterisk instances themselves
are set up as a cluster, which means they are generally more "aware"
of the other instances existence.

All of that being said, there is a third option: use SIP.

Asterisk 13's PJSIP stack also has the ability to PUBLISH device state
and MWI information between Asterisk instances. The benefit of this is
- if you are using the PJSIP stack - there is no additional components
in Asterisk to configure beyond what you are already setting up.

More information on distributing device state and MWI can be found on the wiki:

XMPP: 
https://wiki.asterisk.org/wiki/display/AST/Distributed+Device+State+with+XMPP+PubSub
Corosync: https://wiki.asterisk.org/wiki/display/AST/Corosync
PJSIP: 
https://wiki.asterisk.org/wiki/display/AST/Exchanging+Device+and+Mailbox+State+Using+PJSIP


-- 
Matthew Jordan
Digium, Inc. | Director of Technology
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org

-- 
_
-- 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] Help With Physical Layer (Tony Kasule)

2015-06-30 Thread Mc GRATH Ricardo
Tim 

At first should take a look to cable pinout (RAD documents) as  pin 1,2, 
Transmit (output) and 4, 5  Receive (input) for Digium card  you should use a 
straight cable (try to test with new cable one too).
Second check Dahdi configuration parameters, use dahdi commands as; dahdi show 
status, service dahdi restart and check  result, (could a mistake on parameter 
value on system.conf).
 
Mc GRATH Ricardo
-- 
_
-- 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] Help With Physical Layer

2015-06-30 Thread Duncan Turnbull



-- Original Message --
From: "Tony Kasule" 
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 


Sent: 30/06/2015 8:34:47 p.m.
Subject: Re: [asterisk-users] Help With Physical Layer


Hello,

Anyone to help me with this issue? It has never worked :(


Hi Tony

I'm not familiar with the card you but 120 ohm is usually twisted pair, 
and 75 ohm is coax (usually). If it is changeable its usually done with 
jumpers on the card. I have used RAD modems before and their cable will 
have a specific pinout that you need to match. I doubt your digium card 
by default matches the pins, but maybe, and perhaps maybe your alcatel 
did. There will be a tx pair and an rx pair and you need to make sure 
they connect to the rx and tx pairs on the digium preferably with the 
same polarity. If you are getting no signal I would think its that. You 
can use a multimeter to check for voltage on the pins.


Once you get that sorted another catch maybe timing. You will need to 
take E1 timing from one or other of the Telco's, with one as the primary 
source. If they for some reason aren't synced you will get errors every 
so often


Good luck


Cheers Duncan


On Wed, May 20, 2015 at 11:34 AM, Tony Kasule  
wrote:

Hello users,

I have a Digium Te235 and asterisk 13  which have worked well with 1 
carrier but we have failed to add a 2nd carrier. The second telco 
brings their E1 line over finer, terminated in a RAD modem and they 
give me ethernet to the E1 card. It's the first time i am having 
install such a solution, which ideally would be not a big problem.


However, The  physical layer has failed to come up! I have tried the 
same setup in an Alcatel OmniOCX and it works well. I can confirm that 
the port is also well configured because when I interchange the cables 
(with the exiting cable from the other telco), the alarm clears 
emmediately for the 1st telco and becomes RED for the 2nd telco. A 
loop also clears the alarm on both ports.


The telco has told me to make sure that Line Impedance is 120 ohms but 
There's no where to set that and when I was reading, I was told that 
E1 is already 120 ohms so no need to change anything.


Has anyone here experienced this?  What other things can I try?

Thank you!

Regards,
Tim
-- 
_
-- 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] Help With Physical Layer

2015-06-30 Thread Dale Noll
On Tue, Jun 30, 2015 at 3:34 AM, Tony Kasule  wrote:

> Hello,
>
> Anyone to help me with this issue? It has never worked :(
>
> On Wed, May 20, 2015 at 11:34 AM, Tony Kasule 
> wrote:
>
>> Hello users,
>>
>> I have a Digium Te235 and asterisk 13  which have worked well with 1
>> carrier but we have failed to add a 2nd carrier. The second telco brings
>> their E1 line over finer, terminated in a RAD modem and they give me
>> ethernet to the E1 card. It's the first time i am having install such a
>> solution, which ideally would be not a big problem.
>>
>> However, The  physical layer has failed to come up! I have tried the same
>> setup in an Alcatel OmniOCX and it works well. I can confirm that the port
>> is also well configured because when I interchange the cables (with the
>> exiting cable from the other telco), the alarm clears emmediately for the
>> 1st telco and becomes RED for the 2nd telco. A loop also clears the alarm
>> on both ports.
>>
>> The telco has told me to make sure that Line Impedance is 120 ohms but
>> There's no where to set that and when I was reading, I was told that E1 is
>> already 120 ohms so no need to change anything.
>>
>> Has anyone here experienced this?  What other things can I try?
>>
>> Thank you!
>>
>> Regards,
>> Tim
>>
>
>
Have you tried a E-1 Cross Over cable from your RAD modem to the Digium
card?
-- 
_
-- 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] Help With Physical Layer

2015-06-30 Thread David Duffett
What response do you get to *CLI> pri show spans ?

On 30 June 2015 at 09:34, Tony Kasule  wrote:

> Hello,
>
> Anyone to help me with this issue? It has never worked :(
>
> On Wed, May 20, 2015 at 11:34 AM, Tony Kasule 
> wrote:
>
>> Hello users,
>>
>> I have a Digium Te235 and asterisk 13  which have worked well with 1
>> carrier but we have failed to add a 2nd carrier. The second telco brings
>> their E1 line over finer, terminated in a RAD modem and they give me
>> ethernet to the E1 card. It's the first time i am having install such a
>> solution, which ideally would be not a big problem.
>>
>> However, The  physical layer has failed to come up! I have tried the same
>> setup in an Alcatel OmniOCX and it works well. I can confirm that the port
>> is also well configured because when I interchange the cables (with the
>> exiting cable from the other telco), the alarm clears emmediately for the
>> 1st telco and becomes RED for the 2nd telco. A loop also clears the alarm
>> on both ports.
>>
>> The telco has told me to make sure that Line Impedance is 120 ohms but
>> There's no where to set that and when I was reading, I was told that E1 is
>> already 120 ohms so no need to change anything.
>>
>> Has anyone here experienced this?  What other things can I try?
>>
>> Thank you!
>>
>> Regards,
>> Tim
>>
>
>
> --
> _
> -- 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
>



-- 
[image: Digium logo]
*David Duffett*
Digium, Inc. · Director, Worldwide Asterisk Community
6 Landscape Close · Weston on the Green · Bicester · Oxfordshire OX25 3SX ·
UK
direct/fax: +1 256 428 6119 · mobile: +44 7722 442236
twitter: dduffett · linkedin: www.linkedin.com/in/davidduffett
Check us out at: http://digium.com · http://asterisk.org

-- 
_
-- 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] Help With Physical Layer

2015-06-30 Thread Tony Kasule
Hello,

Anyone to help me with this issue? It has never worked :(

On Wed, May 20, 2015 at 11:34 AM, Tony Kasule  wrote:

> Hello users,
>
> I have a Digium Te235 and asterisk 13  which have worked well with 1
> carrier but we have failed to add a 2nd carrier. The second telco brings
> their E1 line over finer, terminated in a RAD modem and they give me
> ethernet to the E1 card. It's the first time i am having install such a
> solution, which ideally would be not a big problem.
>
> However, The  physical layer has failed to come up! I have tried the same
> setup in an Alcatel OmniOCX and it works well. I can confirm that the port
> is also well configured because when I interchange the cables (with the
> exiting cable from the other telco), the alarm clears emmediately for the
> 1st telco and becomes RED for the 2nd telco. A loop also clears the alarm
> on both ports.
>
> The telco has told me to make sure that Line Impedance is 120 ohms but
> There's no where to set that and when I was reading, I was told that E1 is
> already 120 ohms so no need to change anything.
>
> Has anyone here experienced this?  What other things can I try?
>
> Thank you!
>
> Regards,
> Tim
>
-- 
_
-- 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