[Freeswitch-users] Originate - using own uuid

2009-05-07 Thread Simon Tang
Hi there,

I know there's a feature that allows us to create a uuid and then use
that uuid to do an originate (api create_uuid).  Is there any badness if
I don't do the create_uuid and just do the originate using my own
uuid.

I experimented and made the following originate call: 

api originate
{origination_caller_id_number=16041234567,originate_timeout=60,originati
on_uuid=abcdefg}sofia/gateway/icall/16041234567 park

...and this works, but just want to make sure if there's any badness of
doing so...that is, if I can guarantee that the origination_uuid I will
be passing in *WILL* be unique.



___
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


Re: [Freeswitch-users] Originate - using own uuid

2009-05-07 Thread Brian West
I would use real UUID's not something as simple as abcdefg cuz FS will  
hang up on you if you collide.


/b

On May 7, 2009, at 3:47 PM, Simon Tang wrote:


Hi there,

I know there's a feature that allows us to create a uuid and then  
use
that uuid to do an originate (api create_uuid).  Is there any  
badness if

I don't do the create_uuid and just do the originate using my own
uuid.

I experimented and made the following originate call:

api originate
{origination_caller_id_number 
=16041234567,originate_timeout=60,originati

on_uuid=abcdefg}sofia/gateway/icall/16041234567 park

...and this works, but just want to make sure if there's any badness  
of
doing so...that is, if I can guarantee that the origination_uuid I  
will

be passing in *WILL* be unique.


Brian West
br...@freeswitch.org

-- Meet us at ClueCon!  http://www.cluecon.com




___
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


Re: [Freeswitch-users] Originate - using own uuid

2009-05-07 Thread Andrew Thompson
On Thu, May 07, 2009 at 01:47:26PM -0700, Simon Tang wrote:
 Hi there,
 
 I know there's a feature that allows us to create a uuid and then use
 that uuid to do an originate (api create_uuid).  Is there any badness if
 I don't do the create_uuid and just do the originate using my own
 uuid.
 
 I experimented and made the following originate call: 
 
 api originate
 {origination_caller_id_number=16041234567,originate_timeout=60,originati
 on_uuid=abcdefg}sofia/gateway/icall/16041234567 park
 
 ...and this works, but just want to make sure if there's any badness of
 doing so...that is, if I can guarantee that the origination_uuid I will
 be passing in *WILL* be unique.

You also need to be sure that FreeSWITCH isn't going to use it at any
point in the past, present or future ;). It's probably better to use
create_uuid if at all possible.

Andrew

___
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


Re: [Freeswitch-users] Originate - using own uuid

2009-05-07 Thread Brian West

How about something like this :

{origination_caller_id_number
=16041234567,originate_timeout=60,origination_uuid=$ 
{create_uuid()}}sofia/gateway/icall/16041234567 park


You can call an api with ${apiname()} and the results will go into its  
place.


/b

On May 7, 2009, at 4:18 PM, Simon Tang wrote:

{origination_caller_id_number 
=16041234567,originate_timeout=60,originati

on_uuid=abcdefg}sofia/gateway/icall/16041234567 park


Brian West
br...@freeswitch.org

-- Meet us at ClueCon!  http://www.cluecon.com




___
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


Re: [Freeswitch-users] Originate - using own uuid

2009-05-07 Thread Anthony Minessale
it's up to you what you do,

break it you buy it =D


On Thu, May 7, 2009 at 4:26 PM, Brian West br...@freeswitch.org wrote:

 How about something like this :
 {origination_caller_id_number=16041234567,originate_timeout=60,origination_uuid=${create_uuid()}}sofia/gateway/icall/16041234567
 park

 You can call an api with ${apiname()} and the results will go into its
 place.

 /b

 On May 7, 2009, at 4:18 PM, Simon Tang wrote:

 {origination_caller_id_number=16041234567,originate_timeout=60,originati
 on_uuid=abcdefg}sofia/gateway/icall/16041234567 park


 Brian West
 br...@freeswitch.org

 -- Meet us at ClueCon!  http://www.cluecon.com





 ___
 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_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.orggoogletalk%3aconf%2b...@conference.freeswitch.org
pstn:213-799-1400
___
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