Thanks Anthony!

David Ponzone  Direction Technique
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.




Le 21/05/2010 à 21:55, Anthony Minessale a écrit :

the user endpoint has no idea what ^XXXXX means

try the newer version of that ^ thing which is:

{sip_invite_to_uri=XXXXX}user/<user>

On Fri, May 21, 2010 at 12:42 PM, David Ponzone <david.ponzone@gmail.com> wrote:
May I use the opportunity to ask something more or less related to that ?

I use sofia/profile/user%domain^XXXXX to modify the SIP TO in the INVITE sent to a registered user.
I was expecting the syntax: user/<user> ^XXXXXX to work also, but it doesn't.

Is that normal ?

David Ponzone  Direction Technique
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.




Le 21/05/2010 à 19:08, Phillip Jones a écrit :

Hmm...

That is it. % vs @ is the answer.

Use @ the call loops back through and brings my world and FreeSWITCH crashing down.

Use % and all is well in the world and the call is routed.

Obviously I need to understand this better.

On Fri, May 21, 2010 at 12:40 PM, Kristian Kielhofner <kris@kriskinc.com> wrote:
AFAIK the % let's Freeswitch know it's a local domain and doesn't need to do
any DNS lookups, etc. While it was never really necessary to use % it made a
lot sense for various reasons.


--
Kristian Kielhofner
http://blog.krisk.org
Sent: Fri May 21 12:07:17 2010
Subject: Re: [Freeswitch-users] Quick question on Originate through api

not necessary ....

----- Original Message -----
From: "Peter Olsson" <peter.olsson@visionutveckling.se>
To: <freeswitch-users@lists.freeswitch.org>
Sent: Friday, May 21, 2010 11:52 AM
Subject: Re: [Freeswitch-users] Quick question on Originate through api


For sofia/internal/ you should use a % as a separator I think, instead of
@-sign.

/Peter
________________________________________
Från: freeswitch-users-bounces@lists.freeswitch.org
[freeswitch-users-bounces@lists.freeswitch.org] f&#246;r Phillip Jones
[pjintheusa@gmail.com]
Skickat: den 21 maj 2010 17:41
Till: freeswitch-users@lists.freeswitch.org
Ämne: [Freeswitch-users] Quick question on Originate through api

Hi there,

In my mind - where 6775557767 is a registered user, the following two are
the same:

apiResult = fsApi.Execute("originate",
string.Format("{{ignore_early_media=false,absolute_codec_string='PCMU',origination_caller_id_number=5556667776}}user/6775557767
'

apiResult = fsApi.Execute("originate",
string.Format("{{ignore_early_media=false,absolute_codec_string='PCMU',origination_caller_id_number=5556667776}}sofia/internal/6775557767@121.763.76.76
'

i.e. user/ and sofia/internal are the same thing.

However on my system the user/ works great but sofia/internal loops call
back through in the public context.

Can someone tell me the difference between these options?

What am I missing?

Thanks


Phil



!DSPAM:4bf6abb932934294689129!

_______________________________________________
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


_______________________________________________
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

_______________________________________________
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

_______________________________________________
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


_______________________________________________
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/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900
_______________________________________________
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