<div dir="ltr">The extension is a red herring I think... I had it in there because, like you, the first way I got this working was to set it up as a user extension not a trunk, and in that mode it caused extension 102 to ring. When it is setup as a trunk, the extension entered is irrelevant I think... your incoming call rules is going to determine where all calls from this trunk route to, the SPA is not like a VoIP service provider where you may have multiple DID's and want to match on a DID number to determine routing (I'm assuming you can still do DID matching in the incoming call rules on GUI v2, like v1). The SPA only has one line in, so routing any call on the incoming trunk is all you need.<br>
<br>Regards<br>David<br><br><div class="gmail_quote">On Thu, Sep 18, 2008 at 3:38 AM, Fadi Almasalha <span dir="ltr"><<a href="mailto:falmas2@uic.edu">falmas2@uic.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">David , Thanks a lot , the settings works with me , but can you
explain to me how did you setup the 102 extension to hit the incoming rules.</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">GUI 2 only let define incoming rules for trunk only . Thanks a
lot for your help </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Yours </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Fadi </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:asterisk-gui-bounces@lists.digium.com" target="_blank">asterisk-gui-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-gui-bounces@lists.digium.com" target="_blank">asterisk-gui-bounces@lists.digium.com</a>] <b>On Behalf Of </b>David Kerr<br>
<b>Sent:</b> Wednesday, September 17, 2008 9:21 PM<div><div></div><div class="Wj3C7c"><br>
<b>To:</b> Asterisk GUI project discussion<br>
<b>Subject:</b> Re: [asterisk-gui] Linksys ATA SPA3102 Using The GUI</div></div></span></p>
</div><div><div></div><div class="Wj3C7c">
<p> </p>
<div>
<p style="margin-bottom: 12pt;">You have to create it as a
trunk, not a user. I have a SPA3000 (earlier version of the 3102 I think)
working this way. For host URL enter "dynamic" this tells
Asterisk not to register with the service provider, but rather that the service
provider (the SPA3102) will register with Asterisk. enter a
userid/password that the SPA will use to Authenticate with Asterisk. My context
in Users.conf ended up looking like this... (this was built with the v1 GUI,
but I manually added some lines like qualify. v2 should build a similar entry
for you)<br>
<br>
<span><span style="font-size: 9pt; color: black;">[localPSTN]</span></span><span style="font-size: 9pt; color: black;"><br>
<span>allow=ulaw,alaw,gsm,g726</span><br>
<span>context=DID_localPSTN</span><br>
<span>dialformat=${EXTEN:1}</span><br>
<span>canreinvite=no</span><br>
<span>hasexten=no</span><br>
<span>hasiax=no</span><br>
<span>hassip=yes</span><br>
<span>host=dynamic</span><br>
<span>type=friend</span><br>
<span>qualify=yes</span><br>
<span>registeriax=no</span><br>
<span>registersip=no</span><br>
<span>secret=password</span><br>
<span>trunkname=Custom - localPSTN</span><br>
<span>trunkstyle=customvoip</span><br>
<span>username=localPSTN</span><br>
<span>insecure=very</span><br>
<span>dtmfmode=auto</span></span><br>
<br>
You also need to configure the PSTN Line of the SPA to enable the PSTN to VoIP
Gateway and set a PSTN answer delay of about 3 seconds (to give time for the CallerID
to come through) and set the PSTN Caller Default DP to one of the dial plans (I
used "1"). You need to set up this Dial Plan to tell the SPA to
call through to Asterisk on incoming calls. In my case I set
"(S0<:102>)" which means zero seconds delay, try and call
extension 102. But the extension number is actually not used by asterisk, as it
hits the incoming call rules logic rather than go to the extension. <br>
<br>
Hope this helps.<br>
<br>
David</p>
<div>
<p>On Wed, Sep 17, 2008 at 4:42 PM, Fadi Almasalha <<a href="mailto:falmas2@uic.edu" target="_blank">falmas2@uic.edu</a>> wrote:</p>
<p>You can't Create an analog trunk without any hardware FXO
PCI Cards</p>
<div>
<div>
<p><br>
-----Original Message-----<br>
From: <a href="mailto:asterisk-gui-bounces@lists.digium.com" target="_blank">asterisk-gui-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-gui-bounces@lists.digium.com" target="_blank">asterisk-gui-bounces@lists.digium.com</a>]
On Behalf Of Pari Nannapaneni<br>
Sent: Wednesday, September 17, 2008 3:39 PM<br>
To: Asterisk GUI project discussion<br>
Subject: Re: [asterisk-gui] Linksys ATA SPA3102 Using The GUI<br>
<br>
> I have created a regular user account and linked it to the SPA3102<br>
<br>
you should probably create an analog trunk and connect the SPA3102<br>
like just any other PSTN connection.<br>
<br>
-Pari<br>
<br>
----- Original Message -----<br>
From: "Fadi Almasalha" <<a href="mailto:falmas2@uic.edu" target="_blank">falmas2@uic.edu</a>><br>
To: <a href="mailto:asterisk-gui@lists.digium.com" target="_blank">asterisk-gui@lists.digium.com</a><br>
Sent: Wednesday, September 17, 2008 3:23:33 PM GMT -06:00 US/Canada Central<br>
Subject: [asterisk-gui] Linksys ATA SPA3102 Using The GUI<br>
<br>
Hi ,<br>
<br>
I am not able to create a sip trunk using the asterisk GUI 2.0 for Linksys SPA
3102 . Please any ideas how to create a sip trunk on the GUI .<br>
<br>
I have created a regular user account and linked it to the SPA3102 , It receive
calls and make calls with no problem . but the only problem that I can't
configure the incoming call rules , as it only support the trunk method .<br>
<br>
Yours Fadi<br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-gui mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-gui" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-gui</a><br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-gui mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-gui" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-gui</a><br>
<br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-gui mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-gui" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-gui</a></p>
</div>
</div>
</div>
<p> </p>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>