[asterisk-bugs] [JIRA] (ASTERISK-21683) Asterisk 1.8.21.0 Blind Transfer To Parking For An Inbound Call Fails And Leaves Call In Limbo State

Rusty Newton (JIRA) noreply at issues.asterisk.org
Thu Apr 25 19:50:38 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-21683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=205877#comment-205877 ] 

Rusty Newton edited comment on ASTERISK-21683 at 4/25/13 7:48 PM:
------------------------------------------------------------------

I couldn't reproduce the channel sticking around with a simple blind transfer to parking and hanging up of the caller. How is your caller hanging up? Do we get a typical SIP BYE ?

{noformat}
    -- Added extension '701' priority 1 to parkedcalls
    -- Started music on hold, class 'default', on SIP/6001-00000000
  == Spawn extension (parkingtest, s, 1) exited non-zero on 'Parked/SIP/6001-00000000<ZOMBIE>'
    -- Executing [h at parkingtest:1] Hangup("Parked/SIP/6001-00000000<ZOMBIE>", "") in new stack
  == Spawn extension (parkingtest, h, 1) exited non-zero on 'Parked/SIP/6001-00000000<ZOMBIE>'
    -- Stopped music on hold on SIP/6001-00000000
  == SIP/6001-00000000 got tired of being parked
ubuntu*CLI> parkedcalls show 
Num        Channel                   (Context         Extension     Pri) Timeout
*** Parking lot: default (-1)
{noformat}

I noticed in your debug the following lines are missing
{noformat}
    -- Stopped music on hold on SIP/6001-00000000
  == SIP/6001-00000000 got tired of being parked
{noformat}

1. Can you provide another Asterisk log showing the failure, but be sure to enable SIP debug (sip set debug on), plus DEBUG messages (logger.conf) and set core debug to at least level 5?

https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

2. How are you doing the origination? With AMI? Can you show us the full AMI command?

3. attach features.conf and a sanitized sip.conf for the peers involved (including global settings)

                
      was (Author: rnewton):
    I couldn't reproduce the channel sticking around with a simple blind transfer to parking. 

{noformat}
    -- Added extension '701' priority 1 to parkedcalls
    -- Started music on hold, class 'default', on SIP/6001-00000000
  == Spawn extension (parkingtest, s, 1) exited non-zero on 'Parked/SIP/6001-00000000<ZOMBIE>'
    -- Executing [h at parkingtest:1] Hangup("Parked/SIP/6001-00000000<ZOMBIE>", "") in new stack
  == Spawn extension (parkingtest, h, 1) exited non-zero on 'Parked/SIP/6001-00000000<ZOMBIE>'
    -- Stopped music on hold on SIP/6001-00000000
  == SIP/6001-00000000 got tired of being parked
ubuntu*CLI> parkedcalls show 
Num        Channel                   (Context         Extension     Pri) Timeout
*** Parking lot: default (-1)
{noformat}

I noticed in your debug the following lines are missing
{noformat}
    -- Stopped music on hold on SIP/6001-00000000
  == SIP/6001-00000000 got tired of being parked
{noformat}

1. Can you provide another Asterisk log showing the failure, but be sure to enable SIP debug (sip set debug on), plus DEBUG messages (logger.conf) and set core debug to at least level 5?

https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

2. How are you doing the origination? With AMI? Can you show us the full AMI command?

3. attach features.conf and a sanitized sip.conf for the peers involved (including global settings)

                  
> Asterisk 1.8.21.0 Blind Transfer To Parking For An Inbound Call Fails And Leaves Call In Limbo State
> ----------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-21683
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21683
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Features/Parking
>    Affects Versions: 1.8.21.0
>         Environment: Centos Linux
>            Reporter: Vito Gioia
>
> We need to use blind transfer to call park as we are using BLF to monitor park 701-704. We are doing this as a faster way of parking a call in busy environments. This works fine on calls that were terminated but not on calls that are originated.  When blind transferred on termination call the BLF lights and call is able to be retrieved by pressing BLF button. However, on an originated call the blind transfer leaves the call in limbo until it rings back. See console output below:
>  This is for a working blind transfer (Termination)-
> {noformat}
>  -- SIP/xxxxxxxxxxxxxx-000000bb is making progress passing it to SIP/6003-5091000-000000ba
>     -- SIP/xxxxxxxxxxxxxx-000000bb answered SIP/6003-5091000-000000ba
>     -- Executing [h at from-inside-redir-5091000:1] Hangup("SIPPeer/SIP/6003-5091000-000000ba<ZOMBIE>", "") in new stack
>   == Spawn extension (from-inside-redir-5091000, h, 1) exited non-zero on 'SIPPeer/SIP/6003-5091000-000000ba<ZOMBIE>'
>   == Spawn extension (macro-tl-dialout-base, dial-SIP, 7) exited non-zero on 'SIPPeer/SIP/6003-5091000-000000ba<ZOMBIE>' in macro 'tl-dialout-base'
>   == Spawn extension (macro-tl-dialout-1-trunk, s, 3) exited non-zero on 'SIPPeer/SIP/6003-5091000-000000ba<ZOMBIE>' in macro 'tl-dialout-1-trunk'
>   == Spawn extension (from-inside-redir-5091000, 4730228, 1) exited non-zero on 'SIPPeer/SIP/6003-5091000-000000ba<ZOMBIE>'
>     -- Started music on hold, class 'default', on SIP/IV-SBC-001-P10FTL-000000bb
>   == Parked SIP/xxxxxxxxxxxx-000000bb on 702 (lot parkinglot_5091000). Will timeout back to extension [from-outside] , 1 in 180 seconds
>   == Extension Changed 702[subscriptions-5091000] new state InUse for Notify User 6003-5091000
>     -- <SIP/6003-5091000-000000ba> Playing 'digits/7.ulaw' (language 'en')
>     -- <SIP/6003-5091000-000000ba> Playing 'digits/0.ulaw' (language 'en')
>     -- <SIP/6003-5091000-000000ba> Playing 'digits/2.ulaw' (language 'en')
> pbx01*CLI> parkedcalls show
> Num        Channel                   (Context         Extension     Pri) Timeout
> *** Parking lot: parkinglot_5091000 (1)
> 702        SIP/IV-SBC-001-P10FTL-000000bb (from-outside                    1)    161s
>    1 parked call in parking lot parkinglot_5091000
> *** Parking lot: default (-1)
> ---
> 1 parked call in total.
>   == Using SIP RTP TOS bits 184
>   == Using SIP RTP CoS mark 5
>     -- Executing [702 at from-inside-5091000:1] Macro("SIP/6003-5091000-000000bc", "tl-set-variables2,from-inside-redir-5091000,5091000") in new stack
>     -- Executing [s at macro-tl-set-variables2:1] Set("SIP/6003-5091000-000000bc", "__tenant=5091000") in new stack
>     -- Executing [s at macro-tl-set-variables2:2] Set("SIP/6003-5091000-000000bc", "CDR(userfield)=5091000") in new stack
>     -- Executing [s at macro-tl-set-variables2:3] Set("SIP/6003-5091000-000000bc", "__FROM_INSIDE=1") in new stack
>     -- Executing [s at macro-tl-set-variables2:4] Set("SIP/6003-5091000-000000bc", "HASH(T)=2,1,,default,,1,7722283088,IntelliVoice,,1,,,,0") in new stack
>     -- Executing [s at macro-tl-set-variables2:5] Set("SIP/6003-5091000-000000bc", "__MOH=default") in new stack
>     -- Executing [s at macro-tl-set-variables2:6] GotoIf("SIP/6003-5091000-000000bc", "1 ?setmoh") in new stack
>     -- Goto (macro-tl-set-variables2,s,8)
>     -- Executing [s at macro-tl-set-variables2:8] Set("SIP/6003-5091000-000000bc", "CHANNEL(musicclass)=default") in new stack
>     -- Executing [s at macro-tl-set-variables2:9] GotoIf("SIP/6003-5091000-000000bc", "1?check_tenant_language") in new stack
>     -- Goto (macro-tl-set-variables2,s,11)
>     -- Executing [s at macro-tl-set-variables2:11] GotoIf("SIP/6003-5091000-000000bc", "1?cont") in new stack
>     -- Goto (macro-tl-set-variables2,s,13)
>     -- Executing [s at macro-tl-set-variables2:13] Goto("SIP/6003-5091000-000000bc", "from-inside-redir-5091000,702,1") in new stack
>     -- Goto (from-inside-redir-5091000,702,1)
>   == Channel 'SIP/6003-5091000-000000bc' jumping out of macro 'tl-set-variables2'
>     -- Executing [702 at from-inside-redir-5091000:1] ParkedCall("SIP/6003-5091000-000000bc", "702,parkinglot_5091000") in new stack
>     -- Stopped music on hold on SIP/IV-SBC-001-P10FTL-000000bb
>   == Extension Changed 702[subscriptions-5091000] new state Idle for Notify User 6003-5091000
>     -- <SIP/6003-5091000-000000bc> Playing 'beep.ulaw' (language 'en')
>     -- Channel SIP/6003-5091000-000000bc connected to parked call 702
>     -- Locally bridging SIP/6003-5091000-000000bc and SIP/IV-SBC-001-P10FTL-000000bb
>     -- Executing [h at from-inside-redir-5091000:1] Hangup("SIP/6003-5091000-000000bc", "") in new stack
>   == Spawn extension (from-inside-redir-5091000, h, 1) exited non-zero on 'SIP/6003-5091000-000000bc'
>   == Spawn extension (from-inside-redir-5091000, 702, 1) exited non-zero on 'SIP/6003-5091000-000000bc'
> {noformat}
> Here is output from Failed Origination Call-
> {noformat}
> -- Called SIP/6003-5091000
>     -- SIP/6003-5091000-000000bf is ringing
>     -- SIP/6003-5091000-000000bf answered SIP/voipinno1-000000bd
>   == Spawn extension (from-inside-5091000, 700, 1) exited non-zero on 'SIP/voipinno1-000000bd' in macro 'tl-userexten-base'
>   == Spawn extension (from-inside-5091000, 700, 1) exited non-zero on 'SIP/voipinno1-000000bd' in macro 'tl-stdexten'
>   == Spawn extension (from-inside-5091000, 700, 1) exited non-zero on 'SIP/voipinno1-000000bd'
>     -- Executing [700 at from-inside-5091000:1] Macro("SIP/voipinno1-000000bd", "tl-set-variables2,from-inside-redir-5091000,5091000") in new stack
>     -- Executing [s at macro-tl-set-variables2:1] Set("SIP/voipinno1-000000bd", "__tenant=5091000") in new stack
>     -- Executing [s at macro-tl-set-variables2:2] Set("SIP/voipinno1-000000bd", "CDR(userfield)=5091000") in new stack
>     -- Executing [s at macro-tl-set-variables2:3] Set("SIP/voipinno1-000000bd", "__FROM_INSIDE=1") in new stack
>     -- Executing [s at macro-tl-set-variables2:4] Set("SIP/voipinno1-000000bd", "HASH(T)=2,1,,default,,1,7722283088,IntelliVoice,,1,,,,0") in new stack
>     -- Executing [s at macro-tl-set-variables2:5] Set("SIP/voipinno1-000000bd", "__MOH=default") in new stack
>     -- Executing [s at macro-tl-set-variables2:6] GotoIf("SIP/voipinno1-000000bd", "1 ?setmoh") in new stack
>     -- Goto (macro-tl-set-variables2,s,8)
>     -- Executing [s at macro-tl-set-variables2:8] Set("SIP/voipinno1-000000bd", "CHANNEL(musicclass)=default") in new stack
>     -- Executing [s at macro-tl-set-variables2:9] GotoIf("SIP/voipinno1-000000bd", "1?check_tenant_language") in new stack
>     -- Goto (macro-tl-set-variables2,s,11)
>     -- Executing [s at macro-tl-set-variables2:11] GotoIf("SIP/voipinno1-000000bd", "1?cont") in new stack
>     -- Goto (macro-tl-set-variables2,s,13)
>     -- Executing [s at macro-tl-set-variables2:13] Goto("SIP/voipinno1-000000bd", "from-inside-redir-5091000,700,1") in new stack
>     -- Goto (from-inside-redir-5091000,700,1)
>   == Channel 'SIP/voipinno1-000000bd' jumping out of macro 'tl-set-variables2'
>     -- Executing [700 at from-inside-redir-5091000:1] Park("SIP/voipinno1-000000bd", "") in new stack
>   == Parked SIP/voipinno1-000000bd on 701 (lot default). Will timeout back to extension [from-inside-redir-5091000] s, 1 in 45 seconds
>     -- Started music on hold, class 'default', on SIP/voipinno1-000000bd
>   == Spawn extension (from-inside-redir-5091000, s, 1) exited non-zero on 'Parked/SIP/voipinno1-000000bd<ZOMBIE>'
>     -- Executing [h at from-inside-redir-5091000:1] Hangup("Parked/SIP/voipinno1-000000bd<ZOMBIE>", "") in new stack
>   == Spawn extension (from-inside-redir-5091000, h, 1) exited non-zero on 'Parked/SIP/voipinno1-000000bd<ZOMBIE>'
> pbx01*CLI>
> pbx01*CLI>
> pbx01*CLI> parkedcalls show
> Num        Channel                   (Context         Extension     Pri) Timeout
> *** Parking lot: parkinglot_5091000 (0)
> *** Parking lot: default (0)
> 701        SIP/voipinno1-000000bd    (from-inside-redir-5091000 s               1)     30s
>    1 parked call in parking lot default
> ---
> 1 parked call in total.
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list