[Linksys 3102] Couple of issues using FS and XLite
Hello I followed this tutorial to configure a Linksys 3102 to connect a Freeswitch server to an analog phone line: http://robsmart.co.uk/2009/06/02/freeswitch_linksys3102/ I could successfully call my cellphone, but I noticed a couple of issues: 1. While the call is still in progress, ie. I haven't answered the cellphone yet, XLite says "Call established" 2. After I hang up the cellphone, XLite is still off-hook, and I need to hang up manually Is this due to some setting in XLite, in Freeswitch, or in the 3102? Thank you. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Linksys-3102-Couple-of-issues-... Sent from the freeswitch-users mailing list archive at Nabble.com.
Please post your dialplan's entries dealing with xlite and linksys. regards. On Fri, Oct 22, 2010 at 6:49 PM, GillesToo <codecomplete@free.fr> wrote:
Hello
I followed this tutorial to configure a Linksys 3102 to connect a Freeswitch server to an analog phone line:
http://robsmart.co.uk/2009/06/02/freeswitch_linksys3102/
I could successfully call my cellphone, but I noticed a couple of issues:
1. While the call is still in progress, ie. I haven't answered the cellphone yet, XLite says "Call established" 2. After I hang up the cellphone, XLite is still off-hook, and I need to hang up manually
Is this due to some setting in XLite, in Freeswitch, or in the 3102?
Thank you. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Linksys-3102-Couple-of-issues-... Sent from the freeswitch-users mailing list archive at Nabble.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
-- Ghulam Mustafa cell: +92 333.611.7681 sip: cyrenity@ekiga.net mail: mustafa.pk@gmail.com web: cyrenity.wordpress.com
Thanks for the help. I use the default settings as provided in the binary for Windows (1.0.4). XLite uses extension 1001, and the Linksys uses extension 1000. The only changes I made were those in the tutorial above, in the "FreeSwitch Configuration" section: 1. Added conf/dialplan/default/00_spa3102.xml: <include> <extension name=”To PSTN”> <condition field=”destination_number” expression=”(.*)”> <action application=”bridge” data=”sofia/internal/${destination_number}@[IP address of your SPA3102]:5061″ /> </condition> </extension> </include> 2. Edited conf/directory/default/1000.xml to remove the two CID-related lines: <variable name=”effective_caller_id_name” value=”Extension 1001″/> <variable name=”effective_caller_id_number” value=”1001″/> I just called my cellphone using a handset connected to the Linksys FXS port, and when I hang up the cellphone, I can hear the busy signal so it looks like the Linksys and/or Freeswitch does detect the hangup signal correctly, and the issue is specific to Freeswitch/XLite. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Linksys-3102-Couple-of-issues-... Sent from the freeswitch-users mailing list archive at Nabble.com.
On Fri, Oct 22, 2010 at 7:55 AM, GillesToo <codecomplete@free.fr> wrote:
Thanks for the help.
I use the default settings as provided in the binary for Windows (1.0.4). XLite uses extension 1001, and the Linksys uses extension 1000.
1.0.4 is old and crusty. Literally hundreds of bugs have been fixed since then. I would update to latest. You have a few choices: get MSVCEE (or MS Visual Studio) and compile it yourself or wait for Jeff Lenk (irc: jlenk) to get the weekly Windows binaries uploaded to the files site. (This is happening within a week or two I think.) 1.0.4 had some serious issues IIRC so don't spend much more time banging your head. -MC
For anyone that's interested, I just built the FreeSwitch binaries for Windows using the latest git tree (as of now that is). Happy VoIPing! http://www.megaupload.com/?d=TW9O0HOD On Fri, Oct 22, 2010 at 10:43 AM, Michael Collins <msc@freeswitch.org> wrote:
On Fri, Oct 22, 2010 at 7:55 AM, GillesToo <codecomplete@free.fr> wrote:
Thanks for the help.
I use the default settings as provided in the binary for Windows (1.0.4). XLite uses extension 1001, and the Linksys uses extension 1000.
1.0.4 is old and crusty. Literally hundreds of bugs have been fixed since then. I would update to latest. You have a few choices: get MSVCEE (or MS Visual Studio) and compile it yourself or wait for Jeff Lenk (irc: jlenk) to get the weekly Windows binaries uploaded to the files site. (This is happening within a week or two I think.)
1.0.4 had some serious issues IIRC so don't spend much more time banging your head. -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
Thanks Jeffrey, but the download from MegaUpload got stuck halfway through, and when I tried downloading it again, it said "The file you are trying to access is temporarily unavailable." Would it be possible to upload it to a non-limited, temporary server, or in the Freeswitch server to replace the old 1.0.4 version there? http://files.freeswitch.org/windows_installer/ Thank you. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Linksys-3102-Couple-of-issues-... Sent from the freeswitch-users mailing list archive at Nabble.com.
After waiting a few minutes and giving it another shot, the download went OK and I could install this latest version on an XP test host. However, after connecting to it from a remote XP host with XLite and dialing 9999 to check the music on hold feature, I get the error message "The person you are trying to call is unavailable". Here's what the console says: ========= freeswitch@msi-test> 2010-10-23 16:02:15.125000 [NOTICE] switch_channel.c:784 Ne w Channel sofia/internal/1001@192.168.0.7 [d4882f69-f096-4626-aa44-d2d7e63657bd] 2010-10-23 16:02:15.281250 [INFO] mod_dialplan_xml.c:331 Processing Frees witch <1001>->9999 in context default 2010-10-23 16:02:15.312500 [NOTICE] switch_ivr.c:1507 Transfer sofia/internal/10 01@192.168.0.7 to enum[9999@default] 2010-10-23 16:02:15.390625 [INFO] switch_core_state_machine.c:142 No Route, Abor ting 2010-10-23 16:02:15.390625 [NOTICE] switch_core_state_machine.c:143 Hangup sofia /internal/1001@192.168.0.7 [CS_ROUTING] [NO_ROUTE_DESTINATION] 2010-10-23 16:02:15.500000 [NOTICE] switch_core_session.c:1242 Session 6 (sofia/ internal/1001@192.168.0.7) Ended 2010-10-23 16:02:15.500000 [NOTICE] switch_core_session.c:1244 Close Channel sof ia/internal/1001@192.168.0.7 [CS_DESTROY] ========= If this binary was built from the latest SVN code, could the source code be in an unstable state? If that's the case, would it be possible to recompile the code from a stable 1.0.6 source, so I can give it another shot and see if the original XLite problem went away? Thank you. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Linksys-3102-Couple-of-issues-... Sent from the freeswitch-users mailing list archive at Nabble.com.
You should take the wiki and read it all, echo extension is not 9999 anymore, get started here: http://wiki.freeswitch.org/wiki/Getting_Started_Guide#Some_common_extensions... Have fun :) On Sat, Oct 23, 2010 at 8:06 AM, GillesToo <codecomplete@free.fr> wrote:
After waiting a few minutes and giving it another shot, the download went OK and I could install this latest version on an XP test host.
However, after connecting to it from a remote XP host with XLite and dialing 9999 to check the music on hold feature, I get the error message "The person you are trying to call is unavailable".
Here's what the console says: ========= freeswitch@msi-test> 2010-10-23 16:02:15.125000 [NOTICE] switch_channel.c:784 Ne w Channel sofia/internal/1001@192.168.0.7 [d4882f69-f096-4626-aa44-d2d7e63657bd]
2010-10-23 16:02:15.281250 [INFO] mod_dialplan_xml.c:331 Processing Frees witch <1001>->9999 in context default 2010-10-23 16:02:15.312500 [NOTICE] switch_ivr.c:1507 Transfer sofia/internal/10 01@192.168.0.7 to enum[9999@default] 2010-10-23 16:02:15.390625 [INFO] switch_core_state_machine.c:142 No Route, Abor ting 2010-10-23 16:02:15.390625 [NOTICE] switch_core_state_machine.c:143 Hangup sofia /internal/1001@192.168.0.7 [CS_ROUTING] [NO_ROUTE_DESTINATION] 2010-10-23 16:02:15.500000 [NOTICE] switch_core_session.c:1242 Session 6 (sofia/ internal/1001@192.168.0.7) Ended 2010-10-23 16:02:15.500000 [NOTICE] switch_core_session.c:1244 Close Channel sof ia/internal/1001@192.168.0.7 [CS_DESTROY] =========
If this binary was built from the latest SVN code, could the source code be in an unstable state? If that's the case, would it be possible to recompile the code from a stable 1.0.6 source, so I can give it another shot and see if the original XLite problem went away?
Thank you. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Linksys-3102-Couple-of-issues-... Sent from the freeswitch-users mailing list archive at Nabble.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
Milena-2-2 wrote:
echo extension is not 9999 anymore
Thanks, problem solved. I didn't know the extensions changed in 1.0.6. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Linksys-3102-Couple-of-issues-... Sent from the freeswitch-users mailing list archive at Nabble.com.
Well, actually, while the extension issue is solved... the original issue isn't: After configuring the 3102 to act as gateway to the POTS, when running XLite to call my cellphone, XLite says "Call established" although the 3102 is still dialing and I haven't picked up the call yet. Does someone know if this is an issue in XLite proper, or some setting in Freeswitch? Thank you. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Linksys-3102-Couple-of-issues-... Sent from the freeswitch-users mailing list archive at Nabble.com.
This is a "problem" with analog gateways in general. The 3102 has no way to distinguish between early media (ringing) and call established. So it just skips the whole early media stage. On Sun, Oct 24, 2010 at 11:45 AM, GillesToo <codecomplete@free.fr> wrote:
Well, actually, while the extension issue is solved... the original issue isn't: After configuring the 3102 to act as gateway to the POTS, when running XLite to call my cellphone, XLite says "Call established" although the 3102 is still dialing and I haven't picked up the call yet.
Does someone know if this is an issue in XLite proper, or some setting in Freeswitch?
Thank you. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Linksys-3102-Couple-of-issues-... Sent from the freeswitch-users mailing list archive at Nabble.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
-- -Rupa
Rupa Schomaker wrote:
This is a "problem" with analog gateways in general. The 3102 has no way to distinguish between early media (ringing) and call established. So it just skips the whole early media stage.
Thanks Rupa. I'll see if XLite can be tweaked into displaying a different string while it's waiting for a call to be actually connected. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Linksys-3102-Couple-of-issues-... Sent from the freeswitch-users mailing list archive at Nabble.com.
On 10/23/2010 03:06 PM, GillesToo wrote: [snip]
If this binary was built from the latest SVN code, could the source code be in an unstable state? If that's the case, would it be possible to recompile the code from a stable 1.0.6 source
Latest git (not svn) has better stability and zillions of bugfixes compared to 1.0.6. The general recommendation is to use latest git. I'm not an expert but your problem seems related to "2010-10-23 16:02:15.390625 [INFO] switch_core_state_machine.c:142 No Route, Aborting" and going through enum. Seems something can not be reached. Regards, Patrick
git code definitely has more bug fixes that the 1.0.6 code. However the only feature I never managed to get working is mod_dingaling with TLS support - apparently that's broken under Windows for some reason. dingaling *with* TLS support is needed to interface FS with Google Voice. On Sat, Oct 23, 2010 at 6:27 AM, Patrick Lists <freeswitch-list@puzzled.xs4all.nl> wrote:
On 10/23/2010 03:06 PM, GillesToo wrote: [snip]
If this binary was built from the latest SVN code, could the source code be in an unstable state? If that's the case, would it be possible to recompile the code from a stable 1.0.6 source
Latest git (not svn) has better stability and zillions of bugfixes compared to 1.0.6. The general recommendation is to use latest git.
I'm not an expert but your problem seems related to "2010-10-23 16:02:15.390625 [INFO] switch_core_state_machine.c:142 No Route, Aborting" and going through enum. Seems something can not be reached.
Regards, Patrick
_______________________________________________ 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
mod_dingaling does not have tls support under windows at this time. This is an artifact of not having support for gnutls under windows in the project - patches welcome. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Linksys-3102-Couple-of-issues-... Sent from the freeswitch-users mailing list archive at Nabble.com.
For some people who are complaining about MU, I rebuilt the git sources again today. This time it's in a 7-Zip SFX archive http://mysites.bcit.ca/A00780375/FreeSwitch_git_20101023.exe This file can disappear anytime soon. I'm giving this a month or until my school gets angry at me for hosting this file. On Sat, Oct 23, 2010 at 9:00 AM, Jeff Lenk <jeff@jefflenk.com> wrote:
mod_dingaling does not have tls support under windows at this time. This is an artifact of not having support for gnutls under windows in the project - patches welcome. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Linksys-3102-Couple-of-issues-... Sent from the freeswitch-users mailing list archive at Nabble.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
participants (8)
-
Ghulam Mustafa
-
GillesToo
-
Jeff Lenk
-
Jeffrey Leung
-
Michael Collins
-
Milena
-
Patrick Lists
-
Rupa Schomaker