<?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 on: The Wedding Is On: Asterisk and Google Voice Tie the Knot	</title>
	<atom:link href="https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/feed/" rel="self" type="application/rss+xml" />
	<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/</link>
	<description>Ward Mundy&#039;s Technobabblelog</description>
	<lastBuildDate>Wed, 09 Dec 2015 12:37:29 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: technologiez		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-11403</link>

		<dc:creator><![CDATA[technologiez]]></dc:creator>
		<pubDate>Wed, 30 Jun 2010 23:49:43 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-11403</guid>

					<description><![CDATA[Google Voice Service Takes Aim At Telephone Companies: It converts voice mails to text, and even better…nice article]]></description>
			<content:encoded><![CDATA[<p>Google Voice Service Takes Aim At Telephone Companies: It converts voice mails to text, and even better…nice article</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mike		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9941</link>

		<dc:creator><![CDATA[Mike]]></dc:creator>
		<pubDate>Thu, 03 Sep 2009 05:48:33 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9941</guid>

					<description><![CDATA[Hi I have a regular digital NEC pbx . Currently have several atas and gateways that provide voip lines thru fxs ports that are plugged into the pbx just like regular pots lines would be . If i set up an asterisk server to enable outbound GV calling, could i somehow attach an ATA and attach that to my PBX as a regular fxs port, the same as my other voip lines ?

&lt;i&gt;[WM: Absolutely.]&lt;/i&gt;]]></description>
			<content:encoded><![CDATA[<p>Hi I have a regular digital NEC pbx . Currently have several atas and gateways that provide voip lines thru fxs ports that are plugged into the pbx just like regular pots lines would be . If i set up an asterisk server to enable outbound GV calling, could i somehow attach an ATA and attach that to my PBX as a regular fxs port, the same as my other voip lines ?</p>
<p><i>[WM: Absolutely.]</i></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Brad		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9879</link>

		<dc:creator><![CDATA[Brad]]></dc:creator>
		<pubDate>Mon, 24 Aug 2009 23:06:04 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9879</guid>

					<description><![CDATA[How can I connect the PAP2NA device to Asterisk and make this work with the GV. Also, screenshots are nice for us simpletons :P]]></description>
			<content:encoded><![CDATA[<p>How can I connect the PAP2NA device to Asterisk and make this work with the GV. Also, screenshots are nice for us simpletons 😛</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: jmilk		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9816</link>

		<dc:creator><![CDATA[jmilk]]></dc:creator>
		<pubDate>Wed, 12 Aug 2009 17:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9816</guid>

					<description><![CDATA[Thanks for this idea.  My setup is different, so it took a few minutes of tweaking to get it going.  I&#039;m running Asterisk 1.4x on Ubuntu, and I prefer (as everyone should! ;-) AEL for my dialplan.

I ran apt-get to update my python packages and install the pyinstaller.  pygooglevoice installed without issues over that.  I confirmed that it was working by running from command-line.

Then I added the following to my extensions.ael.
in globals{}:
        GV8_PARK=720;
        GV8_NUM=888xxxxxxx;
        GV8_ACCT=jay@xxx.net;
        GV8_PASS=xxxx;
        GV8_RING=1555xxxxxx;

New context:
context googlevoice8 {
        _1NXXNXXXXXX =&#062;
                {
                  Ringing();
                  System(gvoice -e \${GV8_ACCT} -p \${GV8_PASS} call \${EXTEN} $
                  Set(PARKINGEXTEN=\${GV8_PARK});
                  Park();
                }

and in my inbound-context:
    555xxxxxxx =&#062;
        { if(&quot;${CALLERID(number)}&quot;=&quot;${GV8_NUM}&quot;) {
            ParkedCall(${GV8_PARK});
          } else {
            &#038;exec-incoming(us,2:,${EXT_ALL},4000,,yes);
          }
        }]]></description>
			<content:encoded><![CDATA[<p>Thanks for this idea.  My setup is different, so it took a few minutes of tweaking to get it going.  I&#8217;m running Asterisk 1.4x on Ubuntu, and I prefer (as everyone should! 😉 AEL for my dialplan.</p>
<p>I ran apt-get to update my python packages and install the pyinstaller.  pygooglevoice installed without issues over that.  I confirmed that it was working by running from command-line.</p>
<p>Then I added the following to my extensions.ael.<br />
in globals{}:<br />
        GV8_PARK=720;<br />
        GV8_NUM=888xxxxxxx;<br />
        GV8_ACCT=jay@xxx.net;<br />
        GV8_PASS=xxxx;<br />
        GV8_RING=1555xxxxxx;</p>
<p>New context:<br />
context googlevoice8 {<br />
        _1NXXNXXXXXX =&gt;<br />
                {<br />
                  Ringing();<br />
                  System(gvoice -e \${GV8_ACCT} -p \${GV8_PASS} call \${EXTEN} $<br />
                  Set(PARKINGEXTEN=\${GV8_PARK});<br />
                  Park();<br />
                }</p>
<p>and in my inbound-context:<br />
    555xxxxxxx =&gt;<br />
        { if("${CALLERID(number)}"="${GV8_NUM}") {<br />
            ParkedCall(${GV8_PARK});<br />
          } else {<br />
            &amp;exec-incoming(us,2:,${EXT_ALL},4000,,yes);<br />
          }<br />
        }</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Tony		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9776</link>

		<dc:creator><![CDATA[Tony]]></dc:creator>
		<pubDate>Sat, 08 Aug 2009 05:47:13 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9776</guid>

					<description><![CDATA[Many thanks for this great article! I&#039;ve got it working now (using the parking method), and it works great!

However, I did have to make a tweaks to the script for stability (asterisk would crash and re-start when I tried the custom dialplan) and wanted to share with others who might have same problem.  This could be a non issue on faster PCs (I&#039;m using a slow laptop).  

In the [custom-park] script, I had to change the first line to Wait(5) instead of Wait(2).  I don&#039;t know what the parameter does.. Does it increase the delay time?

&lt;i&gt;[WM: It does increase the delay. We already had changed it to 4 to address another issue on some systems, but thanks.]&lt;/i&gt;]]></description>
			<content:encoded><![CDATA[<p>Many thanks for this great article! I&#8217;ve got it working now (using the parking method), and it works great!</p>
<p>However, I did have to make a tweaks to the script for stability (asterisk would crash and re-start when I tried the custom dialplan) and wanted to share with others who might have same problem.  This could be a non issue on faster PCs (I&#8217;m using a slow laptop).  </p>
<p>In the [custom-park] script, I had to change the first line to Wait(5) instead of Wait(2).  I don&#8217;t know what the parameter does.. Does it increase the delay time?</p>
<p><i>[WM: It does increase the delay. We already had changed it to 4 to address another issue on some systems, but thanks.]</i></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Bao Nguyen		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9738</link>

		<dc:creator><![CDATA[Bao Nguyen]]></dc:creator>
		<pubDate>Wed, 05 Aug 2009 14:15:12 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9738</guid>

					<description><![CDATA[I just posted the instructions how to solve &quot;hangup&quot; problem by using &#039;x&#039; and &#039;A&#039; option in Meetme().

For 2 or more concurrent calls, we can use MeetMeCount to check if the conference is available. If not, go to next available room.

Bao Nguyen.]]></description>
			<content:encoded><![CDATA[<p>I just posted the instructions how to solve "hangup" problem by using &#8216;x&#8217; and &#8216;A&#8217; option in Meetme().</p>
<p>For 2 or more concurrent calls, we can use MeetMeCount to check if the conference is available. If not, go to next available room.</p>
<p>Bao Nguyen.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Bao Nguyen		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9737</link>

		<dc:creator><![CDATA[Bao Nguyen]]></dc:creator>
		<pubDate>Wed, 05 Aug 2009 10:03:15 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9737</guid>

					<description><![CDATA[I forgot, the python script seems not to work with Gmail passwords that have &quot;blank&quot; in them, like &#039;hello 123&#039;]]></description>
			<content:encoded><![CDATA[<p>I forgot, the python script seems not to work with Gmail passwords that have "blank" in them, like &#8216;hello 123&#8217;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Bao Nguyen		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9736</link>

		<dc:creator><![CDATA[Bao Nguyen]]></dc:creator>
		<pubDate>Wed, 05 Aug 2009 09:05:16 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9736</guid>

					<description><![CDATA[Well, thank you very much for the amazing approach using pythong and Meetme. After playing for a while, finally I got it work (*). 

I also read other comments about Meetme not hangup, and how to make 2 concurrent calls or more. Here is my solution:

Note: My below instruction will allow you to use 2 concurrent calls through GV. Hangup issue with Meeetme also be resolved.

Requiremetns: 2 GV accounts with 2 callback Sipgate (SG) numbers. 

0. Run the setup script install-gv

1. Create each inbound 1-DID rule for each pair of GV-SG.

2. Create 2 Conference Rooms, say 48001 &#038; 48002 via FreePBX 

3. Edit extensions_override_freepbx.conf, and add these lines:

;--------------------start
[ext-meetme]
exten =&#062; 48001,1,Macro(user-callerid,)
exten =&#062; 48001,n,Set(MEETME_ROOMNUM=48001)
exten =&#062; 48001,n,GotoIf($[&quot;${DIALSTATUS}&quot; = &quot;ANSWER&quot;]?USER)
exten =&#062; 48001,n,Answer
exten =&#062; 48001,n,Wait(1)
exten =&#062; 48001,n(USER),Set(MEETME_OPTS=qx)
exten =&#062; 48001,n,Goto(STARTMEETME,1)
exten =&#062; 48001,hint,MeetMe:48001

exten =&#062; 48002,1,Macro(user-callerid,)
exten =&#062; 48002,n,Set(MEETME_ROOMNUM=48002)
exten =&#062; 48002,n,GotoIf($[&quot;${DIALSTATUS}&quot; = &quot;ANSWER&quot;]?USER)
exten =&#062; 48002,n,Answer
exten =&#062; 48002,n,Wait(1)
exten =&#062; 48002,n(USER),Set(MEETME_OPTS=qx)
exten =&#062; 48002,n,Goto(STARTMEETME,1)
exten =&#062; 48002,hint,MeetMe:48002
;---------------------end

Note: The reason for this step is to add an &#039;x&#039; option to MEETME_OPTS.

4. Edit extensions_custom.conf, section [custom-gv]. Delete/comment out ALL the existing lines in this context, then add:

;--------------start
exten =&#062; _X.,1,Wait(1)
exten =&#062; _X.,n,Playback(pls-wait-connect-call)

;room 1, GV acc 1
exten =&#062; _X.,n,Set(ACCTNAME=GVacc1)
exten =&#062; _X.,n,Set(ACCTPASS=****)
exten =&#062; _X.,n,Set(RINGBACK=SGNo1)
;exten =&#062; _X.,n,Set(GVCONFNO=48001)
exten =&#062; _X.,n,Set(GVCONFNO=48001)
;-----------------

;-----Select the available room 
exten =&#062; _X.,n,MeetMeCount(48001,mmCount)
exten =&#062; _X.,n,GotoIf($[&quot;${mmCount}&quot; = &quot;0&quot;]?ROOMREADY)

;-----------------room 2, GV acc 2
exten =&#062; _X.,n,Set(ACCTNAME=GVacc2)
exten =&#062; _X.,n,Set(ACCTPASS=****)
exten =&#062; _X.,n,Set(RINGBACK=SGNo2)
exten =&#062; _X.,n,Set(GVCONFNO=48002)
;-----------------

exten =&#062; _X.,n(ROOMREADY),System(gvoice -e ${ACCTNAME} -p ${ACCTPASS} call ${EXTEN} ${RINGBACK})
exten =&#062; _X.,n,GotoIf($[&quot;${DIALSTATUS}&quot; = &quot;ANSWER&quot;]?USER)
exten =&#062; _X.,n,Answer
exten =&#062; _X.,n,Wait(1)
exten =&#062; _X.,n(USER),Set(MEETME_OPTS=Aq)
;start Meetme
exten =&#062; _X.,n,MeetMe(${GVCONFNO},${MEETME_OPTS},${PIN})
exten =&#062; _X.,n,Hangup

Then reload your asterisk server, and there you go.

This is the example of 2 concurrent calls, you can edit to have n concurrent calls with n pairs of GV-SG

(*) One of my Google Voice has problem with Sipgate account. GV can reach SG, but the call does not pass to Asterisk. Tried with other SG accounts with the same problems. I have to use another GV acc and it works properly

Best regards,

Bao Nguyen.
nttranbao]]></description>
			<content:encoded><![CDATA[<p>Well, thank you very much for the amazing approach using pythong and Meetme. After playing for a while, finally I got it work (*). </p>
<p>I also read other comments about Meetme not hangup, and how to make 2 concurrent calls or more. Here is my solution:</p>
<p>Note: My below instruction will allow you to use 2 concurrent calls through GV. Hangup issue with Meeetme also be resolved.</p>
<p>Requiremetns: 2 GV accounts with 2 callback Sipgate (SG) numbers. </p>
<p>0. Run the setup script install-gv</p>
<p>1. Create each inbound 1-DID rule for each pair of GV-SG.</p>
<p>2. Create 2 Conference Rooms, say 48001 &amp; 48002 via FreePBX </p>
<p>3. Edit extensions_override_freepbx.conf, and add these lines:</p>
<p>;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;start<br />
[ext-meetme]<br />
exten =&gt; 48001,1,Macro(user-callerid,)<br />
exten =&gt; 48001,n,Set(MEETME_ROOMNUM=48001)<br />
exten =&gt; 48001,n,GotoIf($["${DIALSTATUS}" = "ANSWER"]?USER)<br />
exten =&gt; 48001,n,Answer<br />
exten =&gt; 48001,n,Wait(1)<br />
exten =&gt; 48001,n(USER),Set(MEETME_OPTS=qx)<br />
exten =&gt; 48001,n,Goto(STARTMEETME,1)<br />
exten =&gt; 48001,hint,MeetMe:48001</p>
<p>exten =&gt; 48002,1,Macro(user-callerid,)<br />
exten =&gt; 48002,n,Set(MEETME_ROOMNUM=48002)<br />
exten =&gt; 48002,n,GotoIf($["${DIALSTATUS}" = "ANSWER"]?USER)<br />
exten =&gt; 48002,n,Answer<br />
exten =&gt; 48002,n,Wait(1)<br />
exten =&gt; 48002,n(USER),Set(MEETME_OPTS=qx)<br />
exten =&gt; 48002,n,Goto(STARTMEETME,1)<br />
exten =&gt; 48002,hint,MeetMe:48002<br />
;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;end</p>
<p>Note: The reason for this step is to add an &#8216;x&#8217; option to MEETME_OPTS.</p>
<p>4. Edit extensions_custom.conf, section [custom-gv]. Delete/comment out ALL the existing lines in this context, then add:</p>
<p>;&#8212;&#8212;&#8212;&#8212;&#8211;start<br />
exten =&gt; _X.,1,Wait(1)<br />
exten =&gt; _X.,n,Playback(pls-wait-connect-call)</p>
<p>;room 1, GV acc 1<br />
exten =&gt; _X.,n,Set(ACCTNAME=GVacc1)<br />
exten =&gt; _X.,n,Set(ACCTPASS=****)<br />
exten =&gt; _X.,n,Set(RINGBACK=SGNo1)<br />
;exten =&gt; _X.,n,Set(GVCONFNO=48001)<br />
exten =&gt; _X.,n,Set(GVCONFNO=48001)<br />
;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>;&#8212;&#8211;Select the available room<br />
exten =&gt; _X.,n,MeetMeCount(48001,mmCount)<br />
exten =&gt; _X.,n,GotoIf($["${mmCount}" = "0&#8243;]?ROOMREADY)</p>
<p>;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;room 2, GV acc 2<br />
exten =&gt; _X.,n,Set(ACCTNAME=GVacc2)<br />
exten =&gt; _X.,n,Set(ACCTPASS=****)<br />
exten =&gt; _X.,n,Set(RINGBACK=SGNo2)<br />
exten =&gt; _X.,n,Set(GVCONFNO=48002)<br />
;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>exten =&gt; _X.,n(ROOMREADY),System(gvoice -e ${ACCTNAME} -p ${ACCTPASS} call ${EXTEN} ${RINGBACK})<br />
exten =&gt; _X.,n,GotoIf($["${DIALSTATUS}" = "ANSWER"]?USER)<br />
exten =&gt; _X.,n,Answer<br />
exten =&gt; _X.,n,Wait(1)<br />
exten =&gt; _X.,n(USER),Set(MEETME_OPTS=Aq)<br />
;start Meetme<br />
exten =&gt; _X.,n,MeetMe(${GVCONFNO},${MEETME_OPTS},${PIN})<br />
exten =&gt; _X.,n,Hangup</p>
<p>Then reload your asterisk server, and there you go.</p>
<p>This is the example of 2 concurrent calls, you can edit to have n concurrent calls with n pairs of GV-SG</p>
<p>(*) One of my Google Voice has problem with Sipgate account. GV can reach SG, but the call does not pass to Asterisk. Tried with other SG accounts with the same problems. I have to use another GV acc and it works properly</p>
<p>Best regards,</p>
<p>Bao Nguyen.<br />
nttranbao</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Adam Zweimiller		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9732</link>

		<dc:creator><![CDATA[Adam Zweimiller]]></dc:creator>
		<pubDate>Tue, 04 Aug 2009 21:03:05 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9732</guid>

					<description><![CDATA[Here is my solution for properly terminating calls when you hang up. If you use call waiting, the person is put on hold and they hear the music, if you hang up, the call is ended. Instructions can be found here: 

http://muffinworld.net/freepbx/auto_end_conference_instructions.txt

I&#039;m curious to see how you solved this, Ward. Don&#039;t make us wait until tomorrow!]]></description>
			<content:encoded><![CDATA[<p>Here is my solution for properly terminating calls when you hang up. If you use call waiting, the person is put on hold and they hear the music, if you hang up, the call is ended. Instructions can be found here: </p>
<p><a href="http://muffinworld.net/freepbx/auto_end_conference_instructions.txt" rel="nofollow ugc">http://muffinworld.net/freepbx/auto_end_conference_instructions.txt</a></p>
<p>I&#8217;m curious to see how you solved this, Ward. Don&#8217;t make us wait until tomorrow!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: A. Godong		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9731</link>

		<dc:creator><![CDATA[A. Godong]]></dc:creator>
		<pubDate>Tue, 04 Aug 2009 19:50:21 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9731</guid>

					<description><![CDATA[I forgot to mention that this parking lot method will solve the problem Terry and Tony mentioned above. This way the called party will be disconnected when you disconnect the line.]]></description>
			<content:encoded><![CDATA[<p>I forgot to mention that this parking lot method will solve the problem Terry and Tony mentioned above. This way the called party will be disconnected when you disconnect the line.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Chris		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9729</link>

		<dc:creator><![CDATA[Chris]]></dc:creator>
		<pubDate>Tue, 04 Aug 2009 17:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9729</guid>

					<description><![CDATA[I&#039;ve been trying to get this to work, but I&#039;m confused with the integration of the two DIDs and how to configure it.  I&#039;ve got one of the DID trunks running, but the guide here just seems a little vague for someone who has not had a lot of experience with this.

&lt;i&gt;[WM: See the &lt;a href=&quot;http://nerdvittles.com/?p=635&quot; rel=&quot;nofollow&quot;&gt;updated article&lt;/a&gt;. Much simpler.]&lt;/i&gt;]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to get this to work, but I&#8217;m confused with the integration of the two DIDs and how to configure it.  I&#8217;ve got one of the DID trunks running, but the guide here just seems a little vague for someone who has not had a lot of experience with this.</p>
<p><i>[WM: See the <a href="http://nerdvittles.com/?p=635" rel="nofollow">updated article</a>. Much simpler.]</i></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Adam Zweimiller		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9726</link>

		<dc:creator><![CDATA[Adam Zweimiller]]></dc:creator>
		<pubDate>Tue, 04 Aug 2009 16:30:16 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9726</guid>

					<description><![CDATA[Here is my solution to the voicemail and answering machine problem. It will automatically end the call when you hang up your home phone. I tested this by calling my cell phone and then hanging up. Before the fix, the cell phone received the hold music. Afterwards, the cell showed Call Ended. This may not be the most polished or even the best approach to this problem as I am 100% new to Asterisk and PBXs in general.

After some research I discovered that you can create a conference with an &quot;x&quot; option which will end the conference when there are no &quot;special&quot; users left. I created two different extensions in extensions_custom.conf. The first extension is where the incoming callback from your GV number is sent. This joins the conference with options Mqx. M for music on hold enabled, q for quiet mode, and x to end the conference with no special users are left.
Then I created a second extension that my home phone extension is sent two after the ringback is initiated. This dumps the home phone into the same conference, but with the &quot;A&quot; flag which sets you as special user. When you hang up, the other person is ended. It even works with call waiting. I was able to flash and answer another call, and the waiting caller received music on hold until I came back. When I hung up, the conference ended. I will post back with some specific code.]]></description>
			<content:encoded><![CDATA[<p>Here is my solution to the voicemail and answering machine problem. It will automatically end the call when you hang up your home phone. I tested this by calling my cell phone and then hanging up. Before the fix, the cell phone received the hold music. Afterwards, the cell showed Call Ended. This may not be the most polished or even the best approach to this problem as I am 100% new to Asterisk and PBXs in general.</p>
<p>After some research I discovered that you can create a conference with an "x" option which will end the conference when there are no "special" users left. I created two different extensions in extensions_custom.conf. The first extension is where the incoming callback from your GV number is sent. This joins the conference with options Mqx. M for music on hold enabled, q for quiet mode, and x to end the conference with no special users are left.<br />
Then I created a second extension that my home phone extension is sent two after the ringback is initiated. This dumps the home phone into the same conference, but with the "A" flag which sets you as special user. When you hang up, the other person is ended. It even works with call waiting. I was able to flash and answer another call, and the waiting caller received music on hold until I came back. When I hung up, the conference ended. I will post back with some specific code.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeff McDonough		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9723</link>

		<dc:creator><![CDATA[Jeff McDonough]]></dc:creator>
		<pubDate>Tue, 04 Aug 2009 03:40:59 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9723</guid>

					<description><![CDATA[I originally had used an IPKall number as my &quot;dialback&quot; number, but I don&#039;t get real callerid from IPKall - just their 206 area code number. I switched to a SipGate number and I received real callerid of callers calling my GV number, and I get my GV number as callerid on the &#039;dialback&#039; call. So - with SipGate you can use a single number, but not IPKall (by my experience, anyway).

&lt;i&gt;[WM: Thanks. We&#039;re incorporating that into the &quot;refinement&quot; article as well.]&lt;/i&gt;]]></description>
			<content:encoded><![CDATA[<p>I originally had used an IPKall number as my "dialback" number, but I don&#8217;t get real callerid from IPKall &#8211; just their 206 area code number. I switched to a SipGate number and I received real callerid of callers calling my GV number, and I get my GV number as callerid on the &#8216;dialback&#8217; call. So &#8211; with SipGate you can use a single number, but not IPKall (by my experience, anyway).</p>
<p><i>[WM: Thanks. We&#8217;re incorporating that into the "refinement" article as well.]</i></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Tony		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9722</link>

		<dc:creator><![CDATA[Tony]]></dc:creator>
		<pubDate>Tue, 04 Aug 2009 02:43:45 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9722</guid>

					<description><![CDATA[Is there a way to force the termination of the conference when you end the call?  I do see a potential security issue here.  If a called party does not hang up after the call and you make another call the previously called party could eavesdrop on the call.

&lt;i&gt;[WM: That is a shortcoming with the MeetMe conference approach unless you check your Active Channels. A refinement is underway. Stay tuned!]&lt;/i&gt;]]></description>
			<content:encoded><![CDATA[<p>Is there a way to force the termination of the conference when you end the call?  I do see a potential security issue here.  If a called party does not hang up after the call and you make another call the previously called party could eavesdrop on the call.</p>
<p><i>[WM: That is a shortcoming with the MeetMe conference approach unless you check your Active Channels. A refinement is underway. Stay tuned!]</i></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Keith Brister		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9721</link>

		<dc:creator><![CDATA[Keith Brister]]></dc:creator>
		<pubDate>Tue, 04 Aug 2009 02:42:56 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9721</guid>

					<description><![CDATA[Great job!  Here&#039;s my dialplan entry for the dialback.  This allows a single DID for both incoming and outgoing and the meetme section is protected against an outside caller from connecting after the outgoing call is initiated but before GV has made the callback.

exten =&#062; ${SIPGATE},1,MeetMeCount(4356,mmCount)
exten =&#062; ${SIPGATE},n,GotoIf($[&quot;${mmCount}&quot; != &quot;1&quot;]?incoming,s,1)
exten =&#062; ${SIPGATE},n,GotoIf($[&quot;${CALLERID(num)}&quot; != &quot;${MYGVNUMBER}&quot;]?incoming,s,1)
exten =&#062; ${SIPGATE},n,MeetMe(4356,1wFqx)
exten =&#062; ${SIPGATE},n,Hangup()]]></description>
			<content:encoded><![CDATA[<p>Great job!  Here&#8217;s my dialplan entry for the dialback.  This allows a single DID for both incoming and outgoing and the meetme section is protected against an outside caller from connecting after the outgoing call is initiated but before GV has made the callback.</p>
<p>exten =&gt; ${SIPGATE},1,MeetMeCount(4356,mmCount)<br />
exten =&gt; ${SIPGATE},n,GotoIf($["${mmCount}" != "1&#8243;]?incoming,s,1)<br />
exten =&gt; ${SIPGATE},n,GotoIf($["${CALLERID(num)}" != "${MYGVNUMBER}"]?incoming,s,1)<br />
exten =&gt; ${SIPGATE},n,MeetMe(4356,1wFqx)<br />
exten =&gt; ${SIPGATE},n,Hangup()</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Terry		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9720</link>

		<dc:creator><![CDATA[Terry]]></dc:creator>
		<pubDate>Tue, 04 Aug 2009 02:15:23 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9720</guid>

					<description><![CDATA[I have discovered one issue that I am not sure how to address.  I called someone today that does not have an answering machine.  There is no timeout so it continues to ring and ring on my conference.  If I attempt to make another call, it connects in the conference and I continue to hear the ringing from first call.  I have to manually kill it.  Any suggestions?

&lt;i&gt;[WM: That is an issue as are answering machines. Stay tuned. Refinements are in the works.]&lt;/i&gt;]]></description>
			<content:encoded><![CDATA[<p>I have discovered one issue that I am not sure how to address.  I called someone today that does not have an answering machine.  There is no timeout so it continues to ring and ring on my conference.  If I attempt to make another call, it connects in the conference and I continue to hear the ringing from first call.  I have to manually kill it.  Any suggestions?</p>
<p><i>[WM: That is an issue as are answering machines. Stay tuned. Refinements are in the works.]</i></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ewb		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9719</link>

		<dc:creator><![CDATA[ewb]]></dc:creator>
		<pubDate>Tue, 04 Aug 2009 01:24:53 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9719</guid>

					<description><![CDATA[Ward, Thanks for the excellent article.  I am working on installing it myself, but something does not quite line up.  When Click2call is done from the website, the system allows one to pick which number the call will be received on.  When that number has the call coming in, the CallerID information is your GV.  I believe this has been alluded to in other comments, but I also wanted to mention that this does not need to be limited to US calls.  While non-US calls will be paid for out of your balance, it should not prevent one from calling non-US numbers.  (appropriate dialplan updates would be needed, but that is left as an exercise for the reader)]]></description>
			<content:encoded><![CDATA[<p>Ward, Thanks for the excellent article.  I am working on installing it myself, but something does not quite line up.  When Click2call is done from the website, the system allows one to pick which number the call will be received on.  When that number has the call coming in, the CallerID information is your GV.  I believe this has been alluded to in other comments, but I also wanted to mention that this does not need to be limited to US calls.  While non-US calls will be paid for out of your balance, it should not prevent one from calling non-US numbers.  (appropriate dialplan updates would be needed, but that is left as an exercise for the reader)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeffrey		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9718</link>

		<dc:creator><![CDATA[Jeffrey]]></dc:creator>
		<pubDate>Mon, 03 Aug 2009 18:02:30 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9718</guid>

					<description><![CDATA[Newbie question.

&quot;As this is written, the only restrictions on use to make free U.S. calls are those set forth in the Google Voice Terms of Service.&quot; Doesn&#039;t it also depend on the free service provided by either IPKall or SIPgate? Don&#039;t they provide the gateway functionality between PSTN and SIP?

In the Gizmo model, Google Voice is acting as gateway to bridge PSTN and SIP domain. With this new design, the DID numbers entered in Google Voice are regular PSTN numbers hence the inbound call made by Google is through PSTN, then switched into SIP by IPKall or SIPgate.

&lt;i&gt;[WM: You&#039;re correct. IPkall, at least, has been at this a very long time and is also an &lt;a href=&quot;http://en.wikipedia.org/wiki/Incumbent_local_exchange_carrier&quot; rel=&quot;nofollow&quot;&gt;ILEC&lt;/a&gt; which means they get revenue from the caller every time a call is placed to one of their DIDs.]&lt;/i&gt;]]></description>
			<content:encoded><![CDATA[<p>Newbie question.</p>
<p>"As this is written, the only restrictions on use to make free U.S. calls are those set forth in the Google Voice Terms of Service." Doesn&#8217;t it also depend on the free service provided by either IPKall or SIPgate? Don&#8217;t they provide the gateway functionality between PSTN and SIP?</p>
<p>In the Gizmo model, Google Voice is acting as gateway to bridge PSTN and SIP domain. With this new design, the DID numbers entered in Google Voice are regular PSTN numbers hence the inbound call made by Google is through PSTN, then switched into SIP by IPKall or SIPgate.</p>
<p><i>[WM: You&#8217;re correct. IPkall, at least, has been at this a very long time and is also an <a href="http://en.wikipedia.org/wiki/Incumbent_local_exchange_carrier" rel="nofollow">ILEC</a> which means they get revenue from the caller every time a call is placed to one of their DIDs.]</i></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Skavoovie		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9717</link>

		<dc:creator><![CDATA[Skavoovie]]></dc:creator>
		<pubDate>Mon, 03 Aug 2009 17:12:32 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9717</guid>

					<description><![CDATA[FYI -- I requested a Google Voice invite July 27 and recevied my invite July 30.

Good news for anyone who hasn&#039;t yet submitted an invite request -- looks like the turn-around time has continued to shrink!]]></description>
			<content:encoded><![CDATA[<p>FYI &#8212; I requested a Google Voice invite July 27 and recevied my invite July 30.</p>
<p>Good news for anyone who hasn&#8217;t yet submitted an invite request &#8212; looks like the turn-around time has continued to shrink!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rhett		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9716</link>

		<dc:creator><![CDATA[Rhett]]></dc:creator>
		<pubDate>Mon, 03 Aug 2009 16:44:37 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9716</guid>

					<description><![CDATA[Can it pass inbound DTMF tones?  Example can I direct GV/IPKall to my IVR and have it except DTMF to move through options?]]></description>
			<content:encoded><![CDATA[<p>Can it pass inbound DTMF tones?  Example can I direct GV/IPKall to my IVR and have it except DTMF to move through options?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Andy Lauppe		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9715</link>

		<dc:creator><![CDATA[Andy Lauppe]]></dc:creator>
		<pubDate>Mon, 03 Aug 2009 16:09:06 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9715</guid>

					<description><![CDATA[Hey Ward - nice work putting all this together, and a big thanks to the pygooglevoice team. The system works quite well!

I&#039;ve noticed the logical issue with dialing someone and getting their voicemail - is there a way to use meetme&#039;s &#039;wait for admin&#039; or similar feature to allow yourself to hang up the far end when you&#039;re done leaving a message? As it currently stands, the conference stays up as long as the other user doesn&#039;t hang up - in this example, AT&#038;T or Verizon&#039;s voicemail system.

Thoughts?

Obviously not a deal-killer. Really great work everyone!

Ward - I&#039;m still &#039;working on&#039; (read: thinking about working on) that OpenVPN tutorial for you...]]></description>
			<content:encoded><![CDATA[<p>Hey Ward &#8211; nice work putting all this together, and a big thanks to the pygooglevoice team. The system works quite well!</p>
<p>I&#8217;ve noticed the logical issue with dialing someone and getting their voicemail &#8211; is there a way to use meetme&#8217;s &#8216;wait for admin&#8217; or similar feature to allow yourself to hang up the far end when you&#8217;re done leaving a message? As it currently stands, the conference stays up as long as the other user doesn&#8217;t hang up &#8211; in this example, AT&amp;T or Verizon&#8217;s voicemail system.</p>
<p>Thoughts?</p>
<p>Obviously not a deal-killer. Really great work everyone!</p>
<p>Ward &#8211; I&#8217;m still &#8216;working on&#8217; (read: thinking about working on) that OpenVPN tutorial for you&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Richard Bateman		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9714</link>

		<dc:creator><![CDATA[Richard Bateman]]></dc:creator>
		<pubDate>Mon, 03 Aug 2009 15:50:13 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9714</guid>

					<description><![CDATA[Another way to implement this that has worked well for me, but would require modifying the default install. (I wrote my own hack in PHP that does the web magic to initiate the call)

1. Add dialplan for outgoing calls to call the AGI script and then Park()
2. Set your parking lot to use extention 8 (this is for brevity)
3. Set the incoming dialplan for (your_line/gvoice_num) to Wait(3) and then ParkedCall(8)

my extensions_custom looks like this:

[into_parked]
exten =&#062; 1747XXXXXXX/801XXXXXXX,1,Wait(2)
exten =&#062; 1747XXXXXXX/801XXXXXXX,2,ParkedCall(8)

[call_gvoice]
exten =&#062; _X.,1,AGI(gvoice/agiGVoice.php&#124;${EXTEN})
exten =&#062; _X.,2,Park(8)

When you call out, you&#039;ll get a dealy while it logs on and tells gvoice to make the call, and then you&#039;ll hear &quot;8&quot; (parking in spot 8), and then it will start ringing as the incoming call is connected to that parking lot.

Has been working great for me for awhile; you can make multiple outgoing calls just fine, though you need multiple google voice numbers and you can&#039;t make them at the same time.]]></description>
			<content:encoded><![CDATA[<p>Another way to implement this that has worked well for me, but would require modifying the default install. (I wrote my own hack in PHP that does the web magic to initiate the call)</p>
<p>1. Add dialplan for outgoing calls to call the AGI script and then Park()<br />
2. Set your parking lot to use extention 8 (this is for brevity)<br />
3. Set the incoming dialplan for (your_line/gvoice_num) to Wait(3) and then ParkedCall(8)</p>
<p>my extensions_custom looks like this:</p>
<p>[into_parked]<br />
exten =&gt; 1747XXXXXXX/801XXXXXXX,1,Wait(2)<br />
exten =&gt; 1747XXXXXXX/801XXXXXXX,2,ParkedCall(8)</p>
<p>[call_gvoice]<br />
exten =&gt; _X.,1,AGI(gvoice/agiGVoice.php|${EXTEN})<br />
exten =&gt; _X.,2,Park(8)</p>
<p>When you call out, you&#8217;ll get a dealy while it logs on and tells gvoice to make the call, and then you&#8217;ll hear "8&#8243; (parking in spot 8), and then it will start ringing as the incoming call is connected to that parking lot.</p>
<p>Has been working great for me for awhile; you can make multiple outgoing calls just fine, though you need multiple google voice numbers and you can&#8217;t make them at the same time.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: A. Godong		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9711</link>

		<dc:creator><![CDATA[A. Godong]]></dc:creator>
		<pubDate>Mon, 03 Aug 2009 15:14:37 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9711</guid>

					<description><![CDATA[Mine shown the callback# from my GV#. It does work on my instance.]]></description>
			<content:encoded><![CDATA[<p>Mine shown the callback# from my GV#. It does work on my instance.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: A. Godong		</title>
		<link>https://nerdvittles.com/the-wedding-is-on-asterisk-and-google-voice-tie-the-knot/comment-page-1/#comment-9710</link>

		<dc:creator><![CDATA[A. Godong]]></dc:creator>
		<pubDate>Mon, 03 Aug 2009 14:59:59 +0000</pubDate>
		<guid isPermaLink="false">http://nerdvittles.com/?p=633#comment-9710</guid>

					<description><![CDATA[Let me know if I&#039;m wrong, I think we may not need two DID to do this, a single DID will be sufficient. To do this trick: since GV send GV# caller ID so we can capture this on our inbound route to route to the conference. Just need to make sure that the General setting in google voice for Caller ID shows Display Caller&#039;s number instead of Display my Google Voice number.

So in the inbound route, if the CID on that DID match GV#, point that to your unique conference, otherwise, point it to your inbound extension.

&lt;i&gt;It depends whether the RingBack calls display the number of the person being called or the GV main number. If it&#039;s the latter, it would work. But I suspect it&#039;s going to show the number of the person being called. Try it and let us know.]&lt;/i&gt;]]></description>
			<content:encoded><![CDATA[<p>Let me know if I&#8217;m wrong, I think we may not need two DID to do this, a single DID will be sufficient. To do this trick: since GV send GV# caller ID so we can capture this on our inbound route to route to the conference. Just need to make sure that the General setting in google voice for Caller ID shows Display Caller&#8217;s number instead of Display my Google Voice number.</p>
<p>So in the inbound route, if the CID on that DID match GV#, point that to your unique conference, otherwise, point it to your inbound extension.</p>
<p><i>It depends whether the RingBack calls display the number of the person being called or the GV main number. If it&#8217;s the latter, it would work. But I suspect it&#8217;s going to show the number of the person being called. Try it and let us know.]</i></p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
