[Freeswitch-users] Compile error

2009-09-16 Thread Luis M. Zuccolo
Hi:

Since svn version 13523 to current I get this error:

make[5]: swig: Command not found
make[5]: *** [mod_lua_wrap.cpp] Error 127
make[4]: *** [all] Error 1
make[3]: *** [mod_lua-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
 + FreeSWITCH Build Complete ---+
 + FreeSWITCH has been successfully built.  +
 + Install by running:  +
 +  +
 +   make install   +
 +--+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Was there any change from that version?
Thanks in advance

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


___
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


Re: [Freeswitch-users] Error sending mail

2009-05-30 Thread Luis M. Zuccolo
1.0.4pre8


On Sat, 2009-05-30 at 16:44 +1000, Jason White wrote:
 Luis M. Zuccolo luismzucc...@yahoo.com.ar wrote:
  
  The problem is the null section
 
 Yes, switch_simple_email is probably being called with a null first argument.
 This shouldn't happen.
 
 Which svn revision are you on? Does it still happen with the latest svn
 revision?
 
 
 ___
 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

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


___
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


Re: [Freeswitch-users] Error sending mail

2009-05-30 Thread Luis M. Zuccolo
I've upgrade to 13523 and I get the same result.

sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `/bin/cat /tmp/mail.1243708954adb2 | sendmail -t (null)'

Thanks in advance.
Luis Zuccolo

On Sat, 2009-05-30 at 17:49 +1000, Jason White wrote:
 Luis M. Zuccolo luismzucc...@yahoo.com.ar wrote:
  1.0.4pre8
 
 It works for me with revision 13501. Mine is later than yours. Try upgrading.
 
 
 ___
 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

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


___
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


[Freeswitch-users] Error sending mail

2009-05-29 Thread Luis M. Zuccolo
Hi:

I get this error when voicemail try to send an email: 

'/bin/cat /tmp/mail.12436473394319 | sendmail -t (null)'


This is the called extension:

include
  user id=1010 mailbox=1010
params
  param name=password value=$${default_password}/
  param name=vm-password value=1010/
  param name=vm-mailto value=luismzucc...@yahoo.com.ar/
  param name=vm-notify-email-all-messages value=true/
  param name=http-allowed-api value=voicemail/
/params
variables
  variable name=toll_allow value=domestic,international,local/
  variable name=accountcode value=1010/
  variable name=user_context value=default/
  variable name=effective_caller_id_name value=Extension 1010/
  variable name=effective_caller_id_number value=1010/
  variable name=outbound_caller_id_name
value=$${outbound_caller_name}/
  variable name=outbound_caller_id_number
value=$${outbound_caller_id}/
  variable name=callgroup value=techsupport/
/variables
  /user
/include


Why the vm_mailto variable isnt't passed to the script?
What's  wrong?
Someone can assist me?

Thanks in advance
Luis Zuccolo



__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


___
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


Re: [Freeswitch-users] Error sending mail

2009-05-29 Thread Luis M. Zuccolo
I'm using postfix, that has a compatiblilty interface to sendmail.

On Fri, 2009-05-29 at 21:36 -0500, Brian West wrote:
 Are you really using sendmail or are you using something like exim?
 
 
 /b
 
 On May 29, 2009, at 8:58 PM, Luis M. Zuccolo wrote:
 
  Why the vm_mailto variable isnt't passed to the script?
  What's  wrong?
  Someone can assist me?
  
  Thanks in advance
  Luis Zuccolo
 
 Brian West
 br...@freeswitch.org
 
 
 -- 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






__ 
Preguntá. Respondé. Descubrí. 
Todo lo que querías saber, y lo que ni imaginabas, 
está en Yahoo! Respuestas (Beta). 
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas 



___
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


Re: [Freeswitch-users] Error sending mail

2009-05-29 Thread Luis M. Zuccolo
Yes, in console works well (without null).
This variables are sets in switch.conf.xml: 

param name=mailer-app value=sendmail/
param name=mailer-app-args value=-t/


Previously I've omitted the error:

sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `/bin/cat /tmp/mail.124363022502bd | sendmail -t (null)'

The problem is the null section

Thanks in advance

On Sat, 2009-05-30 at 14:22 +1000, Jason White wrote:
 Jason White ja...@jasonjgw.net wrote:
  
  See the mailer-ap and mailer-app-args variables in
  autoload_configs/switch.conf.xml and be sure they are set correctly for your
  installation. Try running the Postfix sendmail program manually to be sure
  that it is working correctly.
 
 sendmail -t is the default, thus I would suggest testing that first with your
 Postfix sendmail compatibility script, as in:
 
 sendmail -t
 From: My name mailaddr...@example.org
 To: Recipient Name recipi...@example.org
 Subject: Test message
 
 This is a test message for the sendmail -t option.
 
 End with ctrl-d, and of course, substitute real e-mail addresses for the
 examples.
 
 Your Postfix logs might also reveal where the problems are.
 
 
 ___
 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

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


___
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


[Freeswitch-users] Openzap error

2008-10-08 Thread Luis M. Zuccolo
Hi,

I've and openvox card with one fxo on port 1 connected to a line and one
fxs card on port 3 connected to a phone.
Up to svn 9890 its works ok but when upgrade to this version I get an
DESTINATION_OUT_OF_ORDER error in calls bridged to a fxs.

Thanks in advance 

2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:144
switch_core_standard_on_execute() OpenZAP/1:1/1 Execute
bridge(openzap/3:1/1)
2008-10-08 12:11:02 [ERR] mod_openzap.c:907 channel_outgoing_channel()
Invalid dial string
2008-10-08 12:11:02 [ERR] switch_ivr_originate.c:964
switch_ivr_originate() Cannot create outgoing channel of type [openzap]
cause: [DESTINATION_OUT_OF_ORDER]
2008-10-08 12:11:02 [DEBUG] switch_ivr_originate.c:1454
switch_ivr_originate() Originate Resulted in Error Cause: 27
[DESTINATION_OUT_OF_ORDER]
2008-10-08 12:11:02 [INFO] mod_dptools.c:1848 audio_bridge_function()
Originate Failed.  Cause: DESTINATION_OUT_OF_ORDER
2008-10-08 12:11:02 [NOTICE] mod_dptools.c:1875 audio_bridge_function()
Hangup OpenZAP/1:1/1 [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER]
2008-10-08 12:11:02 [DEBUG] switch_channel.c:1434
switch_channel_perform_hangup() Send signal OpenZAP/1:1/1 [KILL]
2008-10-08 12:11:02 [DEBUG] switch_core_session.c:727
switch_core_session_signal_state_change() Send signal OpenZAP/1:1/1
[BREAK]
2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:432
switch_core_session_run() (OpenZAP/1:1/1) State EXECUTE going to sleep
2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:367
switch_core_session_run() OpenZAP/1:1/1 Running State Change CS_HANGUP
2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:395
switch_core_session_run() (OpenZAP/1:1/1) State HANGUP
2008-10-08 12:11:02 [DEBUG] mod_openzap.c:428 channel_on_hangup()
Changing state on 1:1 from IDLE to HANGUP
2008-10-08 12:11:02 [DEBUG] mod_openzap.c:471 channel_on_hangup()
OpenZAP/1:1/1 CHANNEL HANGUP
2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:46
switch_core_standard_on_hangup() OpenZAP/1:1/1 Standard HANGUP, cause:
DESTINATION_OUT_OF_ORDER
2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:395
switch_core_session_run() (OpenZAP/1:1/1) State HANGUP going to sleep
2008-10-08 12:11:02 [DEBUG] switch_core_session.c:815
switch_core_session_thread() Session 3 (OpenZAP/1:1/1) Locked, Waiting
on external entities
2008-10-08 12:11:02 [NOTICE] switch_core_session.c:833
switch_core_session_thread() Session 3 (OpenZAP/1:1/1) Ended
2008-10-08 12:11:02 [NOTICE] switch_core_session.c:835
switch_core_session_thread() Close Channel OpenZAP/1:1/1 [CS_HANGUP]


openzap.conf

[span zt]
name = OpenZAP
number = 1
fxo-channel = 1

[span zt]
name = OpenZAP
number = 2
fxo-channel = 2

[span zt]
name = OpenZAP
number = 3
fxs-channel = 3


openzap.conf.xml

configuration name=openzap.conf description=OpenZAP Configuration
 settings
   param name=debug value=9/
 /settings
 analog_spans
  span id=1
   param name=tonegroup value=us/
   param name=digit-timeout value=2000/
   param name=max-digits value=11/
   param name=dialplan value=XML/
   param name=context value=default/
   param name=enable-analog-option value=3-way/
   param name=moh value=$${base_dir}/sounds/Dardedisco.wav/
  /span
  span id=2
   param name=tonegroup value=us/
   param name=digit-timeout value=2000/
   param name=max-digits value=11/
   param name=dialplan value=XML/
   param name=context value=default/
   param name=enable-analog-option value=3-way/
   param name=moh value=$${base_dir}/sounds/Dardedisco.wav/
  /span
  span id=3
   param name=tonegroup value=us/
   param name=digit-timeout value=2000/
   param name=max-digits value=11/
   param name=dialplan value=XML/
   param name=context value=default/
  /span
 /analog_spans
/configuration


added to dialplan/default.xml
 
  extension name=incoming-fx0-channel-1
condition field=source expression=mod_openzap/
condition field=destination_number expression==^(1)$
  action application=set data=call_timeout=60/
  action application=set data=ringback=${us-ring}/
  action application=bridge data=openzap/3/1/
/condition
  /extension




__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


___
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


Re: [Freeswitch-users] Openzap error

2008-10-08 Thread Luis M. Zuccolo
Its works!!!

Thanks

On Wed, 2008-10-08 at 20:18 -0500, Anthony Minessale wrote:
 try latest trunk, I added a patch to mod_openzap.c
 
 
 On Wed, Oct 8, 2008 at 8:09 PM, Luis M. Zuccolo
 [EMAIL PROTECTED] wrote:
 Hi,
 
 I've and openvox card with one fxo on port 1 connected to a
 line and one
 fxs card on port 3 connected to a phone.
 Up to svn 9890 its works ok but when upgrade to this version I
 get an
 DESTINATION_OUT_OF_ORDER error in calls bridged to a fxs.
 
 Thanks in advance
 
 2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:144
 switch_core_standard_on_execute() OpenZAP/1:1/1 Execute
 bridge(openzap/3:1/1)
 2008-10-08 12:11:02 [ERR] mod_openzap.c:907
 channel_outgoing_channel()
 Invalid dial string
 2008-10-08 12:11:02 [ERR] switch_ivr_originate.c:964
 switch_ivr_originate() Cannot create outgoing channel of type
 [openzap]
 cause: [DESTINATION_OUT_OF_ORDER]
 2008-10-08 12:11:02 [DEBUG] switch_ivr_originate.c:1454
 switch_ivr_originate() Originate Resulted in Error Cause: 27
 [DESTINATION_OUT_OF_ORDER]
 2008-10-08 12:11:02 [INFO] mod_dptools.c:1848
 audio_bridge_function()
 Originate Failed.  Cause: DESTINATION_OUT_OF_ORDER
 2008-10-08 12:11:02 [NOTICE] mod_dptools.c:1875
 audio_bridge_function()
 Hangup OpenZAP/1:1/1 [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER]
 2008-10-08 12:11:02 [DEBUG] switch_channel.c:1434
 switch_channel_perform_hangup() Send signal OpenZAP/1:1/1
 [KILL]
 2008-10-08 12:11:02 [DEBUG] switch_core_session.c:727
 switch_core_session_signal_state_change() Send signal
 OpenZAP/1:1/1
 [BREAK]
 2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:432
 switch_core_session_run() (OpenZAP/1:1/1) State EXECUTE going
 to sleep
 2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:367
 switch_core_session_run() OpenZAP/1:1/1 Running State Change
 CS_HANGUP
 2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:395
 switch_core_session_run() (OpenZAP/1:1/1) State HANGUP
 2008-10-08 12:11:02 [DEBUG] mod_openzap.c:428
 channel_on_hangup()
 Changing state on 1:1 from IDLE to HANGUP
 2008-10-08 12:11:02 [DEBUG] mod_openzap.c:471
 channel_on_hangup()
 OpenZAP/1:1/1 CHANNEL HANGUP
 2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:46
 switch_core_standard_on_hangup() OpenZAP/1:1/1 Standard
 HANGUP, cause:
 DESTINATION_OUT_OF_ORDER
 2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:395
 switch_core_session_run() (OpenZAP/1:1/1) State HANGUP going
 to sleep
 2008-10-08 12:11:02 [DEBUG] switch_core_session.c:815
 switch_core_session_thread() Session 3 (OpenZAP/1:1/1) Locked,
 Waiting
 on external entities
 2008-10-08 12:11:02 [NOTICE] switch_core_session.c:833
 switch_core_session_thread() Session 3 (OpenZAP/1:1/1) Ended
 2008-10-08 12:11:02 [NOTICE] switch_core_session.c:835
 switch_core_session_thread() Close Channel OpenZAP/1:1/1
 [CS_HANGUP]
 
 
 openzap.conf
 
 [span zt]
 name = OpenZAP
 number = 1
 fxo-channel = 1
 
 [span zt]
 name = OpenZAP
 number = 2
 fxo-channel = 2
 
 [span zt]
 name = OpenZAP
 number = 3
 fxs-channel = 3
 
 
 openzap.conf.xml
 
 configuration name=openzap.conf description=OpenZAP
 Configuration
  settings
   param name=debug value=9/
  /settings
  analog_spans
  span id=1
   param name=tonegroup value=us/
   param name=digit-timeout value=2000/
   param name=max-digits value=11/
   param name=dialplan value=XML/
   param name=context value=default/
   param name=enable-analog-option value=3-way/
   param name=moh
 value=$${base_dir}/sounds/Dardedisco.wav/
  /span
  span id=2
   param name=tonegroup value=us/
   param name=digit-timeout value=2000/
   param name=max-digits value=11/
   param name=dialplan value=XML/
   param name=context value=default/
   param name=enable-analog-option value=3-way/
   param name=moh
 value=$${base_dir}/sounds/Dardedisco.wav/
  /span
  span id=3
   param name=tonegroup value=us/
   param name=digit-timeout value=2000/
   param name=max-digits value=11/
   param name=dialplan value=XML/
   param name=context value=default/
  /span
  /analog_spans

[Freeswitch-users] FXS problem

2008-09-07 Thread Luis M. Zuccolo
Hi, 
I'm usign an openvox card with 2 fxo modules and 1 fxs module.
When I dial from fxs extension only take the first digit dialed and
tried to route the call. This digit is not in dialplan, then the call is
hung up.
This happend only in FreeSWITCH snapshot (2008-08-31 and 2008-09-6). In
release 1.0.1 work well.
It's look like that don't take the option digit-timeout configured to
2000 in openzap.conf.xml
Am I' missing something else?
Any help about this would be appreciated.

Thanks in advance.
Luis Zuccolo

Console logs:

(FreesSWITCH release 1.0.1)

2008-09-06 18:31:13 [NOTICE] switch_channel.c:534
switch_channel_set_name() New Channel OpenZAP/3:1/45662530
[2f5b3615-e144-4ce0-9e75-7fd987373e3b]
2008-09-06 18:31:13 [INFO] mod_dialplan_xml.c:222 dialplan_hunt()
Processing OpenZAP-[EMAIL PROTECTED]
2008-09-06 18:31:14 [NOTICE] switch_channel.c:534
switch_channel_set_name() New Channel OpenZAP/1:1/45662530
[f19ddc6a-ab75-4e5c-b881-d00918d4ef86]
2008-09-06 18:31:14 [WARNING] mod_openzap.c:1113 on_fxo_signal()
Unhandled type for channel 1:1
2008-09-06 18:31:18 [NOTICE] mod_openzap.c:1097 on_fxo_signal() Channel
[OpenZAP/1:1/45662530] has been answered
2008-09-06 18:31:18 [NOTICE] switch_ivr_originate.c:1298
switch_ivr_originate() Channel [OpenZAP/3:1/45662530] has been answered
2008-09-06 18:31:25 [NOTICE] mod_openzap.c:1218 on_fxs_signal() Hangup
OpenZAP/3:1/45662530 [CS_EXECUTE] [NORMAL_CLEARING]


(FreeSWITCH snapshots)

2008-09-06 18:38:04 [NOTICE] switch_channel.c:538
switch_channel_set_name() New Channel OpenZAP/3:1/4
[a269cba9-9e5a-427a-8fb4-48df1ee490ad]
2008-09-06 18:38:04 [INFO] mod_dialplan_xml.c:228 dialplan_hunt()
Processing OpenZAP-4 in context default
2008-09-06 18:38:04 [NOTICE] switch_ivr.c:1098
switch_ivr_session_transfer() Transfer OpenZAP/3:1/4 to [EMAIL PROTECTED]
2008-09-06 18:38:04 [INFO] switch_core_state_machine.c:114
switch_core_standard_on_routing() No Route, Aborting
2008-09-06 18:38:04 [NOTICE] switch_core_state_machine.c:115
switch_core_standard_on_routing() Hangup OpenZAP/3:1/4 [CS_ROUTING]
[NO_ROUTE_DESTINATION]
2008-09-06 18:38:04 [NOTICE] switch_core_session.c:812
switch_core_session_thread() Session 11 (OpenZAP/3:1/4) Ended
2008-09-06 18:38:04 [NOTICE] switch_core_session.c:814
switch_core_session_thread() Close Channel OpenZAP/3:1/4 [CS_HANGUP]



My configs file are: 

FreeSWITCH 1.0.1 = /etc/openzap.conf/openzap.conf
FreeSWITCH snapshot = ../conf/openzap.conf

[span zt]
name = OpenZAP
number = 1
fxo-channel = 1

[span zt]
name = OpenZAP
number = 2
fxo-channel = 2

[span zt]
name = OpenZAP
number = 3
fxs-channel = 3

conf/autoload_configs/openzap.conf.xml config:

configuration name=openzap.conf description=OpenZAP Configuration
 settings
   param name=debug value=9/
 /settings
 analog_spans
  span id=1
   param name=tonegroup value=us/
   param name=digit-timeout value=2000/
   param name=max-digits value=11/
   param name=dialplan value=XML/
   param name=context value=default/
   param name=enable-analog-option value=3-way/
   param name=moh value=$${base_dir}/sounds/Dardedisco.wav/
  /span
  span id=2
   param name=tonegroup value=us/
   param name=digit-timeout value=2000/
   param name=max-digits value=11/
   param name=dialplan value=XML/
   param name=context value=default/
   param name=enable-analog-option value=3-way/
   param name=moh value=$${base_dir}/sounds/Dardedisco.wav/
  /span
  span id=3
   param name=tonegroup value=us/
   param name=digit-timeout value=2000/
   param name=max-digits value=11/
   param name=dialplan value=XML/
   param name=context value=default/
  /span
 /analog_spans
/configuration




__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


___
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