Re: [Freeswitch-users] Getting started
-------- Оригинално писмо -------- От: Brian West <brian.west@mac.com> Относно: Re: [Freeswitch-users] Getting started До: freeswitch-users@lists.freeswitch.org Изпратено на: Събота, 2007, Декември 29 21:52:10 EET ----------------------------------
So can you paste me the error you received exactly how it was on the console and show me your directory.xml
/b
On Dec 29, 2007, at 7:27 AM, Hristo Benev wrote:
Hi,
I've successfully build and installed FreeSWITCH (from SVN) on CentOS 5 Xen DomU, but having problems registering users to it. CLI says there is no such user. I've followed Wiki instructions and there is mentioned to edit freeswitch.xml to add ip of the server ,but my xml file has different layout and I'm little bit confused.
Can somebody give me hints, please?
Thank you,
P.S. I'm advanced user of Linux and medium in VoIP (mostly *)
_______________________________________________ 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
Sorry it seems to be from the softphone (ekiga) Just for test I've downloaded Xten Lite and I was able to connect. --------------------------------------------------------------------- 2007-12-29 16:45:26 [DEBUG] sofia_reg.c:466 sofia_reg_handle_register() Requesting Registration from: [1000@10.123.0.101] 2007-12-29 16:45:26 [DEBUG] sofia_reg.c:521 sofia_reg_handle_register() Register: From: [1000@10.123.0.101] Contact: ["1000" <sip:1000@10.123.0.11:5060>] Expires: [1800] --------------------------------------------------------------------- Here is the output when I use ekiga --------------------------------------------------------------------- 2007-12-29 16:47:14 [DEBUG] sofia_reg.c:466 sofia_reg_handle_register() Requesting Registration from: [1000@10.123.0.101] 2007-12-29 16:47:35 [DEBUG] sofia_reg.c:466 sofia_reg_handle_register() Requesting Registration from: [1000@10.123.0.101] 2007-12-29 16:47:35 [ERR] sofia_reg.c:815 sofia_reg_parse_auth() Invalid Authorization header! 2007-12-29 16:47:35 [DEBUG] sofia_reg.c:453 sofia_reg_handle_register() send challange for [1000@10.123.0.101] ---------------------------------------------------------------------- Ekiga settings: Account settings: Registar: 10.123.0.101 User: 1000 Password: Default one Authentication login: 1000 Realm/Domain: 10.123.0.101 Registration timeout: 3600 Sip Settings: outbound proxy: 10.123.0.101 Forward URL: sip: Xten Settings: SIP proxy: Display name: 1000 Username: 1000 Authorization user: 1000 Password: Default one Realm/Domain: 10.123.0.101 SIP proxy: 10.123.0.101 Out bound proxy: 10.123.0.101 Here is my directory.xml ----------------------------------------------------------------------------------------- <include> <!--the domain or ip (the right hand side of the @ in the addr--> <domain name="$${domain}"> <params> <param name="dial-string" value="{transfer_fallback_extension=${dialed_user}}sofia/${dialed_domain}/${dialed_user}"/> </params> <variables> <variable name="record_stereo" value="true"/> </variables> <X-PRE-PROCESS cmd="include" data="default/*.xml"/> </domain> </include> ----------------------------------------------------------------------------------------- Actually I did not touch anything from configuration. Where I can find configuration tutorial? Will it be possible to run FreeSwitch in virtual machine (Virtuozo)? The problem is that I cannot load any kernel modules and that's why * is not an option. http://www.trixswitch.org/ is not available for me -> maybe temporary, but does somebody know if it will come back? Thank you
This leads me to think it can't figure out the domain or its not what we think it should be. Open up vars.xml and check to see what the domain is set to.. It should be the IP of your machine or ${local_ip_v4} otherwise hard code it to the ip you're registering with. /b On Dec 29, 2007, at 4:09 PM, Hristo Benev wrote:
-------- Оригинално писмо -------- От: Brian West <brian.west@mac.com> Относно: Re: [Freeswitch-users] Getting started До: freeswitch-users@lists.freeswitch.org Изпратено на: Събота, 2007, Декември 29 21:52:10 EET ----------------------------------
So can you paste me the error you received exactly how it was on the console and show me your directory.xml
/b
On Dec 29, 2007, at 7:27 AM, Hristo Benev wrote:
Hi,
I've successfully build and installed FreeSWITCH (from SVN) on CentOS 5 Xen DomU, but having problems registering users to it. CLI says there is no such user. I've followed Wiki instructions and there is mentioned to edit freeswitch.xml to add ip of the server ,but my xml file has different layout and I'm little bit confused.
Can somebody give me hints, please?
Thank you,
P.S. I'm advanced user of Linux and medium in VoIP (mostly *)
_______________________________________________ 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
Sorry it seems to be from the softphone (ekiga)
Just for test I've downloaded Xten Lite and I was able to connect. --------------------------------------------------------------------- 2007-12-29 16:45:26 [DEBUG] sofia_reg.c:466 sofia_reg_handle_register() Requesting Registration from: [1000@10.123.0.101 ] 2007-12-29 16:45:26 [DEBUG] sofia_reg.c:521 sofia_reg_handle_register() Register: From: [1000@10.123.0.101] Contact: ["1000" <sip:1000@10.123.0.11:5060>] Expires: [1800] --------------------------------------------------------------------- Here is the output when I use ekiga --------------------------------------------------------------------- 2007-12-29 16:47:14 [DEBUG] sofia_reg.c:466 sofia_reg_handle_register() Requesting Registration from: [1000@10.123.0.101 ] 2007-12-29 16:47:35 [DEBUG] sofia_reg.c:466 sofia_reg_handle_register() Requesting Registration from: [1000@10.123.0.101 ] 2007-12-29 16:47:35 [ERR] sofia_reg.c:815 sofia_reg_parse_auth() Invalid Authorization header! 2007-12-29 16:47:35 [DEBUG] sofia_reg.c:453 sofia_reg_handle_register() send challange for [1000@10.123.0.101] ---------------------------------------------------------------------- Ekiga settings: Account settings:
Registar: 10.123.0.101 User: 1000 Password: Default one Authentication login: 1000 Realm/Domain: 10.123.0.101 Registration timeout: 3600
Sip Settings:
outbound proxy: 10.123.0.101 Forward URL: sip:
Xten Settings:
SIP proxy: Display name: 1000 Username: 1000 Authorization user: 1000 Password: Default one Realm/Domain: 10.123.0.101 SIP proxy: 10.123.0.101 Out bound proxy: 10.123.0.101
Here is my directory.xml ----------------------------------------------------------------------------------------- <include> <!--the domain or ip (the right hand side of the @ in the addr--> <domain name="$${domain}"> <params> <param name="dial-string" value="{transfer_fallback_extension=$ {dialed_user}}sofia/${dialed_domain}/${dialed_user}"/> </params>
<variables> <variable name="record_stereo" value="true"/> </variables>
<X-PRE-PROCESS cmd="include" data="default/*.xml"/> </domain> </include> -----------------------------------------------------------------------------------------
Actually I did not touch anything from configuration.
Where I can find configuration tutorial?
Will it be possible to run FreeSwitch in virtual machine (Virtuozo)?
The problem is that I cannot load any kernel modules and that's why * is not an option.
http://www.trixswitch.org/ is not available for me -> maybe temporary, but does somebody know if it will come back?
Thank you
_______________________________________________ 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
Hi - Been doing some TTS. mod_cepstral adds a 1 second pause before and after each utterance: if ((to_say = switch_mprintf("<break time=\"1000ms\"/> %s <break time=\"1000ms\"/>", text))) which I'd suggest ought to go - if I want to add pauses, I can do so myself, and 2 seconds between successive utterances is a lot. There's another bit of weirdness which I've not yet tracked down - I'm talking to FS over a socket, and something seems to be stripping 's out - e.g. "speak", "cepstral|$voice|<prosody rate=\"fast\"> hello </prosody>" does what's expected, but "speak", "cepstral|$voice|<prosody rate='fast'> hello </prosody>" loses the 's somewhere down the line, and Cepstral gets a bit confused. --Dave
Hi, maybe I'm mistaking, so if I am correct me, but ain't the " special character in C? (in printf, etc) That's why you have to put \ before it so that the compiler knows it's a acctually a char you wan't to be outputed. J.
Hi -
Been doing some TTS. mod_cepstral adds a 1 second pause before and after each utterance:
if ((to_say = switch_mprintf("<break time=\"1000ms\"/> %s <break time=\"1000ms\"/>", text)))
which I'd suggest ought to go - if I want to add pauses, I can do so myself, and 2 seconds between successive utterances is a lot.
There's another bit of weirdness which I've not yet tracked down - I'm talking to FS over a socket, and something seems to be stripping 's out - e.g. "speak", "cepstral|$voice|<prosody rate=\"fast\"> hello </prosody>" does what's expected, but "speak", "cepstral|$voice|<prosody rate='fast'> hello </prosody>" loses the 's somewhere down the line, and Cepstral gets a bit confused.
--Dave
_______________________________________________ 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
Srdacan pozdrav, Josip Djuricic CTO PRIMATEL d.o.o. Phone: +385 1 400 19 02 Mobile: +385 99 311 64 06 E-mail: josip.djuricic@primatel.hr www: http://www.primatel.hr
Hi Josip, Yep, that's right, but (a) I'm using Perl, not C, and (b) the strings being sent over the socket to FreeSWITCH are correct. If I send <prosody rate='fast'> hello </prosody> down the socket, Cepstral gets given <prosody rate=fast> hello </prosody> to speak, and gets confused. If I send <prosody rate="fast"> hello </prosody>, then it gets what I sent and works fine. switch_separate_string (in src/switch_utils.c) is the culprit - it strips out 's. It's called from 202 places, according to a quick grep, so I'm kind of loath just to change its behaviour to do what I want... --Dave
Hi,
maybe I'm mistaking, so if I am correct me, but ain't the " special character in C? (in printf, etc)
That's why you have to put \ before it so that the compiler knows it's a acctually a char you wan't to be outputed.
J.
Hi -
Been doing some TTS. mod_cepstral adds a 1 second pause before and after each utterance:
if ((to_say = switch_mprintf("<break time=\"1000ms\"/> %s <break time=\"1000ms\"/>", text)))
which I'd suggest ought to go - if I want to add pauses, I can do so myself, and 2 seconds between successive utterances is a lot.
There's another bit of weirdness which I've not yet tracked down - I'm talking to FS over a socket, and something seems to be stripping 's out - e.g. "speak", "cepstral|$voice|<prosody rate=\"fast\"> hello </prosody>" does what's expected, but "speak", "cepstral|$voice|<prosody rate='fast'> hello </prosody>" loses the 's somewhere down the line, and Cepstral gets a bit confused.
--Dave
_______________________________________________ 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
Srdacan pozdrav,
Josip Djuricic CTO
PRIMATEL d.o.o. Phone: +385 1 400 19 02 Mobile: +385 99 311 64 06 E-mail: josip.djuricic@primatel.hr www: http://www.primatel.hr
_______________________________________________ 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
-- David Knell, Director, 3C Limited T: 020 8114 8901 F: 020 8692 0677 M: 07773 800623 http://www.3c.co.uk
participants (4)
-
Brian West
-
David Knell
-
Hristo Benev
-
Josip Djuricic