Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] session.getDigits() not working


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
paul.degt at gmail.com
Guest





PostPosted: Sun Jun 14, 2009 11:02 pm    Post subject: [Freeswitch-users] session.getDigits() not working Reply with quote

Trying out latest trunk ans seems like js function session.getDigits()
stopped working (not collecting any digits), I do see

switch_rtp.c:1560 Send end packet for [5] ts=2222260 dur=2080/2080/2000
seq=8732

in debug log so I assume dtmf is ok.
Anybody can shed some light on why wouldn't it work now?
Works just fine under 1.0.3 release. I use slightly modified version of
disa.js from fs examples.

Thanks.

_______________________________________________
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
Back to top
paul.degt at gmail.com
Guest





PostPosted: Tue Jun 16, 2009 7:21 am    Post subject: [Freeswitch-users] session.getDigits() not working Reply with quote

Solved by replacing "auto-nat" with public ip in public profile
"external_sip-ip" and "extrenal-rtp-ip" params.
I believe values for these params used to be taken from vars.xml and so
would have public ips by default - would be nice to document such
changes in README.

paul.degt@gmail.com wrote:
Quote:
Trying out latest trunk ans seems like js function session.getDigits()
stopped working (not collecting any digits), I do see

switch_rtp.c:1560 Send end packet for [5] ts=2222260
dur=2080/2080/2000 seq=8732

in debug log so I assume dtmf is ok.
Anybody can shed some light on why wouldn't it work now?
Works just fine under 1.0.3 release. I use slightly modified version
of disa.js from fs examples.

Thanks.



_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Tue Jun 16, 2009 7:41 am    Post subject: [Freeswitch-users] session.getDigits() not working Reply with quote

Can you please put it back to auto-nat and email me the output of
global_getvar from the CLI so I can see what it detected?

/b

On Jun 16, 2009, at 7:18 AM, paul.degt@gmail.com wrote:

Quote:
Solved by replacing "auto-nat" with public ip in public profile
"external_sip-ip" and "extrenal-rtp-ip" params.
I believe values for these params used to be taken from vars.xml and
so
would have public ips by default - would be nice to document such
changes in README.


_______________________________________________
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
Back to top
paul.degt at gmail.com
Guest





PostPosted: Tue Jun 16, 2009 5:53 pm    Post subject: [Freeswitch-users] session.getDigits() not working Reply with quote

API CALL [global_getvar()] output:
external_ssl_enable=false
external_tls_port=5081
external_sip_port=5080
external_auth_calls=false
internal_ssl_dir=/var/opt/freeswitch/conf/ssl
internal_sip_port=5060
default_provider_contact=5000
default_provider_from_domain=example.com
default_provider_password=password
external_rtp_ip=74.92.196.241
xmpp_server_profile=xmpps
xmpp_client_profile=xmppc
global_codec_prefs=G722,PCMU,PCMA,GSM
hold_music=local_stream://moh
external_ssl_dir=/var/opt/freeswitch/conf/ssl
internal_auth_calls=true
local_ip_v4=192.168.0.40
unroll_loops=true
default_areacode=918
default_provider_register=false
local_mask_v4=255.255.255.0
default_password=1234
call_debug=false
local_ip_v6=::1
default_provider_username=joeuser
sound_prefix=/var/opt/freeswitch/sounds/en/us/callie
outbound_caller_id=0000000000
default_country=US
base_dir=/var/opt/freeswitch
bind_server_ip=auto
internal_tls_port=5061
switch_serial=c0a8002854db
default_provider=example.com
outbound_codec_prefs=PCMU,PCMA,GSM
domain_name=192.168.0.40
domain=192.168.0.40
external_sip_ip=74.92.196.241
outbound_caller_name=Versafon.com
rs-ring=%(1000, 4000, 425.0, 0.0)
sit=%(274,0,913.Cool;%(274,0,1370.6);%(380,0,1776.7)
internal_ssl_enable=false
console_loglevel=debug
uk-ring=%(400,200,400,450);%(400,2200,400,450)
us-ring=%(2000, 4000, 440.0, 480.0)
sip_tls_version=tlsv1
fr-ring=%(1500, 3500, 440.0, 0.0)
bong-ring=v=-7;%(100,0,941.0,1477.0);v=-7;>=2;+=.1;%(1400,0,350,440)



Brian West wrote:
Quote:
Can you please put it back to auto-nat and email me the output of
global_getvar from the CLI so I can see what it detected?

/b

On Jun 16, 2009, at 7:18 AM, paul.degt@gmail.com wrote:


Quote:
Solved by replacing "auto-nat" with public ip in public profile
"external_sip-ip" and "extrenal-rtp-ip" params.
I believe values for these params used to be taken from vars.xml and
so
would have public ips by default - would be nice to document such
changes in README.



_______________________________________________
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 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
Back to top
brian at freeswitch.org
Guest





PostPosted: Tue Jun 16, 2009 10:32 pm    Post subject: [Freeswitch-users] session.getDigits() not working Reply with quote

Shouldn't have really changed any behavior at all... What svn rev are
you on?

/b

On Jun 16, 2009, at 5:50 PM, paul.degt wrote:

Quote:
API CALL [global_getvar()] output:
external_ssl_enable=false
external_tls_port=5081
external_sip_port=5080
external_auth_calls=false
internal_ssl_dir=/var/opt/freeswitch/conf/ssl
internal_sip_port=5060
default_provider_contact=5000
default_provider_from_domain=example.com
default_provider_password=password
external_rtp_ip=74.92.196.241
xmpp_server_profile=xmpps
xmpp_client_profile=xmppc
global_codec_prefs=G722,PCMU,PCMA,GSM
hold_music=local_stream://moh
external_ssl_dir=/var/opt/freeswitch/conf/ssl
internal_auth_calls=true
local_ip_v4=192.168.0.40
unroll_loops=true
default_areacode=918
default_provider_register=false
local_mask_v4=255.255.255.0
default_password=1234
call_debug=false
local_ip_v6=::1
default_provider_username=joeuser
sound_prefix=/var/opt/freeswitch/sounds/en/us/callie
outbound_caller_id=0000000000
default_country=US
base_dir=/var/opt/freeswitch
bind_server_ip=auto
internal_tls_port=5061
switch_serial=c0a8002854db
default_provider=example.com
outbound_codec_prefs=PCMU,PCMA,GSM
domain_name=192.168.0.40
domain=192.168.0.40
external_sip_ip=74.92.196.241
outbound_caller_name=Versafon.com
rs-ring=%(1000, 4000, 425.0, 0.0)
sit=%(274,0,913.Cool;%(274,0,1370.6);%(380,0,1776.7)
internal_ssl_enable=false
console_loglevel=debug
uk-ring=%(400,200,400,450);%(400,2200,400,450)
us-ring=%(2000, 4000, 440.0, 480.0)
sip_tls_version=tlsv1
fr-ring=%(1500, 3500, 440.0, 0.0)
bong-ring=v=-7;%(100,0,941.0,1477.0);v=-7;>=2;+=.1;%(1400,0,350,440)



_______________________________________________
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
Back to top
paul.degt at gmail.com
Guest





PostPosted: Wed Jun 17, 2009 12:02 am    Post subject: [Freeswitch-users] session.getDigits() not working Reply with quote

13564

Brian West wrote:
Quote:
Shouldn't have really changed any behavior at all... What svn rev are
you on?

/b

On Jun 16, 2009, at 5:50 PM, paul.degt wrote:


Quote:
API CALL [global_getvar()] output:
external_ssl_enable=false
external_tls_port=5081
external_sip_port=5080
external_auth_calls=false
internal_ssl_dir=/var/opt/freeswitch/conf/ssl
internal_sip_port=5060
default_provider_contact=5000
default_provider_from_domain=example.com
default_provider_password=password
external_rtp_ip=74.92.196.241
xmpp_server_profile=xmpps
xmpp_client_profile=xmppc
global_codec_prefs=G722,PCMU,PCMA,GSM
hold_music=local_stream://moh
external_ssl_dir=/var/opt/freeswitch/conf/ssl
internal_auth_calls=true
local_ip_v4=192.168.0.40
unroll_loops=true
default_areacode=918
default_provider_register=false
local_mask_v4=255.255.255.0
default_password=1234
call_debug=false
local_ip_v6=::1
default_provider_username=joeuser
sound_prefix=/var/opt/freeswitch/sounds/en/us/callie
outbound_caller_id=0000000000
default_country=US
base_dir=/var/opt/freeswitch
bind_server_ip=auto
internal_tls_port=5061
switch_serial=c0a8002854db
default_provider=example.com
outbound_codec_prefs=PCMU,PCMA,GSM
domain_name=192.168.0.40
domain=192.168.0.40
external_sip_ip=74.92.196.241
outbound_caller_name=Versafon.com
rs-ring=%(1000, 4000, 425.0, 0.0)
sit=%(274,0,913.Cool;%(274,0,1370.6);%(380,0,1776.7)
internal_ssl_enable=false
console_loglevel=debug
uk-ring=%(400,200,400,450);%(400,2200,400,450)
us-ring=%(2000, 4000, 440.0, 480.0)
sip_tls_version=tlsv1
fr-ring=%(1500, 3500, 440.0, 0.0)
bong-ring=v=-7;%(100,0,941.0,1477.0);v=-7;>=2;+=.1;%(1400,0,350,440)




_______________________________________________
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 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
Back to top
brian at freeswitch.org
Guest





PostPosted: Wed Jun 17, 2009 12:07 am    Post subject: [Freeswitch-users] session.getDigits() not working Reply with quote

can you update and try that again?

/b

On Jun 17, 2009, at 12:00 AM, paul.degt@gmail.com wrote:

Quote:
13564


_______________________________________________
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
Back to top
paul.degt at gmail.com
Guest





PostPosted: Wed Jun 17, 2009 11:04 am    Post subject: [Freeswitch-users] session.getDigits() not working Reply with quote

I will in a couple of days and report back.

Brian West wrote:
Quote:
can you update and try that again?

/b

On Jun 17, 2009, at 12:00 AM, paul.degt@gmail.com wrote:


Quote:
13564



_______________________________________________
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 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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services