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 -----
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