[Freeswitch-users] How to call a non-user extension from "originate" [SOLVED]

Raffaele P. Guidi raffaele.p.guidi at gmail.com
Mon Aug 3 15:38:43 PDT 2009


uhm... does it?

freeswitch at W2GZ8VNR01> originate sofia/gateway/callwithus.com/fakecall 1001
....
API CALL [originate(sofia/gateway/callwithus.com/fakecall 1001)] output:
-ERR CALL_REJECTED


Anyway, I clearly understand that loopback allows to "hit the dialplan",
maybe I couldn't find it before because of my poor english (but googling for
"freeswitch hit the dialplan" doesn't help either). Really, I simply had
problems finding it - the information was there (is it a matter of SEO -
Search Engine Optimization ;)?

Regards,
    Raffaele

On Tue, Aug 4, 2009 at 00:06, Dan Le <dule.maillist at gmail.com> wrote:

> Technically, loopback is not meant to specifically allow you to call
> non-user extensions, it simply allows you to hit the dialplan.
> For example,
>
> originate sofia/gw/gwname/fakecall 1000
>
> (where gwname is the gateway routing your calls out, and 'fakecall' the
> non-user extension)
>
> will also allow you to dial to non-user extensions. This information would
> be on any of the wiki pages detailing the originate command.
>
> Dan
>
>
> On Mon, Aug 3, 2009 at 3:13 PM, Raffaele P. Guidi <
> raffaele.p.guidi at gmail.com> wrote:
>
>> Yeah, it's there but, as you can see it from the google queries below it's
>> not easy to find that page - unless you know what exactly you are looking
>> for and search for "loopback". A simple example (i.e. in Sofia Syntax) would
>> fill the gap (I'll be happy to do it ASAP)
>>
>>
>> http://www.google.com/search?hl=en&safe=off&q=freeswitch+call+url&aq=f&oq=&aqi=
>>
>>
>> http://www.google.com/search?hl=en&safe=off&q=freeswitch+execute+non+user+extension+from+the+cli+&aq=f&oq=&aqi=
>> <http://www.google.com/search?hl=en&safe=off&q=freeswitch+execute+non+user+extension+from+the+cli+&aq=f&oq=&aqi=>
>> http://www.google.com/search?hl=en&safe=off&q=freeswitch+execute+non+user+extension+from+the+esl&aq=f&oq=&aqi=
>>
>> Also, this email now shows up first in googling for "non user extension
>> freeswitch" (which were the keywords I was looking for). I think this has
>> been useful! ;)
>>
>> Many thanks and regards,
>>    Raffaele
>>
>> On Mon, Aug 3, 2009 at 14:59, Michael Collins <msc at freeswitch.org> wrote:
>>
>>>
>>>
>>> On Mon, Aug 3, 2009 at 4:43 AM, Raffaele P. Guidi <
>>> raffaele.p.guidi at gmail.com> wrote:
>>>
>>>> I found the answer by myself while I had finished writing the e-mail.
>>>> The correct call url is loopback/<extension> (in this case the command
>>>> is originate loopback/fakecall 1000 ).  I'm sending the e-mail anyway for
>>>> future reference (can't find any example of that anywhere). Is the project
>>>> wiki accesible for anyone to contribute or do I have to ask for an
>>>> authorization?
>>>>
>>>
>>> All you need to do is sign up for a free account on the wiki and you can
>>> start editing. It's a community resource and all FS users are invited to add
>>> their respective knowledge.
>>>
>>> As for not finding what you were looking for, does this page not have it?
>>> http://wiki.freeswitch.org/wiki/Loopback
>>>
>>> If not then please feel free to add to this page whatever your specific
>>> scenario entails and give some examples.
>>>
>>> -MC
>>>
>>>
>>> _______________________________________________
>>> 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/20090804/06ad5b9c/attachment.html 


More information about the FreeSWITCH-users mailing list