[Freeswitch-users] Originate - using own uuid

Andrew Thompson andrew at hijacked.us
Thu May 7 14:02:53 PDT 2009


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




More information about the FreeSWITCH-users mailing list