[Freeswitch-users] weird FS behavior

envelopes envelopes sunwood360 at gmail.com
Tue Mar 1 11:37:45 MSK 2011


in my FS system, If i only dialed 7 digits, it automatically appended 1347.
347 is not my default area code in vars.xml
is FS crazy...???  in the following example, i only dialed :  4562345, but
it became 13474562345.




011-03-01 03:22:03.509008 [NOTICE] switch_channel.c:669 New Channel
sofia/internal/1000 at 192.168.1.115 [fcd969a4-43dc-11e0-8b62-6f20955d792b]
2011-03-01 03:22:03.518498 [DEBUG] switch_core_state_machine.c:314
(sofia/internal/1000 at 192.168.1.115) Running State Change CS_NEW
2011-03-01 03:22:03.518498 [DEBUG] switch_core_state_machine.c:320
(sofia/internal/1000 at 192.168.1.115) State NEW
2011-03-01 03:22:03.518498 [DEBUG] sofia.c:4149 Channel sofia/internal/
1000 at 192.168.1.115 entering state [received][100]
2011-03-01 03:22:03.518498 [DEBUG] sofia.c:4160 Remote SDP:
v=0
o=- 28491453 28491453 IN IP4 192.168.1.112
s=-
c=IN IP4 192.168.1.112
t=0 0
m=audio 16466 RTP/AVP 0 2 4 8 18 96 97 98 100 101
a=rtpmap:0 PCMU/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:4 G723/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729a/8000
a=rtpmap:96 G726-40/8000
a=rtpmap:97 G726-24/8000
a=rtpmap:98 G726-16/8000
a=rtpmap:100 NSE/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20

2011-03-01 03:22:03.524230 [DEBUG] sofia_glue.c:3585 Audio Codec Compare
[PCMU:0:8000:20]/[G722:9:8000:20]
2011-03-01 03:22:03.525384 [DEBUG] sofia_glue.c:3585 Audio Codec Compare
[PCMU:0:8000:20]/[PCMU:0:8000:20]
2011-03-01 03:22:03.527548 [DEBUG] sofia_glue.c:2354 Set Codec
sofia/internal/1000 at 192.168.1.115 PCMU/8000 20 ms 160 samples
2011-03-01 03:22:03.534389 [DEBUG] sofia_glue.c:3524 Set 2833 dtmf send/recv
payload to 101
2011-03-01 03:22:03.534389 [DEBUG] sofia.c:4306 (sofia/internal/
1000 at 192.168.1.115) State Change CS_NEW -> CS_INIT
2011-03-01 03:22:03.536796 [DEBUG] switch_core_session.c:1021 Send signal
sofia/internal/1000 at 192.168.1.115 [BREAK]
2011-03-01 03:22:03.539167 [DEBUG] switch_core_state_machine.c:314
(sofia/internal/1000 at 192.168.1.115) Running State Change CS_INIT
2011-03-01 03:22:03.540372 [DEBUG] switch_core_state_machine.c:338
(sofia/internal/1000 at 192.168.1.115) State INIT
2011-03-01 03:22:03.540372 [DEBUG] mod_sofia.c:83 sofia/internal/
1000 at 192.168.1.115 SOFIA INIT
2011-03-01 03:22:03.540372 [DEBUG] mod_sofia.c:117 (sofia/internal/
1000 at 192.168.1.115) State Change CS_INIT -> CS_ROUTING
2011-03-01 03:22:03.540372 [DEBUG] switch_core_session.c:1021 Send signal
sofia/internal/1000 at 192.168.1.115 [BREAK]
2011-03-01 03:22:03.540372 [DEBUG] switch_core_state_machine.c:338
(sofia/internal/1000 at 192.168.1.115) State INIT going to sleep
2011-03-01 03:22:03.540372 [DEBUG] switch_core_state_machine.c:314
(sofia/internal/1000 at 192.168.1.115) Running State Change CS_ROUTING
2011-03-01 03:22:03.540372 [DEBUG] switch_core_state_machine.c:341
(sofia/internal/1000 at 192.168.1.115) State ROUTING
2011-03-01 03:22:03.540372 [DEBUG] mod_sofia.c:140 sofia/internal/
1000 at 192.168.1.115 SOFIA ROUTING
2011-03-01 03:22:03.540372 [DEBUG] switch_core_state_machine.c:77
sofia/internal/1000 at 192.168.1.115 Standard ROUTING
2011-03-01 03:22:03.540372 [INFO] mod_dialplan_xml.c:418 Processing
1000->13474562345 in context default



I did a grep :
/etc/freeswitch# find . -name "*.*" | xargs grep 347
./jingle_profiles/server.xml:    <param name="server" value="
jabber.server.org:5347"/>


Where is 347 coming from? is it possible of buffer overflow? i am using FS
1.0.6.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110301/e4ac4431/attachment.html 


More information about the FreeSWITCH-users mailing list