[Freeswitch-users] Help with Socket event again
Michael Collins
msc at freeswitch.org
Fri Jun 19 11:10:56 PDT 2009
Max,
that pastebin failed miserably as none of the xml shows up. can you try
again or use our pastebin.freeswitch.org site?
-MC
On Fri, Jun 19, 2009 at 12:58 PM, Max Bridgewater <max.bridgewater at gmail.com
> wrote:
> Hi Mike,
>
> It's pasted here: http://pastebin.ca/1466521
>
> Thanks,
> Max.
>
>
>
>
> On Fri, Jun 19, 2009 at 11:43 AM, Michael Collins <msc at freeswitch.org>wrote:
>
>> Can you turn on debugging (F8) and capture all the output after your
>> originate? Put it into a pastebin. (pastebin.freeswitch.org)
>> -MC
>>
>> On Fri, Jun 19, 2009 at 10:14 AM, Max Bridgewater <
>> max.bridgewater at gmail.com> wrote:
>>
>>> Any help our there?
>>>
>>> I'm still trying to get this piece working. Essentially what i wan to do
>>> is, when a call comes in (from registered devices as well as unregistered
>>> devices), notify the my server socket. Somehow it's not working. The change
>>> i made compared to the standard Freeswitch settings are the following:
>>>
>>> 1) Added following extension that in
>>> /usr/local/freeswitch/conf/dialplan/public/mysocket.xml:
>>>
>>>
>>> <include>
>>> <extension name="mysocket">
>>> <condition field="destination_number" expression="^242.*$" >
>>> <action application="socket" data="192.168.50.67:10000 full"
>>> />
>>> </condition>
>>> </extension>
>>> </include>
>>>
>>> 2) Changed file:
>>> /usr/local/freeswitch/conf/autoload_configs/event_socket.conf to:
>>>
>>> <configuration name="event_socket.conf" description="Socket Client">
>>> <settings>
>>> <param name="nat-map" value="false"/>
>>> <param name="listen-ip" value="0.0.0.0"/>
>>> <param name="listen-port" value="8021"/>
>>> <param name="password" value="1234"/>
>>> <!--<param name="apply-inbound-acl" value="lan"/>-->
>>> </settings>
>>> </configuration>
>>>
>>>
>>> I noticed that with this extension, all calls received from external
>>> providers (e.g. Les.net, Gafachi, etc.) are indeed forwarded to my socket.
>>> But calls from registered devices and initiated using the socket interface
>>> are not forwarded. Is there something that need to be changed in the
>>> profiles?
>>>
>>> or is something wrong with my dial string?
>>> {origination_caller_id_number=12000}sofia/internal/242424 at 192.168.1.62.
>>>
>>> In the logs, i cannot see that that my extension is being matched.
>>>
>>> Any idea,
>>>
>>> Max.
>>> _______________________________________________
>>> 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/20090619/49b53531/attachment-0002.html
More information about the FreeSWITCH-users
mailing list