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@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@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@192.168.1.115) State NEW 2011-03-01 03:22:03.518498 [DEBUG] sofia.c:4149 Channel sofia/internal/ 1000@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@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@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@192.168.1.115 [BREAK] 2011-03-01 03:22:03.539167 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1000@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@192.168.1.115) State INIT 2011-03-01 03:22:03.540372 [DEBUG] mod_sofia.c:83 sofia/internal/ 1000@192.168.1.115 SOFIA INIT 2011-03-01 03:22:03.540372 [DEBUG] mod_sofia.c:117 (sofia/internal/ 1000@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@192.168.1.115 [BREAK] 2011-03-01 03:22:03.540372 [DEBUG] switch_core_state_machine.c:338 (sofia/internal/1000@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@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@192.168.1.115) State ROUTING 2011-03-01 03:22:03.540372 [DEBUG] mod_sofia.c:140 sofia/internal/ 1000@192.168.1.115 SOFIA ROUTING 2011-03-01 03:22:03.540372 [DEBUG] switch_core_state_machine.c:77 sofia/internal/1000@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.
Are you sure that your phone is not prepending this? /Peter Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För envelopes envelopes Skickat: den 1 mars 2011 09:38 Till: FreeSWITCH Users Help Ämne: [Freeswitch-users] weird FS behavior 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@192.168.1.115<mailto:1000@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@192.168.1.115<mailto:1000@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@192.168.1.115<mailto:1000@192.168.1.115>) State NEW 2011-03-01 03:22:03.518498 [DEBUG] sofia.c:4149 Channel sofia/internal/1000@192.168.1.115<mailto:1000@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@192.168.1.115<mailto:1000@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@192.168.1.115<mailto:1000@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@192.168.1.115<mailto:1000@192.168.1.115> [BREAK] 2011-03-01 03:22:03.539167 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1000@192.168.1.115<mailto:1000@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@192.168.1.115<mailto:1000@192.168.1.115>) State INIT 2011-03-01 03:22:03.540372 [DEBUG] mod_sofia.c:83 sofia/internal/1000@192.168.1.115<mailto:1000@192.168.1.115> SOFIA INIT 2011-03-01 03:22:03.540372 [DEBUG] mod_sofia.c:117 (sofia/internal/1000@192.168.1.115<mailto:1000@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@192.168.1.115<mailto:1000@192.168.1.115> [BREAK] 2011-03-01 03:22:03.540372 [DEBUG] switch_core_state_machine.c:338 (sofia/internal/1000@192.168.1.115<mailto:1000@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@192.168.1.115<mailto:1000@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@192.168.1.115<mailto:1000@192.168.1.115>) State ROUTING 2011-03-01 03:22:03.540372 [DEBUG] mod_sofia.c:140 sofia/internal/1000@192.168.1.115<mailto:1000@192.168.1.115> SOFIA ROUTING 2011-03-01 03:22:03.540372 [DEBUG] switch_core_state_machine.c:77 sofia/internal/1000@192.168.1.115<mailto:1000@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<http://jabber.server.org:5347>"/> Where is 347 coming from? is it possible of buffer overflow? i am using FS 1.0.6. !DSPAM:4d6cb1ed32761091320802!
From the cli do "sofia global siptrace on"
You'll see the raw SIP packets being sent from your phone. I think you'll find your phone's sending that prefix even if you don't expect it to. It could be something like it thinks your dialing a local number and it's trying to add the local area code. That's just a guess though. -Steve On 1 March 2011 08:37, envelopes envelopes <sunwood360@gmail.com> wrote:
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@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@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@192.168.1.115) State NEW 2011-03-01 03:22:03.518498 [DEBUG] sofia.c:4149 Channel sofia/internal/1000@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@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@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@192.168.1.115 [BREAK] 2011-03-01 03:22:03.539167 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/1000@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@192.168.1.115) State INIT 2011-03-01 03:22:03.540372 [DEBUG] mod_sofia.c:83 sofia/internal/1000@192.168.1.115 SOFIA INIT 2011-03-01 03:22:03.540372 [DEBUG] mod_sofia.c:117 (sofia/internal/1000@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@192.168.1.115 [BREAK] 2011-03-01 03:22:03.540372 [DEBUG] switch_core_state_machine.c:338 (sofia/internal/1000@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@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@192.168.1.115) State ROUTING 2011-03-01 03:22:03.540372 [DEBUG] mod_sofia.c:140 sofia/internal/1000@192.168.1.115 SOFIA ROUTING 2011-03-01 03:22:03.540372 [DEBUG] switch_core_state_machine.c:77 sofia/internal/1000@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.
_______________________________________________ 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
yes, my fault. I totally forgot my phone is connected to a linksys PAP. On Tue, Mar 1, 2011 at 10:20 AM, Michael Collins <msc@freeswitch.org> wrote:
2011-03-01 03:22:03.540372 [INFO] mod_dialplan_xml.c:418 Processing 1000->13474562345 in context default
I'm with Peter on this one. It looks like FreeSWITCH is receiving the dialstring with the "1347" already pre-pended. Time to check the phone.
-MC
_______________________________________________ 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
participants (4)
-
envelopes envelopes
-
Michael Collins
-
Peter Olsson
-
Steven Ayre