mod_pa - pa list - call states
Hello, I'm using Freeswitch (1.0.trunk) as a softphone with mod_pa. My GUI communicates with freeswitch via xml-rpc and fetches calls with "pa list". If somebody is calling, the state of the call is hold. When the call is answered with "pa answer" it is active. If someone calls me while I'm in call the state of the second call is hold. So far so good. But if the first call ends, the second is marked as active although it is still ringing and should be "hold". Is this the intended behavior of "pa list" or did I missunderstand the command? Best regards Jan
Try "pa switch x", x being the call number. /b On Feb 16, 2009, at 1:59 AM, Jan Fricke wrote:
Hello, I'm using Freeswitch (1.0.trunk) as a softphone with mod_pa. My GUI communicates with freeswitch via xml-rpc and fetches calls with "pa list". If somebody is calling, the state of the call is hold. When the call is answered with "pa answer" it is active. If someone calls me while I'm in call the state of the second call is hold. So far so good. But if the first call ends, the second is marked as active although it is still ringing and should be "hold". Is this the intended behavior of "pa list" or did I missunderstand the command?
Best regards
Jan
I recommend you use events instead of polling On Mon, Feb 16, 2009 at 1:59 AM, Jan Fricke <fanatikneo@gmx.de> wrote:
Hello, I'm using Freeswitch (1.0.trunk) as a softphone with mod_pa. My GUI communicates with freeswitch via xml-rpc and fetches calls with "pa list". If somebody is calling, the state of the call is hold. When the call is answered with "pa answer" it is active. If someone calls me while I'm in call the state of the second call is hold. So far so good. But if the first call ends, the second is marked as active although it is still ringing and should be "hold". Is this the intended behavior of "pa list" or did I missunderstand the command?
Best regards
Jan
_______________________________________________ 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/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
participants (3)
-
Anthony Minessale
-
Brian West
-
Jan Fricke