<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>RE: Am I supposed to get unrequested events after a handoff return?</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_category?p_l_id=148613&amp;mbCategoryId=0" />
  <subtitle>RE: Am I supposed to get unrequested events after a handoff return?</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_category?p_l_id=148613&amp;mbCategoryId=0</id>
  <updated>2013-05-18T17:50:37Z</updated>
  <dc:date>2013-05-18T17:50:37Z</dc:date>
  <entry>
    <title>RE: Can't hear ringing</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15372927" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15372927</id>
    <updated>2013-05-17T16:41:34Z</updated>
    <published>2013-05-17T16:41:34Z</published>
    <summary type="html">Your script has no problem, it works for me I can hear ringback. Maybe something to do with you router, confiurationm...etc</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-17T16:41:34Z</dc:date>
  </entry>
  <entry>
    <title>RE: How TCL can speak a password for caller?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15370424" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15370424</id>
    <updated>2013-05-17T15:44:00Z</updated>
    <published>2013-05-17T15:44:00Z</published>
    <summary type="html">Can not do text to speach</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-17T15:44:00Z</dc:date>
  </entry>
  <entry>
    <title>RE: How do I respond 200 OK to a hold request in TCL IVR?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15346633" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15346633</id>
    <updated>2013-05-16T21:01:48Z</updated>
    <published>2013-05-16T21:01:48Z</published>
    <summary type="html">You do connection destroy whne you get [color=#ff0000]ev_transfer_request[/color] to get XTO information. 
 
 </summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-16T21:01:48Z</dc:date>
  </entry>
  <entry>
    <title>RE: How do I respond 200 OK to a hold request in TCL IVR?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15342670" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15342670</id>
    <updated>2013-05-16T19:13:52Z</updated>
    <published>2013-05-16T19:13:52Z</published>
    <summary type="html">FYI,
I was using tcl script.
 
 
 
 </summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-16T19:13:52Z</dc:date>
  </entry>
  <entry>
    <title>RE: How do I respond 200 OK to a hold request in TCL IVR?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15342003" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15342003</id>
    <updated>2013-05-16T18:40:04Z</updated>
    <published>2013-05-16T18:40:04Z</published>
    <summary type="html">I setup two Cisco sip phone on 2900 and did the same test I was able to see 200 OK replying to that sendonly INVITE and tranfer was successful (I only have 2 SIP phone so XTO is a SCCP phone, but I think this passed what you are missing)
 
Did you try transfer without Tcl ? Is it OK ?
My IOS version is:
c2900-universalk9-mz.SPA.153-1.T.bin
 
Thanks</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-16T18:40:04Z</dc:date>
  </entry>
  <entry>
    <title>RE: How do I respond 200 OK to a hold request in TCL IVR?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15304467" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15304467</id>
    <updated>2013-05-15T23:03:04Z</updated>
    <published>2013-05-15T23:03:04Z</published>
    <summary type="html">I see, the scenario I was talking abount did get the REFER. If you can provide entire SIP trace and deb voip ccapi inout I can ask around for you. You ca send it to developer-support@cisco.com if you feel more comfortable in that way.
 </summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-15T23:03:04Z</dc:date>
  </entry>
  <entry>
    <title>RE: How do I respond 200 OK to a hold request in TCL IVR?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15299998" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15299998</id>
    <updated>2013-05-15T22:11:40Z</updated>
    <published>2013-05-15T22:11:40Z</published>
    <summary type="html">Also what really happen after you did leg setup ? what is the setup status ? Any leg got disconneted ?</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-15T22:11:40Z</dc:date>
  </entry>
  <entry>
    <title>RE: How do I respond 200 OK to a hold request in TCL IVR?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15299860" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15299860</id>
    <updated>2013-05-15T21:54:41Z</updated>
    <published>2013-05-15T21:53:09Z</published>
    <summary type="html">The scenario you descbibed has been tested and used (of cause the equipment maybe different but it is in all SIP environment) So when you do leg setup between XEE and XTO after ev_destroy_done, we can do two things to XTO. One is using INVITE one is using REFR. So the question to ask is that can XTO use both methods or just one of them can work ? Can ypu please show me how you do leg setup for XEE and XTO ? (i.e. callInfo() information), I guess that you are comsuing REFER not passing REFER. Thanks.  </summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-15T21:53:09Z</dc:date>
  </entry>
  <entry>
    <title>RE: How do I respond 200 OK to a hold request in TCL IVR?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15299094" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15299094</id>
    <updated>2013-05-15T21:16:06Z</updated>
    <published>2013-05-15T20:49:07Z</published>
    <summary type="html">Yes, that could be different. Maybe let me know what you like to do ?  You like to to blind transfer and you need to send REFER out when receive REFER ? Are you using Cisco SIP phone ? Is it really displaying "Blndxfr" or just "Transfer". If you are using the one display "Transfer"  then it's not really doing blind transfer. But if you see the one display "blndxfr" then it's fine. I am not phone expert, I don't know where we can change the configuration. Also please show me how you do this -- "if I am doing a blind transfer the REFER is never sent" i.e. leg setup after destory legs</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-15T20:49:07Z</dc:date>
  </entry>
  <entry>
    <title>RE: How do I respond 200 OK to a hold request in TCL IVR?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15298096" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15298096</id>
    <updated>2013-05-15T19:54:31Z</updated>
    <published>2013-05-15T19:54:31Z</published>
    <summary type="html">No, when you recieve "ev_setup_indication" before doing leg setup to B
"leg connect" may not need it but if we need to send 200 OK from GW to respond the orginal INVITE then we can use it to send 200 OK.
If we want to do it precisely can do the follwoing, but for you just add leg connect leg_incoming when handling ev_setup_indication is good enough.
               set legID [string trim [infotag get leg_incoming]]
               set legState [infotag get leg_state $legID]
               #check leg state before do "leg connect
               #to make sure leg is not connected already
               if {$legState != "lg_005" &amp;&amp; $legState != "lg_008"} {
                   if {$legState == "lg_001"} {
                       puts "\n&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;legstate = lg_001&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;\n"
                       leg setupack leg_incoming
                       leg proceeding leg_incoming
                       leg connect leg_incoming
                   } elseif {$legState == "lg_002"} {
                        puts "\n&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;legstate = lg_002&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;\n"
                       leg proceeding leg_incoming
                       leg connect leg_incoming
                   } else {
                        puts "\n&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;legstate = $legState&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;\n"
                        leg connect leg_incoming
                   }
               }
               # end of modification
               # lg_001 --&gt; LEG_INCOMING_FIRST
               # lg_002 --&gt; LEG_INCACKED
               # lg_003 --&gt; LEG_INCPROCEED
               # lg_005 --&gt; LEG_INCCONNECTED
               # lg_008 --&gt; LEG_OUTPROCEED</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-15T19:54:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: How do I respond 200 OK to a hold request in TCL IVR?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15292348" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15292348</id>
    <updated>2013-05-15T17:46:24Z</updated>
    <published>2013-05-15T17:13:51Z</published>
    <summary type="html">SIP to SIP -- the 200 OK is received from the SIP phone being held but it is not sent to the SIP phone doing the holding: Received: INVITE sip:233@10.5.55.250:5061;transport=tls SIP/2.0 [color=#ff0000]This original INVITE is from calling party right ?[/color] [color=#ff0000]Missing 200 OK here right ?[/color] [color=#ff0000]If answer is yes to both. I guess you don't have "leg connect leg_incoming" in you script.[/color] Sent: INVITE sip:233@10.5.55.202:62321 SIP/2.0 SIP/2.0 100 Trying Received: SIP/2.0 200 OK Sent: ACK sip:233@10.5.55.202:62321 SIP/2.0  </summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-15T17:13:51Z</dc:date>
  </entry>
  <entry>
    <title>RE: How do I respond 200 OK to a hold request in TCL IVR?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15288178" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15288178</id>
    <updated>2013-05-15T16:20:24Z</updated>
    <published>2013-05-15T16:20:24Z</published>
    <summary type="html">And the 200 OK is responding to ? 

Maybe SIP messge trace and show where we need a 200 OK ? If you can show PSTN &lt;-&gt; SIP trace and indicate the 200 OK that is missing in SIP to SIP scenario that helps
 
Thanks !</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-15T16:20:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: How do I respond 200 OK to a hold request in TCL IVR?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15285013" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15285013</id>
    <updated>2013-05-15T15:45:07Z</updated>
    <published>2013-05-15T15:45:07Z</published>
    <summary type="html">Can ypu please show the section of your script whre you need to make the hold ? Is this "hold" after connecting calling and called parties ?
 
Thanks !</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-15T15:45:07Z</dc:date>
  </entry>
  <entry>
    <title>RE: Only the first 2 prompts play</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15240989" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15240989</id>
    <updated>2013-05-14T16:35:11Z</updated>
    <published>2013-05-14T16:35:11Z</published>
    <summary type="html">I saw script play 1 2 3 4 in log what did you actually hear ?
 
 </summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-14T16:35:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: Only the first 2 prompts play</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15240178" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15240178</id>
    <updated>2013-05-14T15:55:26Z</updated>
    <published>2013-05-14T15:55:26Z</published>
    <summary type="html">You script should be fine.
Something different on your router. Can you please attached you en1.au ? Also the same dubu as you collected before for your last "one one one ..." test.
Also try put some silence delay see if it helps.
media play leg_incoming %s500 flash:en1.au"
 </summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-14T15:55:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: Only the first 2 prompts play</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15235046" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15235046</id>
    <updated>2013-05-14T15:06:33Z</updated>
    <published>2013-05-14T15:06:33Z</published>
    <summary type="html">Of cause, you only have "media play leg_incoming flash:en1.au" one audio file.
Try exactly the follwoing, do not modify and prepare a few audio file in flash (you can modify and move once it works for you)
name audio file 1.au, 2.au, 3.au...
proc init { } {
}
proc act_Setup { } {
global tries
set tries 0
leg setupack leg_incoming
leg connect leg_incoming
act_PlayNext
}
proc act_PlayNext { } {
global tries
incr tries
puts "Playing $tries.au"
media play leg_incoming flash:$tries.au
}
proc act_Close { } {
call close
}
init
set fsm(CALL_INIT,ev_setup_indication) "act_Setup same_state"
set fsm(any_state,ev_media_done) "act_PlayNext same_state"
set fsm(any_state,ev_disconnected) "act_Close same_state"
fsm define fsm CALL_INIT</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-14T15:06:33Z</dc:date>
  </entry>
  <entry>
    <title>RE: Only the first 2 prompts play</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15151610" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15151610</id>
    <updated>2013-05-10T15:21:01Z</updated>
    <published>2013-05-10T15:21:01Z</published>
    <summary type="html">Did you try the following exactly ? A little bit different from yours.
And use aduio file name is 1.au, 2.au exactly 
There is a little prolem in your script to get the right file name.
May 10 09:47:30.700: //159//TCL :/tcl_PutsObjCmd: Playing 3.au
[color=#ff0000]May 10 09:47:30.700: //159//PACK:/tcl_MediaObjCmd:  media play leg_incoming 3.au[/color] 
May 10 09:47:30.700: //159//PACK:/tcl_MediaPlayObjCmd:  play leg_incoming 3.au 
May 10 09:47:30.700: //159//AFW_:/vtd_lg_incoming: argc 3
May 10 09:47:30.700: //159//AFW_:/vtd_lg_incoming: Legs [159 ]
May 10 09:47:30.700: //159//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
May 10 09:47:30.700: //-1//DPM :DP107:/pc_mc_addToDynamicS: (1) 3.au
May 10 09:47:30.700: //-1//DPM :DP107:/pc_mc_addToDynamicS: Doing : 3.au
May 10 09:47:30.700: //-1//DPM :/mcTokenizerGetNext: savedcharptr=_ endptrptr=3.au
May 10 09:47:30.700: //-1//DPM :DP107:/pc_mc_addToDynamicS: Token : 3.au status 1
[color=#ff0000]May 10 09:47:30.700: //-1//DPM :DP107:/dp_mcDQfromFileDynamic:  pLanguage=en FileName=3.au[/color]
[color=#ff0000]May 10 09:47:30.700: //-1//DPM :DP107:/dp_mcDQfromURL:  file=ftp://192.168.1.100/prompts/en/en3.au[/color]
[color=#ff0000]May 10 09:47:30.700: //-1//MCM :/mc_createFromFileUrl: Getting a media content: name=en3.au[/color]

proc init { } {
}
proc act_Setup { } {
global tries
set tries 0
leg setupack leg_incoming
leg connect leg_incoming
act_PlayNext
}
proc act_PlayNext { } {
global tries
incr tries
puts "Playing $tries.au"
media play leg_incoming flash:$tries.au
}
proc act_Close { } {
call close
}
init
set fsm(CALL_INIT,ev_setup_indication) "act_Setup same_state"
set fsm(any_state,ev_media_done) "act_PlayNext same_state"
set fsm(any_state,ev_disconnected) "act_Close same_state"
fsm define fsm CALL_INIT</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-10T15:21:01Z</dc:date>
  </entry>
  <entry>
    <title>RE: Only the first 2 prompts play</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15104254" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15104254</id>
    <updated>2013-05-09T16:34:34Z</updated>
    <published>2013-05-09T16:34:34Z</published>
    <summary type="html">I tried the following and didn't see any problem. I only have  1 to 4 prompts but it plays all.
 
proc init { } {
}
proc act_Setup { } {
global tries
set tries 0
leg setupack leg_incoming
leg connect leg_incoming
act_PlayNext
}
proc act_PlayNext { } {
global tries
incr tries
puts "Playing $tries.au"
media play leg_incoming flash:$tries.au
}
proc act_Close { } {
call close
}
init
set fsm(CALL_INIT,ev_setup_indication) "act_Setup same_state"
set fsm(any_state,ev_media_done) "act_PlayNext same_state"
set fsm(any_state,ev_disconnected) "act_Close same_state"
fsm define fsm CALL_INIT</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-09T16:34:34Z</dc:date>
  </entry>
  <entry>
    <title>RE: Error messages</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15081088" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=15081088</id>
    <updated>2013-05-09T04:32:56Z</updated>
    <published>2013-05-09T04:32:56Z</published>
    <summary type="html">Is router crashed or script crashed ? Any other crash info ?
What IOS version ? Please attached "sh run" also. 
Thanks
 
 </summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-09T04:32:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: Am I supposed to get unrequested events after a handoff return?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=14861152" />
    <author>
      <name>Yaw-Ming Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=148613&amp;messageId=14861152</id>
    <updated>2013-05-01T20:40:20Z</updated>
    <published>2013-05-01T20:40:20Z</published>
    <summary type="html">You can ignore those events.</summary>
    <dc:creator>Yaw-Ming Chen</dc:creator>
    <dc:date>2013-05-01T20:40:20Z</dc:date>
  </entry>
</feed>

