Now the console is showing that there's an inbound call, but I don't know how to route it to an extension, which I'm gathering is in the dialplan? There were some "advanced" examples in the documentation but nothing with something simple like "route all calls to extension 1001" - which I will plan to add to the wiki when I get this figured out!<br>
<br>I admit to being a complete nube - barely know linux, regex etc. My contribution will be in documentation for nubes like myself! :-)<br><br>Here's the console log:<br><br>2008-06-05 01:07:04 [NOTICE] switch_channel.c:533 switch_channel_set_name() New Channel sofia/external/<a href="mailto:4153084258@64.34.181.47">4153084258@64.34.181.47</a> [38a9fd64-dd73-4b6a-9cd9-9cd4675261ea]<br>
# that is my inbound DID<br>2008-06-05 01:07:04 [INFO] mod_dialplan_xml.c:222 dialplan_hunt() Processing NOT FOUND->4153581872@public<br>2008-06-05 01:07:04 [INFO] switch_core_state_machine.c:114 switch_core_standard_on_routing() No Route, Aborting<br>
2008-06-05 01:07:04 [NOTICE] switch_core_state_machine.c:115 switch_core_standard_on_routing() Hangup sofia/external/<a href="mailto:4153084258@64.34.181.47">4153084258@64.34.181.47</a> [CS_ROUTING] [NO_ROUTE_DESTINATION]<br>
2008-06-05 01:07:04 [NOTICE] switch_core_session.c:753 switch_core_session_thread() Session 8 (sofia/external/<a href="mailto:4153084258@64.34.181.47">4153084258@64.34.181.47</a>) Ended<br>2008-06-05 01:07:04 [NOTICE] switch_core_session.c:755 switch_core_session_thread() Close Channel sofia/external/<a href="mailto:4153084258@64.34.181.47">4153084258@64.34.181.47</a> [CS_HANGUP]<br>
<br><br><br><br><div class="gmail_quote">On Wed, Jun 4, 2008 at 5:36 PM, Brian West <<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>> 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 style="">You'll need to set from-user on freeswitch also.<div><br></div><font color="#888888"><div>/b</div></font><div><div></div><div class="Wj3C7c"><div><br><div><div>On Jun 4, 2008, at 7:26 PM, Brian B wrote:</div>
<br><blockquote type="cite">Here are the Elastix/Asterisk settings that were working. Brian West remarked that I have to "add it to the dialplan in addition to registration". Can anyone give me a pointer on that?<br>
<br><b>Inbound</b><br> registration string: <a href="http://16643:password@did.voip.les.net/16643" target="_blank">16643:password@did.voip.les.net/16643</a><br>User context: from-trunk<br>User Details:<br>canreinvite=no<br>
context=from-trunk<br>insecure=very<br>nat=yes<br>type=user<br><br><b>Outbound<br></b>canreinvite=no<br>context=from-trunk<br>dtmf=inband<br>dtmfmode=inband<br>fromuser=16643<br>host=<a href="http://did.voip.les.net" target="_blank">did.voip.les.net</a><br>
insecure=very<br>nat=yes<br>qualify=yes<br>secret=pass<br>type=peer<br>user=phone<br>username=16643<b><br></b><br><div class="gmail_quote">On Wed, Jun 4, 2008 at 4:08 PM, Brian West <<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">how about you reply with the settings you currently use for Asterisk?<br> <font color="#888888"><br>
/b<br> </font><div><div></div><div><br> On Jun 4, 2008, at 5:30 PM, Klaus Teller wrote:<br> <br> > Hi Brian,<br> ><br> > I created a LES profile located at sip_profiles/external/les.xml<br> > with following content:<br>
><br> > <include><br> > <gateway name="<a href="http://did.voip.les.net" target="_blank">did.voip.les.net</a>"><br> > <param name="username" value="1490236124"/><br>
> <param name="realm" value="<a href="http://did.voip.les.net" target="_blank">did.voip.les.net</a>"/><br> > <param name="password" value="mash.n2rown4"/><br> > </gateway><br>
> </include><br> ><br> ><br> > My dialing is actually done in a Javascript file in the following way:<br> ><br> > session.execute("bridge","sofia/gateway/<a href="http://did.voip.les.net/" target="_blank">did.voip.les.net/</a><br>
> 14156113200");<br> ><br> > Since you already have LES working with Asterisk, I guess you know<br> > about the settings that you need on the LES side. But you (or<br> > somebody else) might still want to know what is works for me.<br>
><br> ><br> > In the <a href="http://les.net" target="_blank">les.net</a> management console I createa a Peer/Trunk. To do<br> > this follow the following steps:<br> ><br> > 1) Login at <a href="http://les.net" target="_blank">les.net</a><br>
> 2) On the left menu click on "Peers / Trunk"<br> > 3) then click on "create peer"<br> > 4) Next click on "Edit" to edit the settings for this trunk.<br> > 5) Specify the IP Address and the password of the trunk.<br>
><br> ><br> > Hope this solves your problem.<br> ><br> > Klaus.<br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> ><br> > -------- Original-Nachricht --------<br>
>> Datum: Wed, 4 Jun 2008 12:37:51 -0700<br> >> Von: "Brian B" <<a href="mailto:freeswitch@brian-burt.com" target="_blank">freeswitch@brian-burt.com</a>><br> >> An: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
>> Betreff: [Freeswitch-users] FS installed, but no external calls<br> ><br> >> FS is definitely up and running on my Lylix VPS, which is exciting.<br> >> X-Lite<br> >> is dialed in and can talk to the IVR etc. But no inbound or outbound<br>
>> calls.<br> >><br> >> I tried configuring <a href="http://les.net" target="_blank">les.net</a> (which I got working in * on the same<br> >> box) but<br> >> couldn't get that working, and sofia status is NOREG.<br>
>><br> >> I got gizmo to where status is REGED but from XLite when I dial a<br> >> 10 digit<br> >> number the console shows<br> >> [INFO] switch_core_state_machine.c:114<br> >> switch_core_standard_on_routing()<br>
>> No<br> >> Route, Aborting<br> >><br> >><br> >> Any tips ...or is there an affordable contractor out there who can<br> >> get a<br> >> "hello world" call going?<br> >><br>
>><br> >><br> >> sofia status<br> >> API CALL [sofia(status)] output:<br> >> Name Type<br> >> Data State<br> >> =<br> >> =<br> >> =<br>
>> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br>
>> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =====================================================================<br>
>> internal profile<br> >> <a href="http://sip:mod_sofia@67.228.218.111:5060" target="_blank">sip:mod_sofia@67.228.218.111:5060</a><br> >> RUNNING (0)<br> >> nat profile<br>
>> <a href="http://sip:mod_sofia@67.228.218.111:5070" target="_blank">sip:mod_sofia@67.228.218.111:5070</a><br> >> RUNNING (0)<br> >> default alias<br> >> internal ALIASED<br>
>> external profile<br> >> <a href="http://sip:mod_sofia@67.228.218.111:5080" target="_blank">sip:mod_sofia@67.228.218.111:5080</a><br> >> RUNNING (0)<br> >> gizmo gateway<br>
>> <a href="mailto:sip%3A17476481805@proxy01.sipphone.com" target="_blank">sip:17476481805@proxy01.sipphone.com</a><<a href="mailto:sip%253A17476481805@proxy01.sipphone.com" target="_blank">sip%3A17476481805@proxy01.sipphone.com</a><br>
>> ><br> >> REGED<br> >> lesnet gateway<br> >> <a href="mailto:sip%3A16643@did.voip.les.net" target="_blank">sip:16643@did.voip.les.net</a><<a href="mailto:sip%253A16643@did.voip.les.net" target="_blank">sip%3A16643@did.voip.les.net</a>><br>
>> NOREG<br> >> <a href="http://67.228.218.111" target="_blank">67.228.218.111</a> alias<br> >> internal ALIASED<br> >> outbound alias<br> >> external ALIASED<br>
>> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br>
>> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =<br> >> =====================================================================<br>
>><br> >><br> >> Thanks for any tips or suggestions!<br> >><br> >> -Brian B<br> ><br> > --<br> > Psssst! Schon vom neuen GMX MultiMessenger gehört?<br> > Der kann`s mit allen: <a href="http://www.gmx.net/de/go/multimessenger" target="_blank">http://www.gmx.net/de/go/multimessenger</a><br>
><br> > _______________________________________________<br> > Freeswitch-users mailing list<br> > <a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> <br> <br> _______________________________________________<br> Freeswitch-users mailing list<br> <a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> </div></div></blockquote></div><br><br> _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br>