[Freeswitch-users] Multiple attended transfer of an inbound call

Support Technique support at amiconcept.com
Wed Nov 20 04:12:29 MSK 2013


Hi team,

 

I have Freeswitch setup so when an incoming call is answered, it can be
transferred to another extension or into a valet parking lot. That`s fairly
simple using the transfer key of the phones.

 

What I am having issue with is if the extension that answered the
transferred call (or picked up the parked call) wants to transfer it
somewhere else or park it again, things will work until that extension hangs
up; meaning I hit the transfer key and make the other extension to ring, it
answers but once I hang up, everything hang up so the original incoming call
is not connected.

 

I get this in the log:

-- The call is coming in

2013-11-19 17:17:13.938118 [NOTICE] switch_channel.c:968 New Channel
sofia/internal/5551212 at 192.168.0.10 [579ac220-5168-11e3-9adb-1f655b7322d0]

2013-11-19 17:17:14.018119 [INFO] mod_dialplan_xml.c:557 Processing Benoit
<5551212>->gxw01 in context public

2013-11-19 17:17:14.018119 [NOTICE] switch_channel.c:968 New Channel
sofia/internal/sip:399 at 192.168.0.101:5063
[57a74022-5168-11e3-9aef-1f655b7322d0]

2013-11-19 17:17:14.028112 [NOTICE] switch_channel.c:968 New Channel
sofia/internal/sip:300 at 192.168.0.102:5060
[57a797d4-5168-11e3-9af9-1f655b7322d0]

2013-11-19 17:17:14.078115 [NOTICE] sofia.c:5666 Ring-Ready
sofia/internal/sip:300 at 192.168.0.102:5060!

2013-11-19 17:17:14.088114 [NOTICE] mod_sofia.c:2746 Ring-Ready
sofia/internal/5551212 at 192.168.0.10!

2013-11-19 17:17:14.088114 [NOTICE] switch_ivr_originate.c:521 Ring Ready
sofia/internal/5551212 at 192.168.0.10!

2013-11-19 17:17:14.378117 [NOTICE] sofia.c:5666 Ring-Ready
sofia/internal/sip:399 at 192.168.0.101:5063!

2013-11-19 17:17:15.568118 [NOTICE] sofia.c:6326 Channel
[sofia/internal/sip:300 at 192.168.0.102:5060] has been answered

2013-11-19 17:17:15.568118 [NOTICE] switch_ivr_originate.c:3351 Hangup
sofia/internal/sip:399 at 192.168.0.101:5063 [CS_CONSUME_MEDIA] [LOSE_RACE]

2013-11-19 17:17:15.578113 [NOTICE] sofia_glue.c:4259 Pre-Answer
sofia/internal/5551212 at 192.168.0.10!

2013-11-19 17:17:15.578113 [NOTICE] switch_ivr_originate.c:3378 Channel
[sofia/internal/5551212 at 192.168.0.10] has been answered

2013-11-19 17:17:15.578113 [NOTICE] switch_core_session.c:1517 Session 186
(sofia/internal/sip:399 at 192.168.0.101:5063) Ended

2013-11-19 17:17:15.578113 [NOTICE] switch_core_session.c:1521 Close Channel
sofia/internal/sip:399 at 192.168.0.101:5063 [CS_DESTROY]

 

-- Now I transfer to extension 399

2013-11-19 17:17:20.238119 [NOTICE] switch_ivr.c:1801 Transfer
sofia/internal/5551212 at 192.168.0.10 to XML[399 at public]

2013-11-19 17:17:20.268119 [NOTICE] switch_ivr_bridge.c:685 Hangup
sofia/internal/sip:300 at 192.168.0.102:5060 [CS_EXCHANGE_MEDIA]
[NORMAL_CLEARING]

2013-11-19 17:17:20.268119 [INFO] mod_dialplan_xml.c:557 Processing Benoit
<4504324671>->399 in context public

2013-11-19 17:17:20.268119 [NOTICE] switch_core_session.c:1517 Session 187
(sofia/internal/sip:300 at 192.168.0.102:5060) Ended

2013-11-19 17:17:20.268119 [NOTICE] switch_core_session.c:1521 Close Channel
sofia/internal/sip:300 at 192.168.0.102:5060 [CS_DESTROY]

2013-11-19 17:17:20.368119 [NOTICE] switch_channel.c:968 New Channel
sofia/internal/sip:399 at 192.168.0.101:5063
[5b6f1824-5168-11e3-9b0d-1f655b7322d0]

2013-11-19 17:17:20.618118 [NOTICE] sofia.c:5666 Ring-Ready
sofia/internal/sip:399 at 192.168.0.101:5063!

2013-11-19 17:17:22.498112 [NOTICE] sofia.c:6326 Channel
[sofia/internal/sip:399 at 192.168.0.101:5063] has been answered

2013-11-19 17:17:29.518117 [NOTICE] switch_channel.c:968 New Channel
sofia/internal/399 at 192.168.0.3 [60e39e56-5168-11e3-9b17-1f655b7322d0]

 

-- Then I hit the transfer key on 399 to go to 300

2013-11-19 17:17:29.738117 [INFO] mod_dialplan_xml.c:557 Processing Test
<399>->300 in context default

2013-11-19 17:17:29.738117 [NOTICE] switch_channel.c:968 New Channel
sofia/internal/sip:300 at 192.168.0.102:5060
[61056d4c-5168-11e3-9b2a-1f655b7322d0]

2013-11-19 17:17:29.798118 [NOTICE] sofia.c:5666 Ring-Ready
sofia/internal/sip:300 at 192.168.0.102:5060!

2013-11-19 17:17:29.798118 [NOTICE] mod_sofia.c:2746 Ring-Ready
sofia/internal/399 at 192.168.0.3!

2013-11-19 17:17:29.798118 [NOTICE] switch_ivr_originate.c:521 Ring Ready
sofia/internal/399 at 192.168.0.3!

 

-- As soon as I hit the transfer key again to finalise the transfer,
everything hangs up

2013-11-19 17:17:30.978119 [NOTICE] sofia.c:6381 Hangup
sofia/internal/399 at 192.168.0.3 [CS_EXECUTE] [ORIGINATOR_CANCEL]

2013-11-19 17:17:30.978119 [NOTICE] switch_ivr_originate.c:3351 Hangup
sofia/internal/sip:300 at 192.168.0.102:5060 [CS_CONSUME_MEDIA]
[ORIGINATOR_CANCEL]

2013-11-19 17:17:30.978119 [NOTICE] switch_ivr_originate.c:2608 Cannot
create outgoing channel of type [user] cause: [ORIGINATOR_CANCEL]

2013-11-19 17:17:30.978119 [INFO] mod_dptools.c:3055 Originate Failed.
Cause: ORIGINATOR_CANCEL

2013-11-19 17:17:30.988118 [NOTICE] switch_core_session.c:1517 Session 190
(sofia/internal/sip:300 at 192.168.0.102:5060) Ended

2013-11-19 17:17:30.988118 [NOTICE] switch_core_session.c:1521 Close Channel
sofia/internal/sip:300 at 192.168.0.102:5060 [CS_DESTROY]

2013-11-19 17:17:30.988118 [NOTICE] switch_core_session.c:1517 Session 189
(sofia/internal/399 at 192.168.0.3) Ended

2013-11-19 17:17:30.988118 [NOTICE] switch_core_session.c:1521 Close Channel
sofia/internal/399 at 192.168.0.3 [CS_DESTROY]

2013-11-19 17:17:32.028118 [NOTICE] switch_ivr.c:1801 Transfer
sofia/internal/5551212 at 192.168.0.10 to XML[300 at public]

2013-11-19 17:17:32.048118 [NOTICE] switch_ivr_bridge.c:685 Hangup
sofia/internal/sip:399 at 192.168.0.101:5063 [CS_EXCHANGE_MEDIA]
[NORMAL_CLEARING]

2013-11-19 17:17:32.068118 [NOTICE] switch_core_session.c:1517 Session 188
(sofia/internal/sip:399 at 192.168.0.101:5063) Ended

2013-11-19 17:17:32.068118 [NOTICE] switch_core_session.c:1521 Close Channel
sofia/internal/sip:399 at 192.168.0.101:5063 [CS_DESTROY]

2013-11-19 17:17:32.068118 [NOTICE] switch_cpp.cpp:637 Hangup
sofia/internal/5551212 at 192.168.0.10 [CS_ROUTING] [NORMAL_CLEARING]

2013-11-19 17:17:32.068118 [NOTICE] switch_core_session.c:1517 Session 185
(sofia/internal/5551212 at 192.168.0.10) Ended

2013-11-19 17:17:32.068118 [NOTICE] switch_core_session.c:1521 Close Channel
sofia/internal/5551212 at 192.168.0.10 [CS_DESTROY]

 

Any advice would be appreciated.

 

Benoit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131119/522f94cf/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list