[asterisk-users] asterisk 1.8 parking not working

Matthew Jordan mjordan at digium.com
Wed Oct 3 10:40:23 CDT 2012



----- Original Message ----- 

> From: "gincantalupo" <gincantalupo at fgasoftware.com>
> To: "Asterisk Users Mailing List - Non-Commercial Discussion"
> <asterisk-users at lists.digium.com>
> Sent: Wednesday, October 3, 2012 10:07:22 AM
> Subject: Re: [asterisk-users] asterisk 1.8 parking not working

> Hi Matthew,

<snip>

> and this is the log:

> [2012-10-03 16:50:25] VERBOSE[32765] app_dial.c: -- SIP/8-0000008c
> answered SIP/107-0000008b
> -------------- transferring with ##700 (on the phone) --------------
> [2012-10-03 16:51:02] VERBOSE[32765] res_musiconhold.c: -- Started
> music on hold, class 'default', on SIP/107-0000008b
> [2012-10-03 16:51:02] VERBOSE[32765] file.c: -- <SIP/8-0000008c>
> Playing 'pbx-transfer.gsm' (language 'it')
> [2012-10-03 16:51:06] VERBOSE[32765] features.c: -- Blind
> transferring SIP/107-0000008b to '700' (context inbound) priority 1
> [2012-10-03 16:51:06] VERBOSE[32765] res_musiconhold.c: -- Stopped
> music on hold on SIP/107-0000008b
> [2012-10-03 16:51:06] VERBOSE[32765] res_agi.c: --
> <SIP/107-0000008b>AGI Script /var/lib/asterisk/script.py completed,
> returning 0
> [2012-10-03 16:51:06] VERBOSE[32765] pbx.c: -- Executing
> [700 at inbound:1] NoOp("SIP/107-0000008b", "22 - Running in inbound at
> 700") in new stack
> [2012-10-03 16:51:06] VERBOSE[32765] pbx.c: -- Executing
> [700 at inbound:2] Set("SIP/107-0000008b", "AGISIGHUP=no") in new stack
> [2012-10-03 16:51:06] VERBOSE[32765] pbx.c: -- Executing
> [700 at inbound:3] AGI("SIP/107-0000008b",
> "/var/lib/asterisk/script.py") in new stack
> [2012-10-03 16:51:06] VERBOSE[32765] res_agi.c: -- Launched AGI
> Script /var/lib/asterisk/script.py

> As you can see 700 is matching with
> ; Forward any other extension to the standard AGI
> exten => _X.,1,Noop(22 - Running in ${CONTEXT} at ${EXTEN})
> exten => _X.,n,Set(AGISIGHUP=no)
> exten => _X.,n,AGI(/var/lib/asterisk/hash3/bin/exten2.py)
> exten => _X.,n,HangUp

> and not with the extension 700.

> I think this is a bug. It is not the first time....I remember having
> reported a bug on asterisk 1.4, same topic...parking....
> This is what you can find inside Asterisk 1.8 changelog:

> --- Fix blind transfer parking issues if the dialed extension is not
> recognized as a parking extension.

> That's why I upgraded from 1.8.11 to 1.8.16. But I think the issue
> has not been solved....

No, this is not a bug.  Pattern match extensions within a given context are
given preference over included extensions from other contexts, which the parking
lot extension in context parkinglots is by its very nature.



More information about the asterisk-users mailing list