Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Newbie Question wrt Originating calls


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





PostPosted: Wed Jun 10, 2009 9:11 am    Post subject: [Freeswitch-users] Newbie Question wrt Originating calls Reply with quote

Hi,

Getting to learn Freeswitch. So, please bear with me. Can somebody tells me how to do dial extension 1003 from the command line.
I tried the following and the all failed

originate 1003%192.168.10.103
originate 1003@192.168.10.103 (1003@192.168.10.103)
originate 1003%192.168.10.103 & park()
originate 1003@192.168.10.103 (1003@192.168.10.103) & park()

Thanks,
Max.
 
Back to top
dujinfang at gmail.com
Guest





PostPosted: Wed Jun 10, 2009 9:22 am    Post subject: [Freeswitch-users] Newbie Question wrt Originating calls Reply with quote

originate sofia/default/1003 &echo()originate user/1003 &echo()
originate user/1003 &park()




On Jun 10, 2009, at 9:39 PM, Max Bridgewater wrote:
Quote:
Hi,

Getting to learn Freeswitch. So, please bear with me. Can somebody tells me how to do dial extension 1003 from the command line.
I tried the following and the all failed

originate 1003%192.168.10.103
originate 1003@192.168.10.103 (1003@192.168.10.103)
originate 1003%192.168.10.103 & park()
originate 1003@192.168.10.103 (1003@192.168.10.103) & park()

Thanks,
Max.

_______________________________________________
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
Back to top
max.bridgewater at gma...
Guest





PostPosted: Wed Jun 10, 2009 9:57 am    Post subject: [Freeswitch-users] Newbie Question wrt Originating calls Reply with quote

Thanks,

the first variant doesn't work for me. Any idea?
I changed it to:

originate sofia/internal/1003@192.168.10.103 (1003@192.168.10.103) & park()

then i get the error message: "Cannot blind transfer 1 legged call".



Also going through the wiki i discovered the concept of socket event and included the following extension under /usr/local/freeswitch/conf/dialplan/public/mysockt.xml:

<include>
    <extension name="myextension">
        <condition field="caller_id_number" expression="^2000$" break="on-true">
            <action application="socket" data="192.168.50.67:10000 full" />
        </condition>
    </extension>
</include>

Can somebody gives me an example of dial string that would allow my call to be sent to this server socket? How would i place such a call using SJPhone?

Best regards,
Max.

On Wed, Jun 10, 2009 at 10:21 AM, dujinfang <dujinfang@gmail.com (dujinfang@gmail.com)> wrote:
Quote:
originate sofia/default/1003 &echo()originate user/1003 &echo()
originate user/1003 &park()





On Jun 10, 2009, at 9:39 PM, Max Bridgewater wrote:


Quote:

Hi,

Getting to learn Freeswitch. So, please bear with me. Can somebody tells me how to do dial extension 1003 from the command line.
I tried the following and the all failed

originate 1003%192.168.10.103
originate 1003@192.168.10.103 (1003@192.168.10.103)
originate 1003%192.168.10.103 & park()
originate 1003@192.168.10.103 (1003@192.168.10.103) & park()

Thanks,
Max.
 


_______________________________________________
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





_______________________________________________
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

Back to top
brian at freeswitch.org
Guest





PostPosted: Wed Jun 10, 2009 10:15 am    Post subject: [Freeswitch-users] Newbie Question wrt Originating calls Reply with quote

http://wiki.freeswitch.org/wiki/Dialplan_XML#SIP-Specific_Dialstrings

If you're calling a locally registered user... you need to use user/user@domain which uses dial-string from the params on the user or directory. Or sofia/profile/user%domain


/b



On Jun 10, 2009, at 9:54 AM, Max Bridgewater wrote:
Quote:
Thanks,

the first variant doesn't work for me. Any idea?
I changed it to:

originate sofia/internal/1003@192.168.10.103 (1003@192.168.10.103) & park()

then i get the error message: "Cannot blind transfer 1 legged call".



Also going through the wiki i discovered the concept of socket event and included the following extension under /usr/local/freeswitch/conf/dialplan/public/mysockt.xml:

<include>
<extension name="myextension">
<condition field="caller_id_number" expression="^2000$" break="on-true">
<action application="socket" data="192.168.50.67:10000 full" />
</condition>
</extension>
</include>

Can somebody gives me an example of dial string that would allow my call to be sent to this server socket? How would i place such a call using SJPhone?

Best regards,
Max.


Brian West
brian@freeswitch.org



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





PostPosted: Wed Jun 10, 2009 10:18 am    Post subject: [Freeswitch-users] Newbie Question wrt Originating calls Reply with quote

the default alias was removed from the default configs last week, so new configs don't have this anymore.
On Jun 10, 2009, at 10:54 AM, Max Bridgewater wrote:
Quote:
Thanks,

the first variant doesn't work for me. Any idea?
I changed it to:

originate sofia/internal/1003@192.168.10.103 (1003@192.168.10.103) & park()

then i get the error message: "Cannot blind transfer 1 legged call".



Also going through the wiki i discovered the concept of socket event and included the following extension under /usr/local/freeswitch/conf/dialplan/public/mysockt.xml:

<include>
<extension name="myextension">
<condition field="caller_id_number" expression="^2000$" break="on-true">
<action application="socket" data="192.168.50.67:10000 full" />
</condition>
</extension>
</include>

Can somebody gives me an example of dial string that would allow my call to be sent to this server socket? How would i place such a call using SJPhone?

Best regards,
Max.

On Wed, Jun 10, 2009 at 10:21 AM, dujinfang <dujinfang@gmail.com (dujinfang@gmail.com)> wrote:
Quote:
originate sofia/default/1003 &echo()originate user/1003 &echo()
originate user/1003 &park()





On Jun 10, 2009, at 9:39 PM, Max Bridgewater wrote:


Quote:

Hi,

Getting to learn Freeswitch. So, please bear with me. Can somebody tells me how to do dial extension 1003 from the command line.
I tried the following and the all failed

originate 1003%192.168.10.103
originate 1003@192.168.10.103 (1003@192.168.10.103)
originate 1003%192.168.10.103 & park()
originate 1003@192.168.10.103 (1003@192.168.10.103) & park()

Thanks,
Max.







Back to top
max.bridgewater at gma...
Guest





PostPosted: Wed Jun 10, 2009 11:31 am    Post subject: [Freeswitch-users] Newbie Question wrt Originating calls Reply with quote

Thanks Folks; I'm making progress.  The following origination string does make my non-registered SJPhone ring:

{origination_caller_id_number=2000}sofia/external/some@192.168.50.67 (some@192.168.50.67)


But why isn't it caught by the following extension?


<include>
    <extension name="myextension">
        <condition field="caller_id_number" expression="^2000$" break="on-true">
            <action application="socket" data="192.168.50.67:10000 full" />
        </condition>
    </extension>
</include>



On Wed, Jun 10, 2009 at 11:11 AM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
http://wiki.freeswitch.org/wiki/Dialplan_XML#SIP-Specific_Dialstrings

If you're calling a locally registered user... you need to use user/user@domain which uses dial-string from the params on the user or directory.  Or sofia/profile/user%domain  


/b



On Jun 10, 2009, at 9:54 AM, Max Bridgewater wrote:

Quote:
Thanks, 

the first variant doesn't work for me. Any idea?
I changed it to:

originate sofia/internal/1003@192.168.10.103 (1003@192.168.10.103) & park()

then i get the error message: "Cannot blind transfer 1 legged call".



Also going through the wiki i discovered the concept of socket event and included the following extension under /usr/local/freeswitch/conf/dialplan/public/mysockt.xml:

<include>
    <extension name="myextension">
        <condition field="caller_id_number" expression="^2000$" break="on-true">
            <action application="socket" data="192.168.50.67:10000 full" />
        </condition>
    </extension>
</include>

Can somebody gives me an example of dial string that would allow my call to be sent to this server socket? How would i place such a call using SJPhone?

Best regards,
Max.



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

Back to top
mike at jerris.com
Guest





PostPosted: Wed Jun 10, 2009 11:55 am    Post subject: [Freeswitch-users] Newbie Question wrt Originating calls Reply with quote

http://wiki.freeswitch.org/wiki/Dialplan_XML

break="on-true" ?

On Jun 10, 2009, at 12:18 PM, Max Bridgewater wrote:
Quote:
Thanks Folks; I'm making progress. The following origination string does make my non-registered SJPhone ring:

{origination_caller_id_number=2000}sofia/external/some@192.168.50.67 (some@192.168.50.67)


But why isn't it caught by the following extension?


<include>
<extension name="myextension">
<condition field="caller_id_number" expression="^2000$" break="on-true">
<action application="socket" data="192.168.50.67:10000 full" />
</condition>
</extension>
</include>


Back to top
max.bridgewater at gma...
Guest





PostPosted: Wed Jun 10, 2009 12:24 pm    Post subject: [Freeswitch-users] Newbie Question wrt Originating calls Reply with quote

Well, i assume break="on-true" means,  that if this extension is matched then execute its actions and stop there. That would correspond to what i'm trying to do. Anyway i removed this attribute and still nothing is being sent to the socket.

Let me give you more context. This extension is put in a separate file AS IS under /usr/local/freeswitch/conf/dialplan/public/myextension.xml. Is this the right place? I have the impression that it is not seen or processed by Freeswitch. The latest thing i tried is to wrap the extension in a context element with name attribute "public". It did'nt help.

Any clue?




On Wed, Jun 10, 2009 at 12:52 PM, Michael Jerris <mike@jerris.com (mike@jerris.com)> wrote:
Quote:
http://wiki.freeswitch.org/wiki/Dialplan_XML


break="on-true" ?

On Jun 10, 2009, at 12:18 PM, Max Bridgewater wrote:

Quote:
Thanks Folks; I'm making progress.  The following origination string does make my non-registered SJPhone ring:

{origination_caller_id_number=2000}sofia/external/some@192.168.50.67 (some@192.168.50.67)


But why isn't it caught by the following extension?


<include>
    <extension name="myextension">
        <condition field="caller_id_number" expression="^2000$" break="on-true">
            <action application="socket" data="192.168.50.67:10000 full" />
        </condition>
    </extension>
</include>








_______________________________________________
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

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