Try answer before you run the JS.

/b

On Sep 25, 2009, at 7:37 AM, Francisco Scaramanga wrote:


Question to Pizza Demo with mod pocketsphinx
------------------------------------------------
I want to run example application Gino's Pizza and did all the steps in http://wiki.freeswitch.org/wiki/Mod_pocketsphinx, but there is one thing I am not sure about.

Where do I have to make the following extension?

  <extension name="pizza">
    <condition field="destination_number" expression="^2006$">
      <action application="javascript" data="ps_pizza.js"/>
    </condition>
  </extension>

I made the extension in the file c:\freeswitch\debug\conf\dialplan \default.xml
and changed the destination_number to

   "^1000$"

I have 2 softphones (x-lite) which are successfully registered with number 1000 and 1002. When I try to call from number 1002 to 1000 the phone 1000 doesn't ring anymore, probably due my entry in default.xml.

console output see below..

What can I do to get the example application run?

Regards

scaram

My configuration:
---------------------
System:  Windows Vista SP1, Visual Studio 2008
Sources: I got very new sources from subversion trunk (22.09.2009)


console output after call to number 2000:
------------------------------------------------

freeswi...@nb-msi> 2009-09-25 14:31:31.514000 [NOTICE] switch_channel.c:613 New Channel sofia/internal/[email protected] [90d67d34-c114- a844-8308-8940af4a8
099]
2009-09-25 14:31:31.533000 [INFO] mod_dialplan_xml.c:391 Processing 1002 FreeSwi
tch->1000 in context default
2009-09-25 14:31:31.543000 [INFO] switch_ivr_async.c:1835 Bound B- Leg: 1 execute
_extension::dx XML features
2009-09-25 14:31:31.543000 [INFO] switch_ivr_async.c:1835 Bound B- Leg: 2 record_
session::c:\freeswitch2\debug/recordings/1002.2009-09-25-14-31-31.wav
2009-09-25 14:31:31.543000 [INFO] switch_ivr_async.c:1835 Bound B- Leg: 3 execute
_extension::cf XML features
2009-09-25 14:31:31.571000 [NOTICE] switch_channel.c:613 New Channel sofia/inter
nal/sip:[email protected]:51997 [003c3be6-528e-1244-9bf2-2e4bf4851e15]
2009-09-25 14:31:31.576000 [INFO] switch_ivr_originate.c:1722 Sending early medi
a
2009-09-25 14:31:31.576000 [INFO] mod_sofia.c:1500 Ring SDP:
v=0
o=FreeSWITCH 1253857333 1253857334 IN IP4 192.168.1.33
s=FreeSWITCH
c=IN IP4 192.168.1.33
t=0 0
m=audio 24558 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

2009-09-25 14:31:31.576000 [NOTICE] mod_sofia.c:1503 Pre-Answer sofia/internal/1
[email protected]!
Posteingang immer voll? Der erste Speicher, der mitwächst: Unbegrenzter Speicher bei Windows Live Hotmail! _______________________________________________
FreeSWITCH-dev mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org

_______________________________________________
FreeSWITCH-dev mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org

Reply via email to