[Freeswitch-users] Behavior of deflect
Anthony Minessale
anthony.minessale at gmail.com
Thu Nov 20 16:06:09 PST 2008
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 at conference.freeswitch.org<sip%3A888 at 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 at gmail.com> wrote:
> 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
>
--
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/bf09b2f4/attachment-0001.html
More information about the Freeswitch-users
mailing list