* You are viewing Posts Tagged ‘chan’

quick 1.8 question on console/dsp

In 1.4 I used alsa.conf and Dial(Console/Dsp)

In 1.8 this is not working (as I had it) . I know there is a new
chan_console
I’d like to try both.

What is the correct Dial() for ALSA direct?
What is the correct Dial() for chan_console?

I “thought” if chan_alsa was loaded it would default to old behaviour
if chan_console was not loaded.

Thanks,

jerry

How to Understand a pri intense debug span X

Hello my friends,

I would like to understand the output from “pri intense debug span X”, the
Telco always says that their side is OK, but i always receive alarms,
loosing connection, take a look:

[Sep 16 13:18:19] WARNING[30364] chan_zap.c: Detected alarm on channel 1:
Recovering
[Sep 16 13:18:19] WARNING[30364] chan_zap.c: Unable to disable echo
cancellation on channel 1
[...]
[Sep 16 13:18:24] NOTICE[30363] chan_zap.c: PRI got event: No more alarm (5)
on Primary D-channel of span 1

So, i’m working with pri intense debug span X, but the output is quite
difficult to understand, what should i check from this output? Where should
i find some information in order to make a debug and talk to my telco with
“power” :)

Here is an example of pri intense debug span:

< Supervisory frame:
[Sep 16 13:59:25] < SAPI: 00 C/R: 0 EA: 0
< TEI: 000 EA: 1
[Sep 16 13:59:25] < Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
< N(R): 024 P/F: 1
< 0 bytes of data
[Sep 16 13:59:25] Handling message for SAPI/TEI=0/0
[Sep 16 13:59:25] — ACKing all packets from 23 to (but not including) 24
[Sep 16 13:59:25] — Since there was nothing left, stopping T200 counter
[Sep 16 13:59:25] — Stopping T203 counter since we got an ACK
[Sep 16 13:59:25] — Nothing left, starting T203 counter
[Sep 16 13:59:25] — Got RR response to our frame
[Sep 16 13:59:25] — Restarting T203 counter

Thanks in advance

Digest Username/auth name mismatch‏

Hi,

On 09/15/2010 04:19 AM, t. k wrote:
>
>
> Hi
>
> I’m sorry.
> I mailed the same question again.
> because, it cannot be yet solved.
> any ideas with asterisk?
>
>
> [Aug 20 14:40:12] WARNING[29315]: chan_sip.c:11806 check_auth: username mismatch, have, digest has href=”mailto:aaaa@192.168.0.1″>aaaa@192.168.0.1[Aug 20 14:40:12] NOTICE[29315]: chan_sip.c:20479 handle_request_register: Registration from ‘aaaa‘ failed for ’192.168.0.2′ – Username/auth name mismatch
>
> [aaaa]
> type=friend
> username=aaaa
> secret=xxxx
> context=bbbb
> canreinvite=no
> host=dynamic
> disallow=allallow=ulaw
>
> The error seems that UAC set different username of digest.
> But UAC cannot send same username of digest and from for specification.
> *Digest username set href=”mailto:aaaa@192.168.0.1″>aaaa@192.168.0.1
> So I want to know how to solve with Asterisk.
>

I will try to help. But others might know more. What SIP client are you
using – a softphone, a hardphone? It looks like the client is sending
the full “aaaa@192.168.0.1″ instead of just “aaaa” as the username.

Sebastian

> Register
> From: aaaa;tag=644056924
> To: aaaa
> Call-ID: href=”mailto:2457796561@192.168.0.2″>2457796561@192.168.0.2
> CSeq: 125 REGISTER
> Contact:
> Authorization: Digest username=aaaa@192.168.0.1, realm=”asterisk”, nonce=”3e635209″, uri=”sip:192.168.0.1″, response=”ec89ab3c90316e05d83774630488c61a”, algorithm=MD5
> Max-Forwards: 70
> Expires: 3600
> thanks
>
>

incoming call FXO

Hi all,
Recently I have instaled one Digium TDM410 on my Asterisk. After instaled , I can do outgoing calls but I cant receive calls. I receive the following messages:
chan_dahdi.c: Got event 2 (Ring/Answered)…[Sep 14 11:24:44] NOTICE[2654] chan_dahdi.c: Got event 18 (Ring Begin)…[Sep 14 11:24:44] WARNING[2654] pbx.c: Channel ‘DAHDI/4-1′ sent into invalid extension ‘s’ in context ‘default’, but no invalid handler
I have not this ‘s’ extension.
Anybody knows what happen?
Att,

Flavio Roberto Miranda

MSN:flaviormiranda@hotmail.com
Skype: flaviormiranda

Digest Username/auth name mismatch

Hi

I’m sorry.
I mailed the same question again.
because, it cannot be yet solved.
any ideas with asterisk?

[Aug 20 14:40:12] WARNING[29315]: chan_sip.c:11806 check_auth: username mismatch, have , digest has href=”mailto:aaaa@192.168.0.1″>aaaa@192.168.0.1[Aug 20 14:40:12] NOTICE[29315]: chan_sip.c:20479 handle_request_register: Registration from ‘aaaa ‘ failed for ’192.168.0.2′ – Username/auth name mismatch

[aaaa]
type=friend
username=aaaa
secret=xxxx
context=bbbb
canreinvite=no
host=dynamic
disallow=allallow=ulaw

The error seems that UAC set different username of digest.
But UAC cannot send same username of digest and from for specification.
*Digest username set href=”mailto:aaaa@192.168.0.1″>aaaa@192.168.0.1
So I want to know how to solve with Asterisk.

Register
From: aaaa ;tag=644056924
To: aaaa
Call-ID: href=”mailto:2457796561@192.168.0.2″>2457796561@192.168.0.2
CSeq: 125 REGISTER
Contact:
Authorization: Digest username=aaaa@192.168.0.1, realm=”asterisk”, nonce=”3e635209″, uri=”sip:192.168.0.1″, response=”ec89ab3c90316e05d83774630488c61a”, algorithm=MD5
Max-Forwards: 70
Expires: 3600
thanks