[Freeswitch-users] Newbie Question wrt Originating calls

Max Bridgewater max.bridgewater at gmail.com
Wed Jun 10 09:18:49 PDT 2009


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 at 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 at 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 at 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 at 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 at freeswitch.org
>
> -- Meet us at ClueCon!  http://www.cluecon.com
>
>
>
>
>
> _______________________________________________
> 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/20090610/7d58a043/attachment-0002.html 


More information about the FreeSWITCH-users mailing list