Re: [asterisk-users] Trouble with *8 Pickup

2011-08-15 Thread Karsten Wemheuer
Hi,

Am Montag, den 15.08.2011, 10:18 +1200 schrieb Alec Davis:
 
   If you time the *8 just right so it is being handled during 
  the end of 
   the Dial then I got:
  
   [Aug 11 16:26:18] ERROR[18458]: astobj2.c:110 INTERNAL_OBJ: 
  user_data 
   is NULL [Aug 11 16:26:18] ERROR[18458]: astobj2.c:110 INTERNAL_OBJ: 
   user_data is NULL
  
  Does this happen when using the Pickup() application as well, 
  or is it specific to *8?
  
 
 Another way to get the same result, leaving orpaned channels, and the same
 message as above.
 
 Get the dialplan to execute
Dial(SIP/phone1SIP/phone2)
 
 Then simultaneously dial *8 from 2 other phones in the same call/pickup
 group as phone1 and phone2.

is this bug already reported at the issue tracker/jira? Is someone
working on it?

Karsten



--
_
-- 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] Trouble with *8 Pickup

2011-08-15 Thread Paul Hayes


is this bug already reported at the issue tracker/jira? Is someone
working on it?

Karsten



https://issues.asterisk.org/jira/browse/ASTERISK-18225


--
_
-- 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] Trouble with *8 Pickup

2011-08-15 Thread Ishfaq Malik
On Mon, 2011-08-15 at 15:32 +0100, Paul Hayes wrote:
 
  is this bug already reported at the issue tracker/jira? Is someone
  working on it?
 
  Karsten
 
 
 https://issues.asterisk.org/jira/browse/ASTERISK-18225
 
That's a different issue to what we have been discussing...

-- 
Ishfaq Malik
Software Developer
PackNet Ltd

Office:   0161 660 3062


--
_
-- 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] Trouble with *8 Pickup

2011-08-15 Thread Paul Hayes

On 15/08/11 15:41, Ishfaq Malik wrote:

On Mon, 2011-08-15 at 15:32 +0100, Paul Hayes wrote:


is this bug already reported at the issue tracker/jira? Is someone
working on it?

Karsten



https://issues.asterisk.org/jira/browse/ASTERISK-18225


That's a different issue to what we have been discussing...



The last comment seems to be the same thing.

--
_
-- 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] Trouble with *8 Pickup

2011-08-14 Thread Alec Davis
 

  If you time the *8 just right so it is being handled during 
 the end of 
  the Dial then I got:
 
  [Aug 11 16:26:18] ERROR[18458]: astobj2.c:110 INTERNAL_OBJ: 
 user_data 
  is NULL [Aug 11 16:26:18] ERROR[18458]: astobj2.c:110 INTERNAL_OBJ: 
  user_data is NULL
 
 Does this happen when using the Pickup() application as well, 
 or is it specific to *8?
 

Another way to get the same result, leaving orpaned channels, and the same
message as above.

Get the dialplan to execute
   Dial(SIP/phone1SIP/phone2)

Then simultaneously dial *8 from 2 other phones in the same call/pickup
group as phone1 and phone2.

Alec Davis



--
_
-- 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] Trouble with *8 Pickup

2011-08-12 Thread Ishfaq Malik
On Thu, 2011-08-11 at 16:38 +0100, Paul Hayes wrote:
  2011/8/11 Ishfaq Malik i...@pack-net.co.uk mailto:i...@pack-net.co.uk
 
  On Thu, 2011-08-11 at 14:47 +0100, --[ UxBoD ]-- wrote:
Ah, now this is interesting as one of our clients had the same
  problem the other day; in our case when they performed the *8 they
  got an extension unavailable from a completely different dialplan!
  This was on Asterisk 1.6 though with Snom phones.
 
  In the case of this server I was looking at, the only time this error
  occurred was when the pickup request happened in the same second as a
  dialplan step change so by the time the pick up of the channel was
  attempted, it no longer existed.
  --
  Ishfaq Malik
  Software Developer
  PackNet Ltd
 
  Office:   0161 660 3062
 
 
 It's not just a snom/asterisk thing.  I can replicate this with various 
 phones and Asterisk 1.8.5.  In fact with some phones the symptoms seemed 
 worse where the phone *8 had been dialled on didn't hang up but thought 
 it was on a call (while the caller had gone through to whatever the next 
 dial plan priority was, a Queue in my test case).
 
 It makes perfect sense to me that a pickup should fail if your Dial has 
 finished and * is stepping onto the next priority but a nicer Warning 
 such as Trying to pickup a non-existent channel would be better.
 
 My test code was simply this:
 
 exten = 123321,1,Dial(SIP/5502,5)
same = n,Answer
same = n,Wait(1)
same = n,Queue(booking,thHr)
 
 If you time the *8 just right so it is being handled during the end of 
 the Dial then I got:
 
 [Aug 11 16:26:18] ERROR[18458]: astobj2.c:110 INTERNAL_OBJ: user_data is 
 NULL
 [Aug 11 16:26:18] ERROR[18458]: astobj2.c:110 INTERNAL_OBJ: user_data is 
 NULL
 [Aug 11 16:26:18] WARNING[18458]: chan_sip.c:6429 sip_fixup: No SIP 
 tech_pvt! Fixup of SIP/5501-01da failed.
 [Aug 11 16:26:18] WARNING[18458]: channel.c:6462 ast_do_masquerade: 
 Fixup failed on channel SIP/5501-01daMASQ, strange things may happen.
 
 
 cheers,
 Paul.
 

Have you seen it in any other versions of 1.8 or is it something that
has happened in the latest release?
-- 
Ishfaq Malik
Software Developer
PackNet Ltd

Office:   0161 660 3062


--
_
-- 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] Trouble with *8 Pickup

2011-08-12 Thread Paul Hayes

On 12/08/11 08:46, Ishfaq Malik wrote:

Have you seen it in any other versions of 1.8 or is it something that
has happened in the latest release?


I've not specifically seen this issue with other versions of Asterisk 
but then I've never tried to replicate it.  The only time I've seen this 
with 1.8.5 is when I've purposely replicated it after reading your post.


I have had much, much worse problems with pickup in previous versions of 
1.8 and in the 1.6 branch where pickup will occasionally lock chan_sip 
altogether.  This is a known issue and is in Jira and is fixed in 1.8.5.


This issue doesn't really seem to cause any problems other than some 
stuck SIP channels.  It's in Jira too:


https://issues.asterisk.org/jira/browse/ASTERISK-18225

For the minute I can live with this and a nightly cron job to restart 
Asterisk to drop the stuck channels.  Bit of a bodge I know but it works 
till someone fixes the issue.


cheers,
Paul.

--
_
-- 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] Trouble with *8 Pickup

2011-08-12 Thread Ishfaq Malik
On Fri, 2011-08-12 at 09:46 +0100, Paul Hayes wrote:
 On 12/08/11 08:46, Ishfaq Malik wrote:
  Have you seen it in any other versions of 1.8 or is it something that
  has happened in the latest release?
 
 I've not specifically seen this issue with other versions of Asterisk 
 but then I've never tried to replicate it.  The only time I've seen this 
 with 1.8.5 is when I've purposely replicated it after reading your post.
 
After sending that email I had a look at the logs of our production
server which are running 1.8.3.2 and I can see no occurrence of those
errors.

Could it be possible that this crept in when the fix for the sip channel
locking bug was fixed?

-- 
Ishfaq Malik
Software Developer
PackNet Ltd

Office:   0161 660 3062


--
_
-- 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] Trouble with *8 Pickup

2011-08-11 Thread Ishfaq Malik
We have a client that has sporadic problems with the *8 pickup facility.
The server they are using is 1.8.5 and they are using Snom phones.

Every now and then when they try to do a pickup from another phone they
get a forbidden message on the phone and I can see the following in the
logs.

[Aug  8 11:51:53] ERROR[19314] astobj2.c: user_data is NULL
[Aug  8 11:51:53] ERROR[19314] astobj2.c: user_data is NULL
[Aug  8 11:51:53] WARNING[19314] chan_sip.c: No SIP tech_pvt! Fixup of 
SIP/-0404 failed.
[Aug  8 11:51:53] WARNING[19314] channel.c: Fixup failed on channel 
SIP/-0404MASQ, strange things may happen.

Does anyone know what this warning means?

Thanks

Ish

-- 
Ishfaq Malik
Software Developer
PackNet Ltd

Office:   0161 660 3062


--
_
-- 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] Trouble with *8 Pickup

2011-08-11 Thread --[ UxBoD ]--
Ah, now this is interesting as one of our clients had the same problem the 
other day; in our case when they performed the *8 they got an extension 
unavailable from a completely different dialplan! This was on Asterisk 1.6 
though with Snom phones.
-- 
Thanks, Phil

- Original Message -
 We have a client that has sporadic problems with the *8 pickup
 facility.
 The server they are using is 1.8.5 and they are using Snom phones.
 
 Every now and then when they try to do a pickup from another phone
 they
 get a forbidden message on the phone and I can see the following in
 the
 logs.
 
 [Aug  8 11:51:53] ERROR[19314] astobj2.c: user_data is NULL
 [Aug  8 11:51:53] ERROR[19314] astobj2.c: user_data is NULL
 [Aug  8 11:51:53] WARNING[19314] chan_sip.c: No SIP tech_pvt! Fixup
 of SIP/-0404 failed.
 [Aug  8 11:51:53] WARNING[19314] channel.c: Fixup failed on channel
 SIP/-0404MASQ, strange things may happen.
 
 Does anyone know what this warning means?
 
 Thanks
 
 Ish
 
 --
 Ishfaq Malik
 Software Developer
 PackNet Ltd
 
 Office:   0161 660 3062
 
 
 --
 _
 -- 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


Re: [asterisk-users] Trouble with *8 Pickup

2011-08-11 Thread Ishfaq Malik
On Thu, 2011-08-11 at 14:47 +0100, --[ UxBoD ]-- wrote:
 Ah, now this is interesting as one of our clients had the same problem the 
 other day; in our case when they performed the *8 they got an extension 
 unavailable from a completely different dialplan! This was on Asterisk 1.6 
 though with Snom phones.

In the case of this server I was looking at, the only time this error
occurred was when the pickup request happened in the same second as a
dialplan step change so by the time the pick up of the channel was
attempted, it no longer existed.
-- 
Ishfaq Malik
Software Developer
PackNet Ltd

Office:   0161 660 3062


--
_
-- 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] Trouble with *8 Pickup

2011-08-11 Thread salaheddine elharit
in my case i use snom 320  and 370

i flow this link and i can do the pichup with any issue


http://asterisk.snom.com/index.php/Asterisk_1.4/Call_Pickup
Regards.
2011/8/11 Ishfaq Malik i...@pack-net.co.uk

 On Thu, 2011-08-11 at 14:47 +0100, --[ UxBoD ]-- wrote:
  Ah, now this is interesting as one of our clients had the same problem
 the other day; in our case when they performed the *8 they got an extension
 unavailable from a completely different dialplan! This was on Asterisk 1.6
 though with Snom phones.

 In the case of this server I was looking at, the only time this error
 occurred was when the pickup request happened in the same second as a
 dialplan step change so by the time the pick up of the channel was
 attempted, it no longer existed.
 --
  Ishfaq Malik
 Software Developer
 PackNet Ltd

 Office:   0161 660 3062


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

Re: [asterisk-users] Trouble with *8 Pickup

2011-08-11 Thread Paul Hayes

2011/8/11 Ishfaq Malik i...@pack-net.co.uk mailto:i...@pack-net.co.uk

On Thu, 2011-08-11 at 14:47 +0100, --[ UxBoD ]-- wrote:
  Ah, now this is interesting as one of our clients had the same
problem the other day; in our case when they performed the *8 they
got an extension unavailable from a completely different dialplan!
This was on Asterisk 1.6 though with Snom phones.

In the case of this server I was looking at, the only time this error
occurred was when the pickup request happened in the same second as a
dialplan step change so by the time the pick up of the channel was
attempted, it no longer existed.
--
Ishfaq Malik
Software Developer
PackNet Ltd

Office:   0161 660 3062



It's not just a snom/asterisk thing.  I can replicate this with various 
phones and Asterisk 1.8.5.  In fact with some phones the symptoms seemed 
worse where the phone *8 had been dialled on didn't hang up but thought 
it was on a call (while the caller had gone through to whatever the next 
dial plan priority was, a Queue in my test case).


It makes perfect sense to me that a pickup should fail if your Dial has 
finished and * is stepping onto the next priority but a nicer Warning 
such as Trying to pickup a non-existent channel would be better.


My test code was simply this:

exten = 123321,1,Dial(SIP/5502,5)
  same = n,Answer
  same = n,Wait(1)
  same = n,Queue(booking,thHr)

If you time the *8 just right so it is being handled during the end of 
the Dial then I got:


[Aug 11 16:26:18] ERROR[18458]: astobj2.c:110 INTERNAL_OBJ: user_data is 
NULL
[Aug 11 16:26:18] ERROR[18458]: astobj2.c:110 INTERNAL_OBJ: user_data is 
NULL
[Aug 11 16:26:18] WARNING[18458]: chan_sip.c:6429 sip_fixup: No SIP 
tech_pvt! Fixup of SIP/5501-01da failed.
[Aug 11 16:26:18] WARNING[18458]: channel.c:6462 ast_do_masquerade: 
Fixup failed on channel SIP/5501-01daMASQ, strange things may happen.



cheers,
Paul.

--
_
-- 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] Trouble with *8 Pickup

2011-08-11 Thread Benny Amorsen
Paul Hayes p...@provu.co.uk writes:

 If you time the *8 just right so it is being handled during the end of
 the Dial then I got:

 [Aug 11 16:26:18] ERROR[18458]: astobj2.c:110 INTERNAL_OBJ: user_data
 is NULL
 [Aug 11 16:26:18] ERROR[18458]: astobj2.c:110 INTERNAL_OBJ: user_data
 is NULL

Does this happen when using the Pickup() application as well, or is it
specific to *8?


/Benny


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