I wonder if sofia is not matching the notify to the dialog so we are not associating it with the channel.
I know for a fact sofia tears it down for us when it gets the notify.

do you have x-lite/eyebeam?

When i was testing I called into park ext with fs and did
show channels
uuid_deflect <uuid> sip:888@conference.freeswitch.org

and when it sends me the notify the command returns and prints the sipfrag.


On Thu, Nov 20, 2008 at 5:16 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
how about the uuid_deflect with latest?



On Thu, Nov 20, 2008 at 2:33 PM, Andy Spitzer <woof@nortel.com> wrote:
Woof!

On Thu, 20 Nov 2008 15:14:52 -0500, Anthony Minessale <anthony.minessale@gmail.com> wrote:

> how were you calling the deflect the way that had no change?
> every time i tried it sofia has taken down the channel once it completed.

Hmm...

dialplan:
 <extension name="IVR">
   <condition field="destination_number" expression="^IVR$">
     <action application="socket" data="127.0.0.1:8084 async full"/>
   </condition>
 </extension>

Call from "207" to "IVR@..."
Answer IVR via socket outbound.
Use "deflect" to redirect call to 206
Answer call on 206

socket outbound:
 nc -vl localhost 8084

 Connection from 127.0.0.1 port 8084 [tcp/*] accepted
 connect

 myevents

 sendmsg
 call-command: execute
 execute-app-name: answer

 Channel-Username: 207
 Channel-Dialplan: XML
 Channel-Caller-ID-Name: 207
 Channel-Caller-ID-Number: 207
 Channel-Network-Addr: 47.16.90.233
 Channel-Destination-Number: IVR
 Channel-Unique-ID: bed03a04-46b6-4adb-bf3d-e36fafd18504
 ...

 sendmsg
 call-command: execute
 execute-app-name: deflect
 execute-app-arg: sip:206@woof.us.nortel.com

 Content-Type: command/reply
 Reply-Text: +OK

 Content-Length: 1578
 Content-Type: text/event-plain

 Channel-State: CS_EXECUTE
 Channel-State-Number: 4
 Channel-Name: sofia/woof.us.nortel.com/207%40woof.us.nortel.com
 Unique-ID: bed03a04-46b6-4adb-bf3d-e36fafd18504
 ...
 Event-Name: CHANNEL_EXECUTE
 ...

 Content-Length: 1587
 Content-Type: text/event-plain

 Channel-State: CS_EXECUTE
 Channel-State-Number: 4
 Channel-Name: sofia/woof.us.nortel.com/207%40woof.us.nortel.com
 Unique-ID: bed03a04-46b6-4adb-bf3d-e36fafd18504
 ...
 Event-Name: CHANNEL_EXECUTE_COMPLETE

(socket just sits here until 207 hangs up)

SIP signalling looks fine, except for no BYE after the NOTIFY with the 200 OK fragment.






--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400