On Wed, Mar 16, 2011 at 4:21 PM, Dmitry Sytchev <
kbdfck@gmail.com> wrote:
> I'm using ESL.so and ESL.pm for perl outbound ESL, and Net::Server as server
> engine.
> I already tried to rebuild and reinstall with `make sure` including perlmod
> in esl library dir
>
> 2011/3/16 Anthony Minessale <
anthony.minessale@gmail.com>
>>
>> Are you using your own client or libESL which takes care of this for you?
>>
>>
>> On Wed, Mar 16, 2011 at 11:55 AM, Dmitry Sytchev <
kbdfck@gmail.com> wrote:
>> > FreeSWITCH Version 1.0.head (git-2c009dd 2011-03-15 14-29-04 -0500)
>> > 2011/3/16 Peter Olsson <
peter.olsson@visionutveckling.se>
>> >>
>> >> Are you on latest GIT HEAD?
>> >>
>> >>
>> >>
>> >> /Peter
>> >>
>> >>
>> >>
>> >> Från:
freeswitch-users-bounces@lists.freeswitch.org
>> >> [mailto:
freeswitch-users-bounces@lists.freeswitch.org] För Dmitry
>> >> Sytchev
>> >> Skickat: den 16 mars 2011 17:29
>> >> Till: FreeSWITCH Users Help
>> >> Ämne: [Freeswitch-users] Unexpected out of order command/reply '+OK
>> >> event
>> >> listener enabled plain' in perl ESL outbound
>> >>
>> >>
>> >>
>> >> In my outbound async full ESL script after some moment there are
>> >> out-of-order message on every "execute" call, and this breaks my event
>> >> handling in some way.
>> >>
>> >>
>> >>
>> >> Content-Type: command/reply.Reply-Text: +OK event listener enabled
>> >> plain..
>> >>
>> >>
>> >> I want to execute some commands syncronously, but setEventLock seems to
>> >> be
>> >> broken by this behavior.
>> >>
>> >> As the workaround I had to write lock_for_execute_complete function,
>> >> which
>> >> waits for execute completion of applications that need to be run sync,
>> >> but
>> >> it effectively destroys async events by processing them while waiting
>> >> for
>> >> CHANNEL_EXECUTE_COMPLETE.
>> >>
>> >>
>> >>
>> >> here is a part of socket dump, note second "Content-Type:
>> >> command/reply.Reply-Text: +OK event listener enabled plain.." right
>> >> after
>> >> execute. There is no event command in script besides the very
>> >> beginning, so
>> >> why these messages appear?
>> >>
>> >> T
127.0.0.1:8006 ->
127.0.0.1:43282 [AP]
>> >> api uuid_setvar 06d55974-4fe8-11e0-a7c0-e3bb2141c22a
>> >> pbx_subscriber_customer_id 1
>> >> #
>> >> T
127.0.0.1:8006 ->
127.0.0.1:43282 [AP]
>> >> ..
>> >> ##
>> >> T
127.0.0.1:43282 ->
127.0.0.1:8006 [AP]
>> >> Content-Type: api/response.Content-Length: 4..
>> >> #
>> >> T
127.0.0.1:43282 ->
127.0.0.1:8006 [AP]
>> >> +OK.
>> >> ##
>> >> T
127.0.0.1:8006 ->
127.0.0.1:43282 [AP]
>> >> api sofia_contact
s000002@asdasd.com
>> >> #
>> >> T
127.0.0.1:8006 ->
127.0.0.1:43282 [AP]
>> >> ..
>> >> ##
>> >> T
127.0.0.1:43282 ->
127.0.0.1:8006 [AP]
>> >> Content-Type: api/response.Content-Length: 96..
>> >> #
>> >> T
127.0.0.1:43282 ->
127.0.0.1:8006 [AP]
>> >>
>> >>
>> >> sofia/local/sip:s000002@172.19.36.54:5061;fs_nat=yes;fs_path=sip%3As000002%40172.19.36.54%3A5061
>> >> ##
>> >> T
127.0.0.1:8006 ->
127.0.0.1:43282 [AP]
>> >> Event-Name: SOCKET_DATA.Content-Type: api/response.Content-Length:
>> >> 96..sofia/local/sip:s000002@172.19.36.54:5061;fs_nat=
>> >> yes;fs_path=sip%3As000002%40172.19.36.54%3A5061
>> >> #
>> >> T
127.0.0.1:8006 ->
127.0.0.1:43282 [AP]
>> >> sendmsg.call-command: execute.execute-app-name: bridge.execute-app-arg:
>> >> {originate_timeout=10,hangup_after_bridge=false,
>> >> ignore_early_media=false}user/
s000002@asdasd.com
>> >> #
>> >> T
127.0.0.1:43282 ->
127.0.0.1:8006 [AP]
>> >> Content-Type: command/reply.Reply-Text: +OK event listener enabled
>> >> plain..
>> >> #
>> >> T
127.0.0.1:43282 ->
127.0.0.1:8006 [AP]
>> >> Content-Type: command/reply.Reply-Text: +OK..
>> >>
>> >> --
>> >> Best regards,
>> >>
>> >> Dmitry Sytchev,
>> >> IT Engineer
>> >> !DSPAM:4d80e61b32768938086861!
>> >> _______________________________________________
>> >> FreeSWITCH-users mailing list
>> >>
FreeSWITCH-users@lists.freeswitch.org
>> >>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >>
>> >> UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >>
http://www.freeswitch.org
>> >>
>> >
>> >
>> >
>> > --
>> > Best regards,
>> >
>> > Dmitry Sytchev,
>> > IT Engineer
>> >
>> > _______________________________________________
>> > FreeSWITCH-users mailing list
>> >
FreeSWITCH-users@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/
>> Twitter:
http://twitter.com/FreeSWITCH_wire
>>
>> 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
>>
googletalk:conf+888@conference.freeswitch.org
>> pstn:+19193869900
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>>
FreeSWITCH-users@lists.freeswitch.org
>>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
>>
http://www.freeswitch.org
>
>
>
> --
> Best regards,
>
> Dmitry Sytchev,
> IT Engineer
>
> _______________________________________________
> FreeSWITCH-users mailing list
>
FreeSWITCH-users@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/
Twitter:
http://twitter.com/FreeSWITCH_wire
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
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org