VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
raffaele.p.guidi at gm... Guest
|
Posted: Mon Aug 03, 2009 6:54 am Post subject: [Freeswitch-users] How to call a non-user extension from &qu |
|
|
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?
Regards,
Raffaele
*********** ORIGINAL QUESTION *************
Hi, I'm trying to call an extension wich is not associated to a user from the ESL (or the CLI as well) using the "ORIGINATE" command.
Now, while
Quote: | originate user/1001 1000 |
works perfectly
with:
Quote: | originate user/fakecall 1000 |
I have an error:
Quote: | 2009-08-03 13:21:19.406250 [ERR] switch_ivr_originate.c:1494 Cannot create outgoing channel of type [user] cause: [SUBSCRIBER_ABSENT] |
...this is not surprising ("fakecall" of course is not an user), but I cannot figure out what is the correct CALL URL for this extension. Same error is reported using sofia/internal/fakecall. It seems that the EXECUTE_EXTENSION method could do for the magic (it works when issued from an other extension in the dialplan) but it is not available from the CLI nor the event socket (I'm using a binary version for windows - freeswitch.msi - dated jul, 11th 2009).
PS: Calling "fakecall" from a registered phone (or from portaudio) works as expected.
PPS: the configuration of fakecall in dialplan/default.xml
...
<context name="default">
<extension name="fakecall">
<condition field="destination_number" expression="^fakecall$">
<action application="lua" data="lua/helloworld.lua test $1"/>
</condition>
</extension>
.... |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Mon Aug 03, 2009 8:06 am Post subject: [Freeswitch-users] How to call a non-user extension from &qu |
|
|
On Mon, Aug 3, 2009 at 4:43 AM, Raffaele P. Guidi <raffaele.p.guidi@gmail.com (raffaele.p.guidi@gmail.com)> wrote:
Quote: | 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 |
|
Back to top |
|
|
raffaele.p.guidi at gm... Guest
|
|
Back to top |
|
|
dule.maillist at gmail... Guest
|
Posted: Mon Aug 03, 2009 5:11 pm Post subject: [Freeswitch-users] How to call a non-user extension from &qu |
|
|
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@gmail.com (raffaele.p.guidi@gmail.com)> wrote:
|
|
Back to top |
|
|
raffaele.p.guidi at gm... Guest
|
Posted: Mon Aug 03, 2009 5:49 pm Post subject: [Freeswitch-users] How to call a non-user extension from &qu |
|
|
uhm... does it?
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@gmail.com (dule.maillist@gmail.com)> wrote:
|
|
Back to top |
|
|
|
|
|
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
|