[asterisk-users] Trouble with *8 Pickup
Ishfaq Malik
ish at pack-net.co.uk
Fri Aug 12 02:46:37 CDT 2011
On Thu, 2011-08-11 at 16:38 +0100, Paul Hayes wrote:
> > 2011/8/11 Ishfaq Malik <ish at pack-net.co.uk <mailto:ish at 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-000001da failed.
> [Aug 11 16:26:18] WARNING[18458]: channel.c:6462 ast_do_masquerade:
> Fixup failed on channel SIP/5501-000001da<MASQ>, 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
More information about the asterisk-users
mailing list