[Freeswitch-users] check status of a number

Madovsky infos at madovsky.org
Thu Jun 3 20:51:25 PDT 2010


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 at 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 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100603/715207e3/attachment-0001.html 


More information about the FreeSWITCH-users mailing list