[Freeswitch-users] Behavior of deflect

Anthony Minessale anthony.minessale at gmail.com
Thu Nov 20 15:16:48 PST 2008


how about the uuid_deflect with latest?


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

> Woof!
>
> On Thu, 20 Nov 2008 15:14:52 -0500, Anthony Minessale <
> anthony.minessale at 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 at ..."
> 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 at woof.us.nortel.com<sip%3A206 at 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.
>
>
> --Woof!
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Anthony Minessale II

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

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081120/a635b99f/attachment-0002.html 


More information about the FreeSWITCH-users mailing list