<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for The Nir Simionovich blog</title>
	<atom:link href="http://www.simionovich.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.simionovich.com</link>
	<description>The rants and raves of a technogeek</description>
	<lastBuildDate>Mon, 22 Feb 2010 15:21:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Call Analytics &#8211; Beyond CDR analysis &#8211; Part I by uberVU - social comments</title>
		<link>http://www.simionovich.com/2010/02/22/call-analytics-beyond-cdr-analysis-part-i/comment-page-1/#comment-105</link>
		<dc:creator>uberVU - social comments</dc:creator>
		<pubDate>Mon, 22 Feb 2010 15:21:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.simionovich.com/?p=388#comment-105</guid>
		<description>&lt;strong&gt;Social comments and analytics for this post...&lt;/strong&gt;

This post was mentioned on Twitter by asteriskbot: @NirSimionovich: Call Analytics - Beyond CDR analysis - Part I http://bit.ly/agwkl1 #Asterisk #Israel #opensource...</description>
		<content:encoded><![CDATA[<p><strong>Social comments and analytics for this post&#8230;</strong></p>
<p>This post was mentioned on Twitter by asteriskbot: @NirSimionovich: Call Analytics &#8211; Beyond CDR analysis &#8211; Part I <a href="http://bit.ly/agwkl1" rel="nofollow">http://bit.ly/agwkl1</a> #Asterisk #Israel #opensource&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A baby, a house and a full time job by Video &#124; Enjolt.com &#124; Innovate for Success</title>
		<link>http://www.simionovich.com/2009/07/19/a-baby-a-house-and-a-full-time-job/comment-page-1/#comment-102</link>
		<dc:creator>Video &#124; Enjolt.com &#124; Innovate for Success</dc:creator>
		<pubDate>Mon, 20 Jul 2009 05:12:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.simionovich.com/?p=319#comment-102</guid>
		<description>[...] children playing with each other, I agreed to buy them whatever remote control toys they wanted.   A baby, a house and a full time job - simionovich.com 07/19/2009 For those of you who know personally, you probably already know that [...]</description>
		<content:encoded><![CDATA[<p>[...] children playing with each other, I agreed to buy them whatever remote control toys they wanted.   A baby, a house and a full time job &#8211; simionovich.com 07/19/2009 For those of you who know personally, you probably already know that [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Battling the GlobalCrossing CallerID blues by mmaeir</title>
		<link>http://www.simionovich.com/2009/02/26/battling-the-globalcrossing-callerid-blues/comment-page-1/#comment-100</link>
		<dc:creator>mmaeir</dc:creator>
		<pubDate>Mon, 30 Mar 2009 07:09:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.simionovich.com/?p=260#comment-100</guid>
		<description>Well I do have a lot of respect for didx, I would never port business numbers to them. The simple reason is that they are just a platform.

With businesses you must have a provider that can be responsible for a high level of service.

bbhenry - if you need any advice or help on this matter please contact me at moshe at flatplanetphone.com.

BTW - Voxbone is a reliable partner. Yes they do have their issues since at the end of the day they are just a clearing house for many carriers in different countries. BUT - they work to solve fast (in European terms...)
Bottom line, they are good.</description>
		<content:encoded><![CDATA[<p>Well I do have a lot of respect for didx, I would never port business numbers to them. The simple reason is that they are just a platform.</p>
<p>With businesses you must have a provider that can be responsible for a high level of service.</p>
<p>bbhenry &#8211; if you need any advice or help on this matter please contact me at moshe at flatplanetphone.com.</p>
<p>BTW &#8211; Voxbone is a reliable partner. Yes they do have their issues since at the end of the day they are just a clearing house for many carriers in different countries. BUT &#8211; they work to solve fast (in European terms&#8230;)<br />
Bottom line, they are good.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Being a successful Asterisk Consultant by admin</title>
		<link>http://www.simionovich.com/2009/03/09/being-a-successful-asterisk-consultant/comment-page-1/#comment-98</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 12 Mar 2009 20:26:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.simionovich.com/?p=265#comment-98</guid>
		<description>The dCAP is a wonderful tool to prove your Asterisk abilities. While many people regard certs as a waste of time and money, in the case of the dCAP I disagree. The dCAP test is far from being a &quot;study and get tested&quot; exam, without proper Asterisk experience and know-how: YOU WILL NOT PASS.
I did my dCAP after working for 4 years with Asterisk, and I found some portions of it confusing and complicated at times. I did end up earning over 95% of the theory exam and 100% on the practical exam, but I have to admit that at times, some of the questions got me completely running around in circles thinking: &quot;WHAT THE .....&quot;.
If you company is willing to pay for your cert, that is a wonderful thing. It&#039;s a show of confidence, on their side, of your abilities - while showing a keen interest in becoming a valid Asterisk professional and supporter. Think about it, the test costs 300$, it&#039;s not much, however, if 3000 people are certed a year, that 900,000$, going directly to the development of Asterisk and its progress - and in my book, that&#039;s a good thing.</description>
		<content:encoded><![CDATA[<p>The dCAP is a wonderful tool to prove your Asterisk abilities. While many people regard certs as a waste of time and money, in the case of the dCAP I disagree. The dCAP test is far from being a &#8220;study and get tested&#8221; exam, without proper Asterisk experience and know-how: YOU WILL NOT PASS.<br />
I did my dCAP after working for 4 years with Asterisk, and I found some portions of it confusing and complicated at times. I did end up earning over 95% of the theory exam and 100% on the practical exam, but I have to admit that at times, some of the questions got me completely running around in circles thinking: &#8220;WHAT THE &#8230;..&#8221;.<br />
If you company is willing to pay for your cert, that is a wonderful thing. It&#8217;s a show of confidence, on their side, of your abilities &#8211; while showing a keen interest in becoming a valid Asterisk professional and supporter. Think about it, the test costs 300$, it&#8217;s not much, however, if 3000 people are certed a year, that 900,000$, going directly to the development of Asterisk and its progress &#8211; and in my book, that&#8217;s a good thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Being a successful Asterisk Consultant by arturoochoa</title>
		<link>http://www.simionovich.com/2009/03/09/being-a-successful-asterisk-consultant/comment-page-1/#comment-97</link>
		<dc:creator>arturoochoa</dc:creator>
		<pubDate>Thu, 12 Mar 2009 17:00:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.simionovich.com/?p=265#comment-97</guid>
		<description>I totally agree with your comment. What you mention about this company charging a lot of money for something they didn&#039;t do, it&#039;s a theft. 

Personally I&#039;ll like to asked you something:
I&#039;m working for a small company, who has decided after 3 years going to dCap cert and they choose me. Since I&#039;m an employee, do you think this will be a positive or negative approach to get de cert?</description>
		<content:encoded><![CDATA[<p>I totally agree with your comment. What you mention about this company charging a lot of money for something they didn&#8217;t do, it&#8217;s a theft. </p>
<p>Personally I&#8217;ll like to asked you something:<br />
I&#8217;m working for a small company, who has decided after 3 years going to dCap cert and they choose me. Since I&#8217;m an employee, do you think this will be a positive or negative approach to get de cert?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Battling the GlobalCrossing CallerID blues by admin</title>
		<link>http://www.simionovich.com/2009/02/26/battling-the-globalcrossing-callerid-blues/comment-page-1/#comment-96</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 03 Mar 2009 23:38:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.simionovich.com/?p=260#comment-96</guid>
		<description>Well, getting a reliable DID provider is a must. If you need highly reliable, highly responsive DID providers in the US contact me directly - I have a few contacts I can give you.
In regards to the termination, it is a game of volume - what is your projected volume?</description>
		<content:encoded><![CDATA[<p>Well, getting a reliable DID provider is a must. If you need highly reliable, highly responsive DID providers in the US contact me directly &#8211; I have a few contacts I can give you.<br />
In regards to the termination, it is a game of volume &#8211; what is your projected volume?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Battling the GlobalCrossing CallerID blues by bbhenry</title>
		<link>http://www.simionovich.com/2009/02/26/battling-the-globalcrossing-callerid-blues/comment-page-1/#comment-95</link>
		<dc:creator>bbhenry</dc:creator>
		<pubDate>Mon, 02 Mar 2009 03:24:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.simionovich.com/?p=260#comment-95</guid>
		<description>I would like to thank you for sharing your experience with reliable DID providers, because I am in a stage of choosing reliable DID provider to serve our 1000 existing business clients. I have currently picked Voxbone to be the provider and glade to see someone come up with a good review about it.

I have previous experience with DIDX, and had been porting business numbers to them which didx claim that the numbers were hosted by their partner Global Crossing. And often times, we would loose incoming calls from didx passing to us. And didx would simply saying it&#039;s global crossing&#039;s server issue. And I don&#039;t take full of what they tell me, because I know lot of times, IT company would just push the responsibility to another provider or partner they have(my previous company did that too). And it&#039;s not a smart practice after all. Neglectful attitude will eventually drive your customers away and leave you bad word of mouth in the industry. And once you have bad reputation, it&#039;s very hard to get up again. The company I previously worked for actually closed because of that.

Now I need to choose some good reliable outbound call provider that will pass caller ID along. Do you have any suggestions?</description>
		<content:encoded><![CDATA[<p>I would like to thank you for sharing your experience with reliable DID providers, because I am in a stage of choosing reliable DID provider to serve our 1000 existing business clients. I have currently picked Voxbone to be the provider and glade to see someone come up with a good review about it.</p>
<p>I have previous experience with DIDX, and had been porting business numbers to them which didx claim that the numbers were hosted by their partner Global Crossing. And often times, we would loose incoming calls from didx passing to us. And didx would simply saying it&#8217;s global crossing&#8217;s server issue. And I don&#8217;t take full of what they tell me, because I know lot of times, IT company would just push the responsibility to another provider or partner they have(my previous company did that too). And it&#8217;s not a smart practice after all. Neglectful attitude will eventually drive your customers away and leave you bad word of mouth in the industry. And once you have bad reputation, it&#8217;s very hard to get up again. The company I previously worked for actually closed because of that.</p>
<p>Now I need to choose some good reliable outbound call provider that will pass caller ID along. Do you have any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Read my words &#8211; 3500 concurrent channels with Asterisk! by admin</title>
		<link>http://www.simionovich.com/2009/02/13/read-my-words-3500-concurrent-channels-with-asterisk/comment-page-1/#comment-94</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 21 Feb 2009 12:02:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.simionovich.com/?p=250#comment-94</guid>
		<description>Hi Blake,

Sounds like your setup is fairly common from what I can tell. It is true that Heartbeat is mainly used to High-Availability. Load balancing requires the use of either OpenSER (or a similar software) or a vendor Session Border Controller. Bear in mind that the NAT based network environment of Amazon EC2 may pose some issues.
In terms of configurations, there is no single answer here, as it requires a proper analysis of your provisional business model. Feel free to contact me by email and I&#039;ll see how I can assist you on your quest.</description>
		<content:encoded><![CDATA[<p>Hi Blake,</p>
<p>Sounds like your setup is fairly common from what I can tell. It is true that Heartbeat is mainly used to High-Availability. Load balancing requires the use of either OpenSER (or a similar software) or a vendor Session Border Controller. Bear in mind that the NAT based network environment of Amazon EC2 may pose some issues.<br />
In terms of configurations, there is no single answer here, as it requires a proper analysis of your provisional business model. Feel free to contact me by email and I&#8217;ll see how I can assist you on your quest.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Read my words &#8211; 3500 concurrent channels with Asterisk! by admin</title>
		<link>http://www.simionovich.com/2009/02/13/read-my-words-3500-concurrent-channels-with-asterisk/comment-page-1/#comment-93</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 21 Feb 2009 11:58:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.simionovich.com/?p=250#comment-93</guid>
		<description>Hi Stavros,

I&#039;m not sure if you recall, but I&#039;m well versed in GnuGK. Back in 2003 I used GnuGK+FreeRadius+MySQL to traverse over 25 Million minutes a month. I have to admit that the idea of running a cluster of GnuGK systems using Amazon EC2 is interesting, however, the nature of H323 and its incompatibility with NAT and the fact that Amazon EC2 is based on NAT networks, I would say that it poses an interesting issue.
In any case, GnuGK was optimally built to handle call setup requests, as it&#039;s a GateKeeper, very much like a SIP proxy or SIP Session Border Controller, while Asterisk isn&#039;t really built for that kind of function.</description>
		<content:encoded><![CDATA[<p>Hi Stavros,</p>
<p>I&#8217;m not sure if you recall, but I&#8217;m well versed in GnuGK. Back in 2003 I used GnuGK+FreeRadius+MySQL to traverse over 25 Million minutes a month. I have to admit that the idea of running a cluster of GnuGK systems using Amazon EC2 is interesting, however, the nature of H323 and its incompatibility with NAT and the fact that Amazon EC2 is based on NAT networks, I would say that it poses an interesting issue.<br />
In any case, GnuGK was optimally built to handle call setup requests, as it&#8217;s a GateKeeper, very much like a SIP proxy or SIP Session Border Controller, while Asterisk isn&#8217;t really built for that kind of function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Read my words &#8211; 3500 concurrent channels with Asterisk! by stavros</title>
		<link>http://www.simionovich.com/2009/02/13/read-my-words-3500-concurrent-channels-with-asterisk/comment-page-1/#comment-92</link>
		<dc:creator>stavros</dc:creator>
		<pubDate>Sat, 21 Feb 2009 07:04:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.simionovich.com/?p=250#comment-92</guid>
		<description>If H.323 would suffice you may be interested to know that a single instance of GNUGK easily handles 60,000 call setups per hour with a load average of 0.1,  and that&#039;s with the Postgres server on the same machine.  That hardware is getting old now: 2GHz AMD64 X2, 2GB DDR RAM and mdraid mirroring across 2 SATA drives.</description>
		<content:encoded><![CDATA[<p>If H.323 would suffice you may be interested to know that a single instance of GNUGK easily handles 60,000 call setups per hour with a load average of 0.1,  and that&#8217;s with the Postgres server on the same machine.  That hardware is getting old now: 2GHz AMD64 X2, 2GB DDR RAM and mdraid mirroring across 2 SATA drives.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Read my words &#8211; 3500 concurrent channels with Asterisk! by blakers85</title>
		<link>http://www.simionovich.com/2009/02/13/read-my-words-3500-concurrent-channels-with-asterisk/comment-page-1/#comment-91</link>
		<dc:creator>blakers85</dc:creator>
		<pubDate>Sat, 21 Feb 2009 05:36:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.simionovich.com/?p=250#comment-91</guid>
		<description>Hi! I am trying to setup a high availability asterisk cluster on ec2 to handle 150 concurrent calls and I&#039;m wondering the best way to go about it. Through our earlier conversation and research I recognize that the Asterisk Meetme functionality does not work on ec2 but this is not an important feature to me. The cluster needs to be scalable because although right now I am only planning to accommodate 150 concurrent calls during peak time, I desire to be able to handle at least double that with the addition of  a couple of more asterisk machines.  It seems like some people have done it using heartbeat but from what I&#039;ve read it seems like that is more for redundancy than high availability. Also I&#039;ve read some articles that seemed to use database replication in which one machine was responsible for keeping the master database and each asterisk node kept a local copy of the database that it read from but did writes to the master (which trickled down to the local dbs) and DUNDI was used in this installation.From a load balancing standpoint is openSer the best option with the dispatcher module? 

Here is the ultimate plan: To have an ATA device encode and decode calls using g729. Use openSer to direct traffic and handle registrations. So for instance if someone wanted to make a call from the ATA to the PSTN, OpenSer would help establish the invitation process between the ATA and pstn gateway and would not be included after that. Asterisk would only be used for voicemail and other features for the person on the ATA.  I&#039;m not sure if this is even possible put I would like for normal calls (from ATA to  ..say someone on the PSTN) to not route their RTP traffic through Asterisk.


I&#039;m sorry if this confusing. I&#039;ve been furiously reading to try to understand but I&#039;m sure I&#039;m not close to being there. I would appreciate any help at all. 
Thanks,
Blake McKeeby</description>
		<content:encoded><![CDATA[<p>Hi! I am trying to setup a high availability asterisk cluster on ec2 to handle 150 concurrent calls and I&#8217;m wondering the best way to go about it. Through our earlier conversation and research I recognize that the Asterisk Meetme functionality does not work on ec2 but this is not an important feature to me. The cluster needs to be scalable because although right now I am only planning to accommodate 150 concurrent calls during peak time, I desire to be able to handle at least double that with the addition of  a couple of more asterisk machines.  It seems like some people have done it using heartbeat but from what I&#8217;ve read it seems like that is more for redundancy than high availability. Also I&#8217;ve read some articles that seemed to use database replication in which one machine was responsible for keeping the master database and each asterisk node kept a local copy of the database that it read from but did writes to the master (which trickled down to the local dbs) and DUNDI was used in this installation.From a load balancing standpoint is openSer the best option with the dispatcher module? </p>
<p>Here is the ultimate plan: To have an ATA device encode and decode calls using g729. Use openSer to direct traffic and handle registrations. So for instance if someone wanted to make a call from the ATA to the PSTN, OpenSer would help establish the invitation process between the ATA and pstn gateway and would not be included after that. Asterisk would only be used for voicemail and other features for the person on the ATA.  I&#8217;m not sure if this is even possible put I would like for normal calls (from ATA to  ..say someone on the PSTN) to not route their RTP traffic through Asterisk.</p>
<p>I&#8217;m sorry if this confusing. I&#8217;ve been furiously reading to try to understand but I&#8217;m sure I&#8217;m not close to being there. I would appreciate any help at all.<br />
Thanks,<br />
Blake McKeeby</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Read my words &#8211; 3500 concurrent channels with Asterisk! by Pages tagged "concurrent"</title>
		<link>http://www.simionovich.com/2009/02/13/read-my-words-3500-concurrent-channels-with-asterisk/comment-page-1/#comment-90</link>
		<dc:creator>Pages tagged "concurrent"</dc:creator>
		<pubDate>Thu, 19 Feb 2009 00:05:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.simionovich.com/?p=250#comment-90</guid>
		<description>[...] bookmarks tagged concurrent Read my words - 3500 concurrent channels with Aste...&#160;saved by 3 others  &#160;&#160;&#160;&#160;Phillychesse bookmarked on 02/18/09 &#124; [...]</description>
		<content:encoded><![CDATA[<p>[...] bookmarks tagged concurrent Read my words &#8211; 3500 concurrent channels with Aste&#8230;&nbsp;saved by 3 others  &nbsp;&nbsp;&nbsp;&nbsp;Phillychesse bookmarked on 02/18/09 | [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Asterisk by rajibdk</title>
		<link>http://www.simionovich.com/nir-on-asterisk/comment-page-1/#comment-89</link>
		<dc:creator>rajibdk</dc:creator>
		<pubDate>Wed, 18 Feb 2009 18:34:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.simionovich.com/?page_id=85#comment-89</guid>
		<description>Hi Sir,
thanks for your promptly response. I am a newbie to asterisk. I have a intel dual core pc with 1 GB ram. I have installed Asterisk 1.6.0.5 and configured with Zoiper Soft phone. I want to connect my PSTN line to it and some other phones to the extensions so, what hardware I need to attach PSTN line to my asterisk server. Please let me know.

Thanks and Regards
Rajib Deka</description>
		<content:encoded><![CDATA[<p>Hi Sir,<br />
thanks for your promptly response. I am a newbie to asterisk. I have a intel dual core pc with 1 GB ram. I have installed Asterisk 1.6.0.5 and configured with Zoiper Soft phone. I want to connect my PSTN line to it and some other phones to the extensions so, what hardware I need to attach PSTN line to my asterisk server. Please let me know.</p>
<p>Thanks and Regards<br />
Rajib Deka</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Asterisk by admin</title>
		<link>http://www.simionovich.com/nir-on-asterisk/comment-page-1/#comment-88</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 18 Feb 2009 11:11:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.simionovich.com/?page_id=85#comment-88</guid>
		<description>Hi Rajib,

  Well, if you copy pasted your AGI script as is, you have a small mistake with your ANSWER directive.

1. #!/usr/bin/php -q
2. answer();
10.
11. $agi-&gt;stream_file(”demo-congrats”,”#”);
12. do
13. {
14. $agi-&gt;stream_file(”enter-some-digits”,”#”);
15. $result = $agi-&gt;get_data(’beep’, 3000, 20);
$keys = $result[&#039;result&#039;];
16.
17. $agi-&gt;stream_file(”you-entered”,”#”);
18. $agi-&gt;say_digits($keys);
19. } while($keys != ‘111′);
20. $agi-&gt;hangup();
21. ?&gt;

In addition, it would appear that you didn&#039;t even construct the AGI object correctly. If you refer to page 105 of my book, you would notice that lines 3 through 7 are missing from your script. 

Try also to increase your console debug level via the /etc/asterisk/logger.conf file, that may shed some more information in regards to what breaks your script. 

Cheers,
Nir</description>
		<content:encoded><![CDATA[<p>Hi Rajib,</p>
<p>  Well, if you copy pasted your AGI script as is, you have a small mistake with your ANSWER directive.</p>
<p>1. #!/usr/bin/php -q<br />
2. answer();<br />
10.<br />
11. $agi->stream_file(”demo-congrats”,”#”);<br />
12. do<br />
13. {<br />
14. $agi->stream_file(”enter-some-digits”,”#”);<br />
15. $result = $agi->get_data(’beep’, 3000, 20);<br />
$keys = $result['result'];<br />
16.<br />
17. $agi->stream_file(”you-entered”,”#”);<br />
18. $agi->say_digits($keys);<br />
19. } while($keys != ‘111′);<br />
20. $agi->hangup();<br />
21. ?></p>
<p>In addition, it would appear that you didn&#8217;t even construct the AGI object correctly. If you refer to page 105 of my book, you would notice that lines 3 through 7 are missing from your script. </p>
<p>Try also to increase your console debug level via the /etc/asterisk/logger.conf file, that may shed some more information in regards to what breaks your script. </p>
<p>Cheers,<br />
Nir</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Asterisk by rajibdk</title>
		<link>http://www.simionovich.com/nir-on-asterisk/comment-page-1/#comment-87</link>
		<dc:creator>rajibdk</dc:creator>
		<pubDate>Wed, 18 Feb 2009 10:24:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.simionovich.com/?page_id=85#comment-87</guid>
		<description>Hello Sir,

    I have a problem with the following code (took from your book). It
doesnot make a beep sound and takes ainput. I am using Zoiper soft
phone to test it with an IAX2 account.
   $result = agi-&gt;get_data(&quot;beep&quot;, 3000, 20);
   say_digits() also not working.

My code looks like...

 1. #!/usr/bin/php -q
 2. answer();
10.
11.    $agi-&gt;stream_file(&quot;demo-congrats&quot;,&quot;#&quot;);
12.    do
13.    {
14.               $agi-&gt;stream_file(&quot;enter-some-digits&quot;,&quot;#&quot;);
15.               $result = $agi-&gt;get_data(&#039;beep&#039;, 3000, 20);
                  $keys = $result[&#039;result&#039;];
16.
17.               $agi-&gt;stream_file(&quot;you-entered&quot;,&quot;#&quot;);
18.               $agi-&gt;say_digits($keys);
19.    } while($keys != &#039;111&#039;);
20.    $agi-&gt;hangup();
21. ?&gt;

asterisk out put....

 -- Accepting AUTHENTICATED call from 127.0.0.1:
       &gt; requested format = gsm,
       &gt; requested prefs = (),
       &gt; actual format = gsm,
       &gt; host prefs = (),
       &gt; priority = mine
    -- Executing [999@agitest:1] AGI(&quot;IAX2/rajib-14434&quot;, &quot;hello.php&quot;) in
new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/hello.php
AGI Tx &gt;&gt; agi_request: hello.php
AGI Tx &gt;&gt; agi_channel: IAX2/rajib-14434
AGI Tx &gt;&gt; agi_language: en
AGI Tx &gt;&gt; agi_type: IAX2
AGI Tx &gt;&gt; agi_uniqueid: 1234947670.52
AGI Tx &gt;&gt; agi_version: 1.6.0.5
AGI Tx &gt;&gt; agi_callerid: unknown
AGI Tx &gt;&gt; agi_calleridname: rajib
AGI Tx &gt;&gt; agi_callingpres: 1
AGI Tx &gt;&gt; agi_callingani2: 0
AGI Tx &gt;&gt; agi_callington: 16
AGI Tx &gt;&gt; agi_callingtns: 0
AGI Tx &gt;&gt; agi_dnid: 999
AGI Tx &gt;&gt; agi_rdnis: unknown
AGI Tx &gt;&gt; agi_context: agitest
AGI Tx &gt;&gt; agi_extension: 999
AGI Tx &gt;&gt; agi_priority: 1
AGI Tx &gt;&gt; agi_enhanced: 0.0
AGI Tx &gt;&gt; agi_accountcode:
AGI Tx &gt;&gt; agi_threadid: -1217868912
AGI Tx &gt;&gt;
    -- AGI Script hello.php completed, returning 0
    -- Executing [999@agitest:2] Hangup(&quot;IAX2/rajib-14434&quot;, &quot;&quot;) in new stack
  == Spawn extension (agitest, 999, 2) exited non-zero on &#039;IAX2/rajib-14434&#039;
    -- Hungup &#039;IAX2/rajib-14434&#039;



server configuration.....

    Fedora core 8
    asterisk server 1.6.0.5
    phpagi-2.14

No other hardware is attached for PSTN line. I have tested the examples
with Zoiper.

Please help me out.

Thanks and Regards
Rajib Deka
rajib@excoflare.com</description>
		<content:encoded><![CDATA[<p>Hello Sir,</p>
<p>    I have a problem with the following code (took from your book). It<br />
doesnot make a beep sound and takes ainput. I am using Zoiper soft<br />
phone to test it with an IAX2 account.<br />
   $result = agi-&gt;get_data(&#8220;beep&#8221;, 3000, 20);<br />
   say_digits() also not working.</p>
<p>My code looks like&#8230;</p>
<p> 1. #!/usr/bin/php -q<br />
 2. answer();<br />
10.<br />
11.    $agi-&gt;stream_file(&#8220;demo-congrats&#8221;,&#8221;#&#8221;);<br />
12.    do<br />
13.    {<br />
14.               $agi-&gt;stream_file(&#8220;enter-some-digits&#8221;,&#8221;#&#8221;);<br />
15.               $result = $agi-&gt;get_data(&#8216;beep&#8217;, 3000, 20);<br />
                  $keys = $result['result'];<br />
16.<br />
17.               $agi-&gt;stream_file(&#8220;you-entered&#8221;,&#8221;#&#8221;);<br />
18.               $agi-&gt;say_digits($keys);<br />
19.    } while($keys != &#8216;111&#8242;);<br />
20.    $agi-&gt;hangup();<br />
21. ?&gt;</p>
<p>asterisk out put&#8230;.</p>
<p> &#8212; Accepting AUTHENTICATED call from 127.0.0.1:<br />
       &gt; requested format = gsm,<br />
       &gt; requested prefs = (),<br />
       &gt; actual format = gsm,<br />
       &gt; host prefs = (),<br />
       &gt; priority = mine<br />
    &#8212; Executing [999@agitest:1] AGI(&#8220;IAX2/rajib-14434&#8243;, &#8220;hello.php&#8221;) in<br />
new stack<br />
    &#8212; Launched AGI Script /var/lib/asterisk/agi-bin/hello.php<br />
AGI Tx &gt;&gt; agi_request: hello.php<br />
AGI Tx &gt;&gt; agi_channel: IAX2/rajib-14434<br />
AGI Tx &gt;&gt; agi_language: en<br />
AGI Tx &gt;&gt; agi_type: IAX2<br />
AGI Tx &gt;&gt; agi_uniqueid: 1234947670.52<br />
AGI Tx &gt;&gt; agi_version: 1.6.0.5<br />
AGI Tx &gt;&gt; agi_callerid: unknown<br />
AGI Tx &gt;&gt; agi_calleridname: rajib<br />
AGI Tx &gt;&gt; agi_callingpres: 1<br />
AGI Tx &gt;&gt; agi_callingani2: 0<br />
AGI Tx &gt;&gt; agi_callington: 16<br />
AGI Tx &gt;&gt; agi_callingtns: 0<br />
AGI Tx &gt;&gt; agi_dnid: 999<br />
AGI Tx &gt;&gt; agi_rdnis: unknown<br />
AGI Tx &gt;&gt; agi_context: agitest<br />
AGI Tx &gt;&gt; agi_extension: 999<br />
AGI Tx &gt;&gt; agi_priority: 1<br />
AGI Tx &gt;&gt; agi_enhanced: 0.0<br />
AGI Tx &gt;&gt; agi_accountcode:<br />
AGI Tx &gt;&gt; agi_threadid: -1217868912<br />
AGI Tx &gt;&gt;<br />
    &#8212; AGI Script hello.php completed, returning 0<br />
    &#8212; Executing [999@agitest:2] Hangup(&#8220;IAX2/rajib-14434&#8243;, &#8220;&#8221;) in new stack<br />
  == Spawn extension (agitest, 999, 2) exited non-zero on &#8216;IAX2/rajib-14434&#8242;<br />
    &#8212; Hungup &#8216;IAX2/rajib-14434&#8242;</p>
<p>server configuration&#8230;..</p>
<p>    Fedora core 8<br />
    asterisk server 1.6.0.5<br />
    phpagi-2.14</p>
<p>No other hardware is attached for PSTN line. I have tested the examples<br />
with Zoiper.</p>
<p>Please help me out.</p>
<p>Thanks and Regards<br />
Rajib Deka<br />
<a href="mailto:rajib@excoflare.com">rajib@excoflare.com</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
