Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Originate - using own uuid


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
simon at airg.com
Guest





PostPosted: Thu May 07, 2009 3:48 pm    Post subject: [Freeswitch-users] Originate - using own uuid Reply with quote

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
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu May 07, 2009 3:52 pm    Post subject: [Freeswitch-users] Originate - using own uuid Reply with quote

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:
Quote:
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
brian@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
andrew at hijacked.us
Guest





PostPosted: Thu May 07, 2009 4:04 pm    Post subject: [Freeswitch-users] Originate - using own uuid Reply with quote

On Thu, May 07, 2009 at 01:47:26PM -0700, Simon Tang wrote:
Quote:
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 Wink. 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
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu May 07, 2009 4:09 pm    Post subject: [Freeswitch-users] Originate - using own uuid Reply with quote

Yah kinda gets messy when trying to track down something if the same uuid gets used over and over in a short period of time. Razz

/b

On May 7, 2009, at 4:02 PM, Andrew Thompson wrote:
Quote:
You also need to be sure that FreeSWITCH isn't going to use it at any
point in the past, present or future Wink. It's probably better to use
create_uuid if at all possible.

Andrew


Brian West
brian@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
simon at airg.com
Guest





PostPosted: Thu May 07, 2009 4:20 pm    Post subject: [Freeswitch-users] Originate - using own uuid Reply with quote

Abcdefg was an example...I was suggesting that I can guarantee uniqueness forever and if I collide, it’s my fault and I take the consequences Smile

Anyway, I will use create_uuid...I was exploring this option before because I thought I couldn't use create_uuid because I made some wrong assumptions.

I was assuming that I wouldn't get the response for the create_uuid because I would have applied a Unique-ID filter for the existing session prior to calling create_uuid, which in turn, would filter out the uuid response. But this assumption was incorrect because the UUID *is* the response to the "api create_uuid" call and won't be filtered and is only visible on the socket it was called on (and not others).

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: May 7, 2009 1:51 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Originate - using own uuid



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

brian@freeswitch.org (brian@freeswitch.org)




-- Meet us at ClueCon! http://www.cluecon.com
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu May 07, 2009 4:26 pm    Post subject: [Freeswitch-users] Originate - using own uuid Reply with quote

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:
Quote:
{origination_caller_id_number=16041234567,originate_timeout=60,originati
on_uuid=abcdefg}sofia/gateway/icall/16041234567 &park


Brian West
brian@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
anthony.minessale at g...
Guest





PostPosted: Thu May 07, 2009 5:46 pm    Post subject: [Freeswitch-users] Originate - using own uuid Reply with quote

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 <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
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:

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



Brian West
brian@freeswitch.org (brian@freeswitch.org)



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












_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services