[Freeswitch-users] Quick question on Originate through api
Phillip Jones
pjintheusa at gmail.com
Fri May 21 10:08:41 PDT 2010
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 at 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
>
> ----- Original Message -----
> From: freeswitch-users-bounces at lists.freeswitch.org
> <freeswitch-users-bounces at lists.freeswitch.org>
> To: freeswitch-users at lists.freeswitch.org
> <freeswitch-users at lists.freeswitch.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 at visionutveckling.se>
> To: <freeswitch-users at 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 at lists.freeswitch.org
> [freeswitch-users-bounces at lists.freeswitch.org] för Phillip Jones
> [pjintheusa at gmail.com]
> Skickat: den 21 maj 2010 17:41
> Till: freeswitch-users at 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 at 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 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
>
>
> _______________________________________________
> 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
>
> _______________________________________________
> 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/20100521/6859f36d/attachment.html
More information about the FreeSWITCH-users
mailing list