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


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> wrote:
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:

Thanks, 

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

originate sofia/internal/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.

-- Meet us at ClueCon!  http://www.cluecon.com





_______________________________________________
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