[Freeswitch-users] How can I detect an execute failure using ESL?
When I try and perform an operation on a channel which has gone, an error is returned. How can I detect this using the ESL? execute() and sendRecv() always return 0 (zero) regardless of whether the command returns +OK or -ERR. sendmsg 5d09753c-ede7-11de-85c6-27ab474dd533 call-command: execute execute-app-name: hangup execute-app-arg: UNALLOCATED_NUMBER Content-Type: command/reply Reply-Text: -ERR invalid session id [5d09753c-ede7-11de-85c6-27ab474dd533] Thanks, Ron ___ 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
Re: [Freeswitch-users] No Ringing tone when call is forwarded to PSTN
I just crosschecked the dialplan which is used. We do not anwer the call, we bridge it directly to a PSTN destination. However the Ringing event is not passed to PSTN(A): PSTN(A)INVITE===FS PSTN(A)===TRYING===FS FS===INVITE==PSTN(B) FS==TRYING===PSTN(B) FS==RINGING==PSTN(B) PSTN(A)==PROGRESS===FS FS===OK==PSTN(B) FSACKPSTN(B) PSTN(A)===OKFS PSTN(A)ACK==FS But then I stumbled over the following SOFIA LOOPBACK entry in the logs: 2009-12-21 12:47:00.404145 [DEBUG] switch_core_state_machine.c:351 (sofia/external/06322xxx...@10.11.12.15) State XCHANGE_MEDIA 2009-12-21 12:47:00.404145 [DEBUG] mod_sofia.c:469 SOFIA LOOPBACK 2009-12-21 12:47:00.404145 [DEBUG] sofia.c:3669 Channel sofia/external/0171...@10.11.12.15:5060 skipping state [early][183] So I modified the dialplan to temporarily use another Patton GW for outgoing calls, et voilà, I receive a ringing tone at PSTN(A). So I think this is because Freeswitch thinks this is a loopback, because incoming and outgoing gateway is the same. But I due to other restrictions we need the call to pass through the same Patton Gateway to PSTN(B) as we received it from PSTN(A). Is there a chance to tell Freeswitch to not consider this call as a loopback scenario? Best regards Peter Brian West schrieb: That depends if the call is answered and then you transfer it, you will HAVE to set the transfer_ringback variable you can't send a 180 to the thing or a progress and make it generate the ringback. You MUST do it yourself. You also fail to mention if the progress is a 180 or a 183 with sdp and media... or even better a 180 with sdp and media (silly sip people what were you thinking) either way... set the transfer_ringback variable. /b On Dec 18, 2009, at 4:00 AM, Peter P GMX wrote: Should I open a JIRA for this? Best regards Peter ___ 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
Re: [Freeswitch-users] No audio after Remote SDP:
Can you get me siptraces please. /b On Dec 20, 2009, at 5:54 PM, Mark Campbell-Smith wrote: Thanks Brian and Gad, I have stun set and if I do a 'sofia status profile internal', I see the external IP address of the 3102 ATA, so I assume that stun is working correctly on the SPA3102. These are the options that I have set (according to the 3102 manual). • Handle VIA received: yes • Handle VIA rport: yes • Insert VIA received: yes • Insert VIA rport: yes • Substitute VIA Addr: yes • Send Resp To Src Port: yes • STUN Enable: Choose yes. • STUN Server: stun.freeswitch.org I assume that is all is needed? ___ 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
Re: [Freeswitch-users] Mod nibblebill deduct money but no hangup at zero and can call without money in database
I have changed the changed the dialplan little bit (thank to the people at IRC #freeswitch) as follows. extension name=Omega_Out condition field=caller_id_number expression=^(\d{4})$/ condition field=destination_number expression=^(\d{11})$ !--action application=set data=nibble_rate=0.0448/-- !--action application=set data=nibble_account=${accountcode}/-- action application=set data=proxy_media=true/ action application=bridge data={enable_heartbeat_events=5,nibble_rate=1,nibble_account=${accountcode},absolute_codec_string=g723}sofia/gateway/OMEGA/5544$1/ /condition /extension Here I don't understand enable_heartbeat_events=5. It may be the heartbeat rate. Also I am getting this error in FS cli 2009-12-21 00:37:14.886242 [ERR] sofia_glue.c:2710 AUDIO RTP REPORTS ERROR: [Missing local host] On Tue, Dec 22, 2009 at 12:12 AM, jay binks [via freeswitch-users] ml-node+4198003-749560...@n2.nabble.com wrote: what did you have to change, to get this working ? Jay On Mon, Dec 21, 2009 at 4:08 PM, Amarakeerthi S [hidden email] wrote: Hi, I got it working. Can somebody explain me this error: 2009-12-21 00:37:14.886242 [ERR] sofia_glue.c:2710 AUDIO RTP REPORTS ERROR: [Missing local host]. Also I am confused about heartbeat rate. Is enable_heartbeat_events=5 setting the heartbeat to 5? Thank you in advance, Amarakeerthi S wrote: Dear Sir, I have successfully installed freeSWITCH and it works fine in passthrough mode. I installed nibblebill and it deduct money from the accounts database and it works fine. but I have two problems. 1. Calls can be initiated even though there is a minus value in accounts database 2. Calls doesn't hangup when it goes to minus values. Any answers are greatly appreciated. This is my dialplan: action application=nibblebill data=flush/ extension name=hangup condition field=destination_number expression=^(hangup)$ action application=playback data=no_more_funds.wav/ action application=hangup/ /condition /extension extension name=Omega_Out condition field=caller_id_number expression=^(\d{4})$/ condition field=destination_number expression=^(\d{11})$ action application=set data=nibble_rate=0.0448/ action application=set data=nibble_account=${accountcode}/ action application=set data=bypass_media=true/ action application=bridge data={absolute_codec_string=g729}sofia/gateway/OMEGA/5544$1/ /condition /extension This is the configuration file; configuration name=nibblebill.conf description=Nibble Billing settings !-- See http://wiki.freeswitch.org/index.php?title=Mod_nibblebill for help with these options -- !-- Information for connecting to your database -- !-- The database table where your CASH column is located -- !-- The column name where we store the value of the account -- !-- The column name for the unique ID identifying the account -- !-- Default heartbeat interval. Set to 'off' for no heartbeat (i.e. bill only at end of call) -- !-- By default, warn a caller when their balance is at $5.00. You can set this to a negative number. -- !-- By default, terminate a caller when their balance hits $0.00. You can set this to a negative number. -- !-- If a call goes beyond a certain dollar amount, flag or terminate it -- /settings /configuration ___ FreeSWITCH-users mailing list [hidden email] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- View this message in context: http://n2.nabble.com/Mod-nibblebill-deduct-money-but-no-hangup-at-zero-and-can-call-without-money-in-database-tp4174333p4197038.html Sent from the freeswitch-users mailing list archive at Nabble.com. ___ FreeSWITCH-users mailing list [hidden email] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Sincerely Jay ___ FreeSWITCH-users mailing list [hidden email] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org View message @ http://n2.nabble.com/Mod-nibblebill-deduct-money-but-no-hangup-at-zero-and-can-call-without-money-in-database-tp4174333p4198003.html To unsubscribe from Re: Mod nibblebill deduct money but no hangup at zero and can call without money in database, click here. -- View this message in context:
Re: [Freeswitch-users] Difference between ESL execute() andexecuteAsync()
if you run the socket in async mode, every call to execute is async if you don't specify async in the socket app in FS all calls are synchronous but you can send async calls with te asyncExecute On Sat, Dec 19, 2009 at 9:16 PM, Ron McLeod ron.freeswi...@mcleodnet.comwrote: Here's the ES network trace: Content-Length: 1502 Content-Type: text/event-plain Event-Name: CHANNEL_STATE Core-UUID: bb9ea62a-ed02-11de-91b1-8b7cb185f66f FreeSWITCH-Hostname: ron-laptop FreeSWITCH-IPv4: 192.168.100.132 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2009-12-19%2019%3A12%3A09 Event-Date-GMT: Sun,%2020%20Dec%202009%2003%3A12%3A09%20GMT Event-Date-Timestamp: 1261278729767397 Event-Calling-File: switch_channel.c Event-Calling-Function: switch_channel_perform_set_running_state Event-Calling-Line-Number: 1024 Channel-State: CS_ROUTING Channel-State-Number: 2 Channel-Name: sofia/internal/699%40192.168.100.132 Unique-ID: 76021ab2-ed15-11de-91b1-8b7cb185f66f Call-Direction: inbound Presence-Call-Direction: inbound Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Caller-Username: 699 Caller-Dialplan: XML Caller-Caller-ID-Name: Ron%20Soft%20Phone Caller-Caller-ID-Number: 699 Caller-Network-Addr: 192.168.100.3 Caller-Destination-Number: 444 Caller-Unique-ID: 76021ab2-ed15-11de-91b1-8b7cb185f66f Caller-Source: mod_sofia Caller-Context: mytest Caller-Channel-Name: sofia/internal/699%40192.168.100.132 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1261278729764077 Caller-Channel-Created-Time: 1261278729764077 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false sendmsg 76021ab2-ed15-11de-91b1-8b7cb185f66f call-command: execute execute-app-name: answer execute-app-arg: Content-Type: command/reply Reply-Text: +OK sendmsg 76021ab2-ed15-11de-91b1-8b7cb185f66f call-command: execute execute-app-name: playback execute-app-arg: /tmp/ann.wav Content-Type: command/reply Reply-Text: +OK -Original Message- From: freeswitch-users-boun...@lists.freeswitch.org [mailto:freeswitch- users-boun...@lists.freeswitch.org] On Behalf Of Ron McLeod Sent: Saturday, December 19, 2009 5:30 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Difference between ESL execute() andexecuteAsync() I don't notice any different in behavior between execute() and executeAsync(). I was expecting that executeAsync() would return right-away, and that execute() would only return after the specified application runs to completion (CHANNEL_EXECUTE_COMPLETE event). Running the sample app below, I see the About to call execute(playback) and returned displayed one right-after the other, even though the file being played takes about 4 minutes to play-out. Do I have this wrong, or is there something incorrect in my app? APP: #!/usr/bin/php ?php require_once ESL.php; $eventSocket = New ESLconnection('192.168.100.132', '8021', 'ClueCon'); $eventSocket-events('plain', 'CHANNEL_STATE'); $eventSocket-filter('channel-state', 'CS_ROUTING'); // Wait for new call attempts while($eventSocket-connected()){ $event = $eventSocket-recvEvent(); $serializedBody = $event-serialize(); $listOfLines = toArrayOfLines($serializedBody); $nameValuePairs = toArrayOfNameValuePairs($listOfLines); $uuid = $nameValuePairs['Caller-Unique-ID']; printf(New call from uuid: $uuid\n); // answer the caller and play announcement $eventSocket-execute('answer', Null ,$uuid); printf(About to call execute(playback)\n); $eventSocket-execute('playback', '/tmp/ann.wav', $uuid); printf(returned\n); } ? DIALPLAN: ?xml version=1.0 encoding=utf-8? include context name=mytest extension name=mytest condition field=destination_number expression=^.*$ action application=park/ /condition /extension /context /include ___ 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 -- This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon
Re: [Freeswitch-users] [ANN] Spice Telephony 0.9.5 released (FS based callcenter)
On Sun, Dec 20, 2009 at 11:03:46PM -0800, ram wrote: Hi its good to hear any compare document between Vicidial and this project No document, but briefly: * More focused on inbound than on outbound (at least for the moment) vicidial is more geared for outbound. * Handles email in queue (and soon chat), vicidial is only voice. * wrapup time is per-call not static per-'campaign' * license is a little more liberal * can operate as a distributed system * doesn't need asterisk ;) Andrew ___ 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] mod_xml_curl and gateways
I wonder if it is possible to define common gateways (not user specific gateways) by xml_curl, and if so, the bindings and syntax to use? All the best /Jon ___ 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
Re: [Freeswitch-users] mod_xml_curl and gateways
Hi, All gateways are common, putting them in a user only serves the purpose of grouping related information together in the XML files. This said, you can bind to the configuration section and return those gateways as part of the sip profile's xml data. Cheers, Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mr...@avgs.ca On 21-Dec-09, at 11:13 AM, Jon Bruel wrote: I wonder if it is possible to define common gateways (not user specific gateways) by xml_curl, and if so, the bindings and syntax to use? All the best /Jon ___ 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
Re: [Freeswitch-users] How can I detect an execute failure using ESL?
the latest version returns an event with that data in it similar to the api method. On Mon, Dec 21, 2009 at 2:48 AM, Ron McLeod ron.freeswi...@mcleodnet.comwrote: When I try and perform an operation on a channel which has gone, an error is returned. How can I detect this using the ESL? execute() and sendRecv() always return 0 (zero) regardless of whether the command returns *+OK* or *–ERR*. sendmsg 5d09753c-ede7-11de-85c6-27ab474dd533 call-command: execute execute-app-name: hangup execute-app-arg: UNALLOCATED_NUMBER Content-Type: command/reply *Reply-Text: -ERR invalid session id [5d09753c-ede7-11de-85c6-27ab474dd533]* Thanks, Ron ___ 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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org iax:gu...@conference.freeswitch.org/888 googletalk:conf+...@conference.freeswitch.orggoogletalk%3aconf%2b...@conference.freeswitch.org pstn:+19193869900 ___ 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
Re: [Freeswitch-users] mod_xml_curl and gateways
same exact syntax only put the gateways in the sofia profile On Mon, Dec 21, 2009 at 10:13 AM, Jon Bruel j...@consiglia.dk wrote: I wonder if it is possible to define common gateways (not user specific gateways) by xml_curl, and if so, the bindings and syntax to use? All the best /Jon ___ 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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org iax:gu...@conference.freeswitch.org/888 googletalk:conf+...@conference.freeswitch.orggoogletalk%3aconf%2b...@conference.freeswitch.org pstn:+19193869900 ___ 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
Re: [Freeswitch-users] Authenticating end points by IP
I recently added an overview to this wiki page to help make things more clear as to which ACL you need for different purposes. http://wiki.freeswitch.org/wiki/ACL#Overview Thanks, Bill W. Mathieu Rene wrote: Check out: http://wiki.freeswitch.org/wiki/ACL#Users It'll automatically add users with a cidr= attribute to the ACL list. This way you can set channel variables in the users and use them through your dialplan, all authenticated by ip address. Cheers, Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mr...@avgs.ca mailto:mr...@avgs.ca ___ 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
Re: [Freeswitch-users] [ANN] Spice Telephony 0.9.5 released (FS based callcenter)
On Mon, Dec 21, 2009 at 8:07 AM, Andrew Thompson and...@hijacked.us wrote: On Sun, Dec 20, 2009 at 11:03:46PM -0800, ram wrote: Hi its good to hear any compare document between Vicidial and this project No document, but briefly: * More focused on inbound than on outbound (at least for the moment) vicidial is more geared for outbound. * Handles email in queue (and soon chat), vicidial is only voice. * wrapup time is per-call not static per-'campaign' * license is a little more liberal * can operate as a distributed system * doesn't need asterisk ;) Now *that* is a feature worth paying for! ;) Also, I thought you had a community edition vs. a professional edition? If so could you explain the difference? -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
[Freeswitch-users] Skypiax: Skype account frozen
Hello, I noticed some guys had develop the Skype module while there is a policy from Skype(Ulimited call planso call FAP: ):Each subscription is to be used by one person only and is not to be shared with any other user (whether via a PBX, call centre, computer or any other means) , which means once you use Skype unlimited calls plan into PBX, Skype will frozen your account without any money return. That's a big risk for anybody to use Skype unlimited call plan. My question is how do we avoid such kind of risk? Thanks Daniel Zeng From: freeswitch-users-requ...@lists.freeswitch.org Subject: FreeSWITCH-users Digest, Vol 42, Issue 193 To: freeswitch-users@lists.freeswitch.org Date: Mon, 21 Dec 2009 08:21:08 -0800 Send FreeSWITCH-users mailing list submissions to freeswitch-users@lists.freeswitch.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freeswitch.org/mailman/listinfo/freeswitch-users or, via email, send a message with subject or body 'help' to freeswitch-users-requ...@lists.freeswitch.org You can reach the person managing the list at freeswitch-users-ow...@lists.freeswitch.org When replying, please edit your Subject line so it is more specific than Re: Contents of FreeSWITCH-users digest... --附转发的邮件-- From: anthony.miness...@gmail.com To: freeswitch-users@lists.freeswitch.org Date: Mon, 21 Dec 2009 09:42:30 -0600 Subject: Re: [Freeswitch-users] Difference between ESL execute() andexecuteAsync() if you run the socket in async mode, every call to execute is async if you don't specify async in the socket app in FS all calls are synchronous but you can send async calls with te asyncExecute On Sat, Dec 19, 2009 at 9:16 PM, Ron McLeod ron.freeswi...@mcleodnet.com wrote: Here's the ES network trace: Content-Length: 1502 Content-Type: text/event-plain Event-Name: CHANNEL_STATE Core-UUID: bb9ea62a-ed02-11de-91b1-8b7cb185f66f FreeSWITCH-Hostname: ron-laptop FreeSWITCH-IPv4: 192.168.100.132 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2009-12-19%2019%3A12%3A09 Event-Date-GMT: Sun,%2020%20Dec%202009%2003%3A12%3A09%20GMT Event-Date-Timestamp: 1261278729767397 Event-Calling-File: switch_channel.c Event-Calling-Function: switch_channel_perform_set_running_state Event-Calling-Line-Number: 1024 Channel-State: CS_ROUTING Channel-State-Number: 2 Channel-Name: sofia/internal/699%40192.168.100.132 Unique-ID: 76021ab2-ed15-11de-91b1-8b7cb185f66f Call-Direction: inbound Presence-Call-Direction: inbound Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Caller-Username: 699 Caller-Dialplan: XML Caller-Caller-ID-Name: Ron%20Soft%20Phone Caller-Caller-ID-Number: 699 Caller-Network-Addr: 192.168.100.3 Caller-Destination-Number: 444 Caller-Unique-ID: 76021ab2-ed15-11de-91b1-8b7cb185f66f Caller-Source: mod_sofia Caller-Context: mytest Caller-Channel-Name: sofia/internal/699%40192.168.100.132 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1261278729764077 Caller-Channel-Created-Time: 1261278729764077 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false sendmsg 76021ab2-ed15-11de-91b1-8b7cb185f66f call-command: execute execute-app-name: answer execute-app-arg: Content-Type: command/reply Reply-Text: +OK sendmsg 76021ab2-ed15-11de-91b1-8b7cb185f66f call-command: execute execute-app-name: playback execute-app-arg: /tmp/ann.wav Content-Type: command/reply Reply-Text: +OK -Original Message- From: freeswitch-users-boun...@lists.freeswitch.org [mailto:freeswitch- users-boun...@lists.freeswitch.org] On Behalf Of Ron McLeod Sent: Saturday, December 19, 2009 5:30 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Difference between ESL execute() andexecuteAsync() I don't notice any different in behavior between execute() and executeAsync(). I was expecting that executeAsync() would return right-away, and that execute() would only return after the specified application runs to completion (CHANNEL_EXECUTE_COMPLETE event). Running the sample app below, I see the About to call execute(playback) and returned displayed one right-after the other, even though the file being played takes about 4 minutes to play-out. Do I have this wrong, or is there something incorrect in my app? APP: #!/usr/bin/php ?php require_once ESL.php; $eventSocket = New ESLconnection('192.168.100.132', '8021', 'ClueCon'); $eventSocket-events('plain', 'CHANNEL_STATE'); $eventSocket-filter('channel-state', 'CS_ROUTING'); // Wait for new call attempts while($eventSocket-connected()){ $event =
Re: [Freeswitch-users] Skypiax: Skype account frozen
2009/12/21 大泥人 qinglan_z...@hotmail.com: Hello, I noticed some guys had develop the Skype module while there is a policy from Skype(Ulimited call planso call FAP: ):Each subscription is to be used by one person only and is not to be shared with any other user (whether via a PBX, call centre, computer or any other means) , which means once you use Skype unlimited calls plan into PBX, Skype will frozen your account without any money return. That's a big risk for anybody to use Skype unlimited call plan. My question is how do we avoid such kind of risk? Thanks Daniel Zeng the best answer is don't use skype. Itamar Reis Peixoto e-mail/msn/google talk/sip: ita...@ispbrasil.com.br skype: itamarjp icq: 81053601 +55 11 4063 5033 +55 34 3221 8599 ___ 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
Re: [Freeswitch-users] Skypiax: Skype account frozen
So says the man with his Skype username in his sig! :P /b On Dec 21, 2009, at 12:37 PM, Itamar Reis Peixoto wrote: the best answer is don't use skype. Itamar Reis Peixoto e-mail/msn/google talk/sip: ita...@ispbrasil.com.br skype: itamarjp icq: 81053601 +55 11 4063 5033 +55 34 3221 8599 ___ 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] sound rpms
So the spec from trunk says Soundfiles are moving into a separate spec but I can't find this spec anywhere in svn? Anyone know where it is? Thanks! jlc ___ 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
Re: [Freeswitch-users] sound rpms
Working on it, moving the repos around to do this right... http://jira.freeswitch.org/browse/FSBUILD-218 Mike On Dec 21, 2009, at 2:56 PM, Joseph L. Casale wrote: So the spec from trunk says “Soundfiles are moving into a separate spec” but I can’t find this spec anywhere in svn? Anyone know where it is? Thanks! jlc ___ 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
Re: [Freeswitch-users] sound rpms
Working on it, moving the repos around to do this right... http://jira.freeswitch.org/browse/FSBUILD-218 Mike Thanks, Is this known to not work with non root builds? It errored out after creating some messy hierarchies with the actual variable calls, instead of their values? Thanks! jlc ___ 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
Re: [Freeswitch-users] sound rpms
This is a total work in progress that has not even merged into tree. So it is not known to work or not work anywhere. Patches to correct issues are welcome. Mike On Dec 21, 2009, at 3:49 PM, Joseph L. Casale wrote: Working on it, moving the repos around to do this right... http://jira.freeswitch.org/browse/FSBUILD-218 Mike Thanks, Is this known to not work with non root builds? It errored out after creating some messy hierarchies with the actual variable calls, instead of their values? ___ 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
Re: [Freeswitch-users] sound rpms
Thanks, Is this known to not work with non root builds? It errored out after creating some messy hierarchies with the actual variable calls, instead of their values? Actually, I tried on a lab vm as root in the typical dirs. and got the same result: ... `./us/callie/time/48000/hours.wav' - `%{buildroot}/opt/freeswitch/sounds/en/us/callie/time/48000/hours.wav' `./us/callie/time/48000/oclock.wav' - `%{buildroot}/opt/freeswitch/sounds/en/us/callie/time/48000/oclock.wav' `./us/callie/time/48000/mon-6.wav' - `%{buildroot}/opt/freeswitch/sounds/en/us/callie/time/48000/mon-6.wav' error: Bad exit status from /var/tmp/rpm-tmp.19453 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.19453 (%install) ___ 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
Re: [Freeswitch-users] Building on Windows
Hi Mike, OK - have bitten the bullet and installed VS2008 Express over VS2005 ! Most of the warnings in the build have been cleared, I notice that the error in the build of mod_opal has gone with mod_opal not being in the preconfigured build list now and also that the number of warnings on VS2008 has reduced since I've been playing with this over the past few days and SVN versions. There does not seem to be anything major wrong, but as you requested, I have raised a Jira (FSBUILD-221) that you might care to take a look at please ? I attached a copy of the output from the build run and highlighted in bold in the RTF file the warnings that are generated. There are a host of warnings due to the use of /analyze which is appears not to be supported by the Express compiler. Most significant (though still trivial) are the warnings of some type conversion problems and some indirection errors. As I said, these don't seem to be too much of a problem, but you may care to take a look when you have time. One more thing, when I do subsequent builds, are there any pre-build steps that I need to take ? When I tried rebuilding previously, there seemed to be some directories that could not be overwritten (e.g., \libs\pthreads-w32--2-7-0-release) that were flagged as problems - do I just ignore these warnings or unprotect and/or delete the directories before rebuilding ? regards Dave - Original Message - From: Michael Jerris To: freeswitch-users@lists.freeswitch.org Sent: Thursday, December 17, 2009 6:14 PM Subject: Re: [Freeswitch-users] Building on Windows On Dec 17, 2009, at 12:15 PM, Andrew Thompson wrote: On Thu, Dec 17, 2009 at 05:02:10PM -, Dave Stevenson wrote: Hi, I'm probably going to regret this - I'm not sure that I'll be able to do this without a lot of pain (nothing to do with FS - more my lack of ability with Visual Studio), but.., I want to try building FreeSwitch from source rather than using the pre-built binaries. I have a couple of initial questions that, hopefully, someone can answer please ? 1. I only have Visual Studio 2005 and don't see an upgrade to 2008 on the horizon for me. Having downloaded the SVN, I see there is a VS 2005 Solution, but it is marked as Unsupported, although the Wiki says that you only need VC++2005. What does unsupported mean in this context ? I guess that support for VS2005 is being dropped, but is the VS2005 Solution still being maintained, and if so, for how long? I'd hate to get into the build thing and then find that I was stalled when VS2005 support was dropped altogether ? Install VS 2008 if at all possible (express edition is free). 2005 support isn't maintained much if at all, so a lot of newer modules stand a good chance of not having support. We maintain it as far as things that work now shouldn't break, but we rarely test it and only fix things when people supply patches or let me know there is a problem so I can address it. 2. The whole SVN thing is new to me but I've worked out that I need an SVN Client on Windows to work with the source. Can anyone recommend the best (free) SVN Client for Windows to use with FreeSwitch. I have installed TortoiseSVN - a Windows Explorer Shell that looks pretty and seemed to work on my first build but it's not command line based so some of the tips given in the Wiki like make current and make sounds may be more awkward to achieve. Is anyone else using Tortoise and/or can give some tips on which SVN client to use ? Tortoise SVN is fine and is probably the de-facto client for windows. make current and such are all for the unix build only, on the msvc (at least 2008) build they are all built right into the solution ] 3. I built 15979 last night (with VS2005) and got some warnings, with data type conversion - is this a known issue under Windows ? 2005 has slightly different warning settings than are even available in 2008 so I get these from time to time. If you open up a bug on jira.freeswitch.org for me with details I can try to get them corrected. 4. There was one fatal error in the build of mod_opal (missing file) (Some examples of the warnings and the error are shown below :-) Try with VS 2008 and see if they go away. I think this is due to missing dependencies. I don't think I had automation to download the right svn versions of opal. 5. How do I specify which options (e.g., mod_flite, to be included iin the build. You can enable the different sub projects somehow in the UI, I always forget exactly how but just click around in VS and you'll find it. You can adjust this in the configuration managaer 6. How do I build the sounds etc. ? The sounds are a subproject too IIRC. I think think might only be in the 2008 versions, I can't recall to be sure, but there are targets you
Re: [Freeswitch-users] [ANN] Spice Telephony 0.9.5 released (FS based callcenter)
On Mon, Dec 21, 2009 at 09:48:44AM -0800, Michael Collins wrote: On Mon, Dec 21, 2009 at 8:07 AM, Andrew Thompson and...@hijacked.us wrote: On Sun, Dec 20, 2009 at 11:03:46PM -0800, ram wrote: Hi its good to hear any compare document between Vicidial and this project No document, but briefly: * More focused on inbound than on outbound (at least for the moment) vicidial is more geared for outbound. * Handles email in queue (and soon chat), vicidial is only voice. * wrapup time is per-call not static per-'campaign' * license is a little more liberal * can operate as a distributed system * doesn't need asterisk ;) Now *that* is a feature worth paying for! ;) Also, I thought you had a community edition vs. a professional edition? If so could you explain the difference? I've managed to avoid that thus far, I suspect that something like an outbound campaign manager (which could be implemented as just another media type) might be something to fall under that sort of split, but right now the release includes everything we've got (including an integration module that's probably of limited use to anyone else - but its a good example of how to build your own). Andrew ___ 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
Re: [Freeswitch-users] Authenticating end points by IP
Bill, Thanks for your ACL Overview. Perhaps you can help me understand more clearly. If you include the local-network-acl and apply-inbound-acl params in the sip_profiles and setup the list for localnet.auto in acl.conf.xml, does this mean you do not have to include the cidr attribute for individual extensions in the directory/default folder? Is apply-inbound-acl supposed to exist in both internal and external profiles while apply-inbound-acl is only in the internal? Thanks, Lars -Original Message- From: freeswitch-users-boun...@lists.freeswitch.org [mailto:freeswitch-users- boun...@lists.freeswitch.org] On Behalf Of Bill W Sent: Monday, December 21, 2009 9:03 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Authenticating end points by IP I recently added an overview to this wiki page to help make things more clear as to which ACL you need for different purposes. http://wiki.freeswitch.org/wiki/ACL#Overview Thanks, Bill W. Mathieu Rene wrote: Check out: http://wiki.freeswitch.org/wiki/ACL#Users It'll automatically add users with a cidr= attribute to the ACL list. This way you can set channel variables in the users and use them through your dialplan, all authenticated by ip address. Cheers, Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mr...@avgs.ca mailto:mr...@avgs.ca ___ 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
Re: [Freeswitch-users] Setting Restrictions on Default Dialplan
On Sun, Dec 20, 2009 at 10:31 PM, Edmar Cruz darklio...@yahoo.com wrote: Where should I write this line extension name=international dialing condition field=${toll_allow} expression=international anti-action application=playfile data=misc/you-are-not-authorized.wav/ anti-action application=hangup/ /condition condition field=destination_number expression=^(\d+)$ !-- use whatever value works for you -- action application=bridge data=sofia/internal/$...@whatever/ /condition on the default.xml or in the default category? You can put it in default.xml or in an xml file in conf/dialplan/default/ -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
[Freeswitch-users] Variables for install directories
Searching through the wiki for any indication as to what if any variables exist for the install location in that I can leverage in a script. Can anyone point me along, I can't seem to find anything. I want to place a shell script in /opt/freeswitch/scripts that needs a reference to a conf file that a binary it runs is calling. So now I have in two places hardcoded paths that I was hoping to avoid, in the dialplan and in the shell script. When either of these is run, does there exist something like action application=system data=${freeswitch_install_dir}/scripts/shell_script.sh/ and the same for use inside the shell script? Thanks! jlc ___ 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
Re: [Freeswitch-users] Building on Windows
Hi Dave, I have corrected several of the warnings. On subsequent builds the download errors can be ignored(files already present). Jeff From: steve...@primrosebank.net To: freeswitch-users@lists.freeswitch.org Date: Mon, 21 Dec 2009 21:25:36 + Subject: Re: [Freeswitch-users] Building on Windows Hi Mike, OK - have bitten the bullet and installed VS2008 Express over VS2005 ! Most of the warnings in the build have been cleared, I notice that the error in the build of mod_opal has gone with mod_opal not being in the preconfigured build list now and also that the number of warnings on VS2008 has reduced since I've been playing with this over the past few days and SVN versions. There does not seem to be anything major wrong, but as you requested, I have raised a Jira (FSBUILD-221) that you might care to take a look at please ? I attached a copy of the output from the build run and highlighted in bold in the RTF file the warnings that are generated. There are a host of warnings due to the use of /analyze which is appears not to be supported by the Express compiler. Most significant (though still trivial) are the warnings of some type conversion problems and some indirection errors. As I said, these don't seem to be too much of a problem, but you may care to take a look when you have time. One more thing, when I do subsequent builds, are there any pre-build steps that I need to take ? When I tried rebuilding previously, there seemed to be some directories that could not be overwritten (e.g., \libs\pthreads-w32--2-7-0-release) that were flagged as problems - do I just ignore these warnings or unprotect and/or delete the directories before rebuilding ? regards Dave - Original Message - From: Michael Jerris To: freeswitch-users@lists.freeswitch.org Sent: Thursday, December 17, 2009 6:14 PM Subject: Re: [Freeswitch-users] Building on Windows On Dec 17, 2009, at 12:15 PM, Andrew Thompson wrote: On Thu, Dec 17, 2009 at 05:02:10PM -, Dave Stevenson wrote: Hi, I'm probably going to regret this - I'm not sure that I'll be able to do this without a lot of pain (nothing to do with FS - more my lack of ability with Visual Studio), but.., I want to try building FreeSwitch from source rather than using the pre-built binaries. I have a couple of initial questions that, hopefully, someone can answer please ? 1. I only have Visual Studio 2005 and don't see an upgrade to 2008 on the horizon for me. Having downloaded the SVN, I see there is a VS 2005 Solution, but it is marked as Unsupported, although the Wiki says that you only need VC++2005. What does unsupported mean in this context ? I guess that support for VS2005 is being dropped, but is the VS2005 Solution still being maintained, and if so, for how long? I'd hate to get into the build thing and then find that I was stalled when VS2005 support was dropped altogether ? Install VS 2008 if at all possible (express edition is free). 2005 support isn't maintained much if at all, so a lot of newer modules stand a good chance of not having support. We maintain it as far as things that work now shouldn't break, but we rarely test it and only fix things when people supply patches or let me know there is a problem so I can address it. 2. The whole SVN thing is new to me but I've worked out that I need an SVN Client on Windows to work with the source. Can anyone recommend the best (free) SVN Client for Windows to use with FreeSwitch. I have installed TortoiseSVN - a Windows Explorer Shell that looks pretty and seemed to work on my first build but it's not command line based so some of the tips given in the Wiki like make current and make sounds may be more awkward to achieve. Is anyone else using Tortoise and/or can give some tips on which SVN client to use ? Tortoise SVN is fine and is probably the de-facto client for windows. make current and such are all for the unix build only, on the msvc (at least 2008) build they are all built right into the solution ] 3. I built 15979 last night (with VS2005) and got some warnings, with data type conversion - is this a known issue under Windows ? 2005 has slightly different warning settings than are even available in 2008 so I get these from time to time. If you open up a bug on jira.freeswitch.org for me with details I can try to get them corrected. 4. There was one fatal error in the build of mod_opal (missing file) (Some examples of the warnings and the error are shown below :-) Try with VS 2008 and see if they go away. I think this is due to missing dependencies. I don't think I had automation to download the right svn versions of opal. 5. How do I specify which options (e.g., mod_flite, to be included iin the build. You can enable the different sub projects somehow in the UI, I always forget exactly how but just click around in VS and you'll find it. You can adjust this in the configuration
Re: [Freeswitch-users] Building on Windows
Hi Dave, I have corrected several of the warnings. On subsequent builds the download errors can be ignored(files already present). Jeff Dave Stevenson wrote: Hi Mike, OK - have bitten the bullet and installed VS2008 Express over VS2005 ! Most of the warnings in the build have been cleared, I notice that the error in the build of mod_opal has gone with mod_opal not being in the preconfigured build list now and also that the number of warnings on VS2008 has reduced since I've been playing with this over the past few days and SVN versions. There does not seem to be anything major wrong, but as you requested, I have raised a Jira (FSBUILD-221) that you might care to take a look at please ? I attached a copy of the output from the build run and highlighted in bold in the RTF file the warnings that are generated. There are a host of warnings due to the use of /analyze which is appears not to be supported by the Express compiler. Most significant (though still trivial) are the warnings of some type conversion problems and some indirection errors. As I said, these don't seem to be too much of a problem, but you may care to take a look when you have time. One more thing, when I do subsequent builds, are there any pre-build steps that I need to take ? When I tried rebuilding previously, there seemed to be some directories that could not be overwritten (e.g., \libs\pthreads-w32--2-7-0-release) that were flagged as problems - do I just ignore these warnings or unprotect and/or delete the directories before rebuilding ? regards Dave - Original Message - From: Michael Jerris To: freeswitch-users@lists.freeswitch.org Sent: Thursday, December 17, 2009 6:14 PM Subject: Re: [Freeswitch-users] Building on Windows On Dec 17, 2009, at 12:15 PM, Andrew Thompson wrote: On Thu, Dec 17, 2009 at 05:02:10PM -, Dave Stevenson wrote: Hi, I'm probably going to regret this - I'm not sure that I'll be able to do this without a lot of pain (nothing to do with FS - more my lack of ability with Visual Studio), but.., I want to try building FreeSwitch from source rather than using the pre-built binaries. I have a couple of initial questions that, hopefully, someone can answer please ? 1. I only have Visual Studio 2005 and don't see an upgrade to 2008 on the horizon for me. Having downloaded the SVN, I see there is a VS 2005 Solution, but it is marked as Unsupported, although the Wiki says that you only need VC++2005. What does unsupported mean in this context ? I guess that support for VS2005 is being dropped, but is the VS2005 Solution still being maintained, and if so, for how long? I'd hate to get into the build thing and then find that I was stalled when VS2005 support was dropped altogether ? Install VS 2008 if at all possible (express edition is free). 2005 support isn't maintained much if at all, so a lot of newer modules stand a good chance of not having support. We maintain it as far as things that work now shouldn't break, but we rarely test it and only fix things when people supply patches or let me know there is a problem so I can address it. 2. The whole SVN thing is new to me but I've worked out that I need an SVN Client on Windows to work with the source. Can anyone recommend the best (free) SVN Client for Windows to use with FreeSwitch. I have installed TortoiseSVN - a Windows Explorer Shell that looks pretty and seemed to work on my first build but it's not command line based so some of the tips given in the Wiki like make current and make sounds may be more awkward to achieve. Is anyone else using Tortoise and/or can give some tips on which SVN client to use ? Tortoise SVN is fine and is probably the de-facto client for windows. make current and such are all for the unix build only, on the msvc (at least 2008) build they are all built right into the solution ] 3. I built 15979 last night (with VS2005) and got some warnings, with data type conversion - is this a known issue under Windows ? 2005 has slightly different warning settings than are even available in 2008 so I get these from time to time. If you open up a bug on jira.freeswitch.org for me with details I can try to get them corrected. 4. There was one fatal error in the build of mod_opal (missing file) (Some examples of the warnings and the error are shown below :-) Try with VS 2008 and see if they go away. I think this is due to missing dependencies. I don't think I had automation to download the right svn versions of opal. 5. How do I specify which options (e.g., mod_flite, to be included iin the build. You can enable the different sub projects somehow in the UI, I always forget exactly how but just click around in VS and
Re: [Freeswitch-users] Building on Windows
Hi Dave, I have corrected several of the warnings. On subsequent builds the download errors can be ignored(files already present). Jeff Dave Stevenson wrote: Hi Mike, OK - have bitten the bullet and installed VS2008 Express over VS2005 ! Most of the warnings in the build have been cleared, I notice that the error in the build of mod_opal has gone with mod_opal not being in the preconfigured build list now and also that the number of warnings on VS2008 has reduced since I've been playing with this over the past few days and SVN versions. There does not seem to be anything major wrong, but as you requested, I have raised a Jira (FSBUILD-221) that you might care to take a look at please ? I attached a copy of the output from the build run and highlighted in bold in the RTF file the warnings that are generated. There are a host of warnings due to the use of /analyze which is appears not to be supported by the Express compiler. Most significant (though still trivial) are the warnings of some type conversion problems and some indirection errors. As I said, these don't seem to be too much of a problem, but you may care to take a look when you have time. One more thing, when I do subsequent builds, are there any pre-build steps that I need to take ? When I tried rebuilding previously, there seemed to be some directories that could not be overwritten (e.g., \libs\pthreads-w32--2-7-0-release) that were flagged as problems - do I just ignore these warnings or unprotect and/or delete the directories before rebuilding ? regards Dave - Original Message - From: Michael Jerris To: freeswitch-users@lists.freeswitch.org Sent: Thursday, December 17, 2009 6:14 PM Subject: Re: [Freeswitch-users] Building on Windows On Dec 17, 2009, at 12:15 PM, Andrew Thompson wrote: On Thu, Dec 17, 2009 at 05:02:10PM -, Dave Stevenson wrote: Hi, I'm probably going to regret this - I'm not sure that I'll be able to do this without a lot of pain (nothing to do with FS - more my lack of ability with Visual Studio), but.., I want to try building FreeSwitch from source rather than using the pre-built binaries. I have a couple of initial questions that, hopefully, someone can answer please ? 1. I only have Visual Studio 2005 and don't see an upgrade to 2008 on the horizon for me. Having downloaded the SVN, I see there is a VS 2005 Solution, but it is marked as Unsupported, although the Wiki says that you only need VC++2005. What does unsupported mean in this context ? I guess that support for VS2005 is being dropped, but is the VS2005 Solution still being maintained, and if so, for how long? I'd hate to get into the build thing and then find that I was stalled when VS2005 support was dropped altogether ? Install VS 2008 if at all possible (express edition is free). 2005 support isn't maintained much if at all, so a lot of newer modules stand a good chance of not having support. We maintain it as far as things that work now shouldn't break, but we rarely test it and only fix things when people supply patches or let me know there is a problem so I can address it. 2. The whole SVN thing is new to me but I've worked out that I need an SVN Client on Windows to work with the source. Can anyone recommend the best (free) SVN Client for Windows to use with FreeSwitch. I have installed TortoiseSVN - a Windows Explorer Shell that looks pretty and seemed to work on my first build but it's not command line based so some of the tips given in the Wiki like make current and make sounds may be more awkward to achieve. Is anyone else using Tortoise and/or can give some tips on which SVN client to use ? Tortoise SVN is fine and is probably the de-facto client for windows. make current and such are all for the unix build only, on the msvc (at least 2008) build they are all built right into the solution ] 3. I built 15979 last night (with VS2005) and got some warnings, with data type conversion - is this a known issue under Windows ? 2005 has slightly different warning settings than are even available in 2008 so I get these from time to time. If you open up a bug on jira.freeswitch.org for me with details I can try to get them corrected. 4. There was one fatal error in the build of mod_opal (missing file) (Some examples of the warnings and the error are shown below :-) Try with VS 2008 and see if they go away. I think this is due to missing dependencies. I don't think I had automation to download the right svn versions of opal. 5. How do I specify which options (e.g., mod_flite, to be included iin the build. You can enable the different sub projects somehow in the UI, I always forget exactly how but just click around in VS and