Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
astmanproxy debug
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Armando Oliveira  
View profile  
 More options Feb 25 2010, 12:19 pm
From: Armando Oliveira <armando.j....@gmail.com>
Date: Thu, 25 Feb 2010 17:19:18 +0000
Local: Thurs, Feb 25 2010 12:19 pm
Subject: astmanproxy debug
Hello all

I need to start astmanproxy from init script with debug ... can I do
that ? how ?
thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mav  
View profile  
 More options Feb 25 2010, 12:47 pm
From: mav <armando.j....@gmail.com>
Date: Thu, 25 Feb 2010 09:47:47 -0800 (PST)
Local: Thurs, Feb 25 2010 12:47 pm
Subject: Re: astmanproxy debug
ok already got it

thanks

On Feb 25, 5:19 pm, Armando Oliveira <armando.j....@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "filters" by Sebastian
Sebastian  
View profile  
 More options Apr 23 2010, 11:09 am
From: "Sebastian" <scg...@gmail.com>
Date: Fri, 23 Apr 2010 12:09:58 -0300
Local: Fri, Apr 23 2010 11:09 am
Subject: filters
Steve,

I think there is a small issue with the filters but I'm not sure, for
example I have a filter for example SIP/1001, and I get only the events that
correspond to it OK, but for example I would like to do like this that
should work (I think), example: send Action QueueStatus with an actionid so
I can have the response, but I only have the response and not the Events
that follow, even when debugging I can see they all have the actionid
correctly, but they are filtered.
As an ugly workaround I hardcoded a unique id that I want to pass always but
this method is nasty, maybe you can point me where to start, I think has
something to do with the add to stack, but I couldn't figure out exactly.

Any idea?

Regards

--
You received this message because you are subscribed to the Google Groups "Astmanproxy" group.
To post to this group, send email to astmanproxy@googlegroups.com.
To unsubscribe from this group, send email to astmanproxy+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/astmanproxy?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steve Davies  
View profile  
 More options Apr 23 2010, 12:16 pm
From: Steve Davies <davies...@gmail.com>
Date: Fri, 23 Apr 2010 17:16:22 +0100
Local: Fri, Apr 23 2010 12:16 pm
Subject: Re: filters
On 23 April 2010 16:09, Sebastian <scg...@gmail.com> wrote:

> Steve,

> I think there is a small issue with the filters but I'm not sure, for
> example I have a filter for example SIP/1001, and I get only the events that
> correspond to it OK, but for example I would like to do like this that
> should work (I think), example: send Action QueueStatus with an actionid so
> I can have the response, but I only have the response and not the Events
> that follow, even when debugging I can see they all have the actionid
> correctly, but they are filtered.
> As an ugly workaround I hardcoded a unique id that I want to pass always but
> this method is nasty, maybe you can point me where to start, I think has
> something to do with the add to stack, but I couldn't figure out exactly.

> Any idea?

Hello again - I guess I can assume you are using my latest version from GIT?

There was one small patch recently, though I do not think it will
affect your particular issue. I will push it to GIT.

What have you set "autofilter" to in the astmanproxy configuration? If
you are not already doing so, can I suggest you try
"autofilter=unique" as this gives each client connection its own
unique actionID prefix, and solves the problem that astmanproxy only
remembers one actionID at a time - As soon as the 2nd ActionID is
seen, the old one is forgotten, causing packets to be blocked.

Regards,
Steve

--
You received this message because you are subscribed to the Google Groups "Astmanproxy" group.
To post to this group, send email to astmanproxy@googlegroups.com.
To unsubscribe from this group, send email to astmanproxy+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/astmanproxy?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sebastian  
View profile  
 More options Apr 23 2010, 12:35 pm
From: "Sebastian" <scg...@gmail.com>
Date: Fri, 23 Apr 2010 13:35:05 -0300
Local: Fri, Apr 23 2010 12:35 pm
Subject: RE: filters
I'm using the last one I think.
What is the new patch for?
If I set autofilter=unique I don't even have the Response, if I put an
actionid or not, has no difference with this option set.

Any idea?

Thanks!

-----Mensaje original-----
De: astmanproxy@googlegroups.com [mailto:astmanproxy@googlegroups.com] En
nombre de Steve Davies
Enviado el: viernes, 23 de abril de 2010 13:16
Para: astmanproxy@googlegroups.com
Asunto: Re: filters

On 23 April 2010 16:09, Sebastian <scg...@gmail.com> wrote:

Hello again - I guess I can assume you are using my latest version from GIT?

There was one small patch recently, though I do not think it will
affect your particular issue. I will push it to GIT.

What have you set "autofilter" to in the astmanproxy configuration? If
you are not already doing so, can I suggest you try
"autofilter=unique" as this gives each client connection its own
unique actionID prefix, and solves the problem that astmanproxy only
remembers one actionID at a time - As soon as the 2nd ActionID is
seen, the old one is forgotten, causing packets to be blocked.

Regards,
Steve

--
You received this message because you are subscribed to the Google Groups
"Astmanproxy" group.
To post to this group, send email to astmanproxy@googlegroups.com.
To unsubscribe from this group, send email to
astmanproxy+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/astmanproxy?hl=en.

Se certificó que el correo entrante no contiene virus.
Comprobada por AVG - www.avg.es
Versión: 9.0.814 / Base de datos de virus: 271.1.1/2829 - Fecha de la
versión: 04/23/10 03:31:00

--
You received this message because you are subscribed to the Google Groups "Astmanproxy" group.
To post to this group, send email to astmanproxy@googlegroups.com.
To unsubscribe from this group, send email to astmanproxy+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/astmanproxy?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steve Davies  
View profile  
 More options Apr 23 2010, 12:47 pm
From: Steve Davies <davies...@gmail.com>
Date: Fri, 23 Apr 2010 17:47:41 +0100
Local: Fri, Apr 23 2010 12:47 pm
Subject: Re: filters
The patch does cover some incorrectly filtered packets, but I do not
think it is related to the issue you describe (of course it may be!)

Perhaps run astmanproxy in "-dddd" debug mode, and send me a copy of
the trace? If you also send a copy of the asterisk output, and then a
copy of the astmanproxy output (all for a single transaction so they
can be matched up.

Can you confirm that ALL of the returned AMP packets have an ActionID
on them when they come from Asterisk? A couple of commands were broken
and failed to put ActionID on all packets in 1.6.2.6

Regards,
Steve

On 23 April 2010 17:35, Sebastian <scg...@gmail.com> wrote:

--
You received this message because you are subscribed to the Google Groups "Astmanproxy" group.
To post to this group, send email to astmanproxy@googlegroups.com.
To unsubscribe from this group, send email to astmanproxy+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/astmanproxy?hl=en.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sebastian  
View profile  
 More options Apr 23 2010, 1:07 pm
From: "Sebastian" <scg...@gmail.com>
Date: Fri, 23 Apr 2010 14:07:07 -0300
Local: Fri, Apr 23 2010 1:07 pm
Subject: RE: filters

I think for this action there's no relevant asterisk output information.

Astmaproxydebug: with unique
Astprox2: autofilter off

Outputs:

Astmaproxydebug:

Asterisk Call Manager Proxy/1.24pre090526

ActionID: 1
Response: Success
Message: Authentication accepted

Astprox2:

Asterisk Call Manager Proxy/1.24pre090526

ActionID: 1
Response: Success
Message: Authentication accepted

Response: Success
ActionID: Autoflot
Message: Queue summary will follow
Server: localhost

As you said (app_queue.c):

                        astman_append(s, "Event: QueueSummary\r\n"
                                "Queue: %s\r\n"
                                "LoggedIn: %d\r\n"
                                "Available: %d\r\n"
                                "Callers: %d\r\n"
                                "HoldTime: %d\r\n"
                                "TalkTime: %d\r\n"
                                "LongestHoldTime: %d\r\n"
                                "%s"
                                "\r\n",
                                q->name, qmemcount, qmemavail, qchancount,
q->holdtime, q->talktime, qlongestholdtime, idText);
                }

Lacks of the actionid, do you think this is the problem?

Regards!

-----Mensaje original-----
De: astmanproxy@googlegroups.com [mailto:astmanproxy@googlegroups.com] En
nombre de Steve Davies
Enviado el: viernes, 23 de abril de 2010 13:48
Para: astmanproxy@googlegroups.com
Asunto: Re: filters

The patch does cover some incorrectly filtered packets, but I do not
think it is related to the issue you describe (of course it may be!)

Perhaps run astmanproxy in "-dddd" debug mode, and send me a copy of
the trace? If you also send a copy of the asterisk output, and then a
copy of the astmanproxy output (all for a single transaction so they
can be matched up.

Can you confirm that ALL of the returned AMP packets have an ActionID
on them when they come from Asterisk? A couple of commands were broken
and failed to put ActionID on all packets in 1.6.2.6

Regards,
Steve

On 23 April 2010 17:35, Sebastian <scg...@gmail.com> wrote:

"Astmanproxy" group.
> To post to this group, send email to astmanproxy@googlegroups.com.
> To unsubscribe from this group, send email to

astmanproxy+unsubscribe@googlegroups.com.
> For more options, visit this group at

http://groups.google.com/group/astmanproxy?hl=en.


--
You received this message because you are subscribed to the Google Groups
"Astmanproxy" group.
To post to this group, send email to astmanproxy@googlegroups.com.
To unsubscribe from this group, send email to
astmanproxy+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/astmanproxy?hl=en.

Se certificó que el correo entrante no contiene virus.
Comprobada por AVG - www.avg.es
Versión: 9.0.814 / Base de datos de virus: 271.1.1/2829 - Fecha de la
versión: 04/23/10 03:31:00

--
You received this message because you are subscribed to the Google Groups "Astmanproxy" group.
To post to this group, send email to astmanproxy@googlegroups.com.
To unsubscribe from this group, send email to astmanproxy+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/astmanproxy?hl=en.

  astmanproxydebug.txt
4K Download

  astprox2.txt
1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steve Davies  
View profile  
 More options Apr 24 2010, 2:35 pm
From: Steve Davies <davies...@gmail.com>
Date: Sat, 24 Apr 2010 19:35:49 +0100
Local: Sat, Apr 24 2010 2:35 pm
Subject: Re: filters
Yes, I think that ActionID should be on those packets. I noticed that
"Action: IAXPeers" had the same problem, and I patched it on my system
at work. It may be that it is done that way on purpose by Digium?

Perhaps check on the asterisk mailing list.

You might find that the patch I put on Git helps because I think it
allows packets with no filtering data to be passed by default.

Cheers,
Steve

On 23 April 2010 18:07, Sebastian <scg...@gmail.com> wrote:

--
You received this message because you are subscribed to the Google Groups "Astmanproxy" group.
To post to this group, send email to astmanproxy@googlegroups.com.
To unsubscribe from this group, send email to astmanproxy+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/astmanproxy?hl=en.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sebastian  
View profile  
 More options Apr 26 2010, 12:46 pm
From: "Sebastian" <scg...@gmail.com>
Date: Mon, 26 Apr 2010 13:46:22 -0300
Local: Mon, Apr 26 2010 12:46 pm
Subject: RE: filters
They have actionid missing on several places, the ideal thing is to patch
them all and make an issue with the patch.
I've done it for some events, and were commited some time ago, I will check
the missing ones on the queues, and I will add an issue with the patch as
soon as I can.

Regards

Sebastian

-----Mensaje original-----
De: astmanproxy@googlegroups.com [mailto:astmanproxy@googlegroups.com] En
nombre de Steve Davies
Enviado el: sábado, 24 de abril de 2010 15:36
Para: astmanproxy@googlegroups.com
Asunto: Re: filters

Yes, I think that ActionID should be on those packets. I noticed that
"Action: IAXPeers" had the same problem, and I patched it on my system
at work. It may be that it is done that way on purpose by Digium?

Perhaps check on the asterisk mailing list.

You might find that the patch I put on Git helps because I think it
allows packets with no filtering data to be passed by default.

Cheers,
Steve

On 23 April 2010 18:07, Sebastian <scg...@gmail.com> wrote:

"Astmanproxy" group.
> To post to this group, send email to astmanproxy@googlegroups.com.
> To unsubscribe from this group, send email to

astmanproxy+unsubscribe@googlegroups.com.
> For more options, visit this group at

http://groups.google.com/group/astmanproxy?hl=en.


--
You received this message because you are subscribed to the Google Groups
"Astmanproxy" group.
To post to this group, send email to astmanproxy@googlegroups.com.
To unsubscribe from this group, send email to
astmanproxy+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/astmanproxy?hl=en.

Se certificó que el correo entrante no contiene virus.
Comprobada por AVG - www.avg.es
Versión: 9.0.814 / Base de datos de virus: 271.1.1/2836 - Fecha de la
versión: 04/26/10 03:31:00

--
You received this message because you are subscribed to the Google Groups "Astmanproxy" group.
To post to this group, send email to astmanproxy@googlegroups.com.
To unsubscribe from this group, send email to astmanproxy+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/astmanproxy?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steve Davies  
View profile  
 More options Apr 26 2010, 1:26 pm
From: Steve Davies <davies...@gmail.com>
Date: Mon, 26 Apr 2010 18:26:25 +0100
Local: Mon, Apr 26 2010 1:26 pm
Subject: Re: filters
Thanks for the update.
Steve

On 26 April 2010 17:46, Sebastian <scg...@gmail.com> wrote:

> They have actionid missing on several places, the ideal thing is to patch
> them all and make an issue with the patch.
> I've done it for some events, and were commited some time ago, I will check
> the missing ones on the queues, and I will add an issue with the patch as
> soon as I can.

> Regards

> Sebastian

--
You received this message because you are subscribed to the Google Groups "Astmanproxy" group.
To post to this group, send email to astmanproxy@googlegroups.com.
To unsubscribe from this group, send email to astmanproxy+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/astmanproxy?hl=en.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »