ok I understand Thanks Franck ----- Original Message ----- From: Steven Ayre To: freeswitch-users@lists.freeswitch.org Sent: Friday, June 04, 2010 3:38 AM Subject: Re: [Freeswitch-users] check status of a number It means the originate command succeeded to create a call, which that UUID identifies. It doesn't tell you anything about the result of that call though - you'll need to watch for events for that UUID, or check its XML CDR to find out the callflow (to see if it matched an extension) or the hangup reason. -Steve On 4 June 2010 04:51, Madovsky <infos@madovsky.org> wrote: Ok I succeed doing like this : /usr/local/freeswitch/bin/fs_cli -x "expand originate sofia/gateway/\${distributor(pstn_international_2)}/003434REMOTEEXT loopback/999LOCALEXT" and it gives a session: +OK d0c598b5-9291-47eb-a14e-7845763425f4 does +OK means the number always exists ? is there only one ring, hangup and clean the originate call ? Thanks F ----- Original Message ----- From: Brian West To: freeswitch-users@lists.freeswitch.org Sent: Thursday, June 03, 2010 2:22 PM Subject: Re: [Freeswitch-users] check status of a number Use the loopback endpoint with originate to do this. /b On Jun 3, 2010, at 1:16 PM, Madovsky wrote: Hi, I'd like to use fs_cli to check if the callee number exists and get the status result. Is anyone already did that ? Thanks Franck -------------------------------------------------------------------------- _______________________________________________ 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 _______________________________________________ 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 ------------------------------------------------------------------------------ _______________________________________________ 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