[Freeswitch-users] Inbound using FS

Gopalakrishnan A.N saigop at gmail.com
Mon Jun 8 21:47:21 PDT 2009


Hi Rex,
    You need to allow your acl in internal.xml like the one,

<param name="apply-inbound-acl" value="internal-network"/>

Change the internal-network according to your configuration you allowed in
acl.conf.xml.

I have tested with audiocode with PRI line its working fine.

On Mon, Jun 8, 2009 at 10:52 PM, Peter Olsson <
peter.olsson at visionutveckling.se> wrote:

> Are you able to see anything at all in the console/log?
>
> I'm starting to doubt that the call even gets into the FS box... :)
>
> Try enabling more logs (console loglevel debug), and try again.
>
>
> On 09-06-08 19.04, "Rex_Alex" <rex.alex345 at yahoo.com> wrote:
>
>
>
>
>
> Hello,
>
>         Yes you are right. they are the on the same LAN. Inboun-acl added
> in internal profile as well and restarted the FS completely. But no luck..
> Please help us to resolve the same..
>
> Thanks,
> Rex
>
>
> Peter Olsson wrote:
> >
> > The PRI/SIP-box probably talks to the internal profile (I guess that they
> > are on the same LAN). Try to add the inbound-acl to the internal profile
> > as well. Also restart FS completely, just to be 100% sure that config is
> > reloaded.
> >
> > //Peter
> >
> >
> > On 09-06-08 18.34, "Rex_Alex" <rex.alex345 at yahoo.com> wrote:
> >
> >
> >
> > Hello,
> >
> > I am not sure about the profile which I am calling into.
> >
> > My scenario is this, I am trying to reach extn 1007 registered in FS
> > server
> > from my mobile through an inbound PRI connected to the audiocode with DID
> > 123456.
> >
> > Thanks,
> > Rex
> >
> >
> >
> > Peter Olsson wrote:
> >>
> >> I don't see what you've added. But I guess it's something like     .
> >>
> >> Are you sure you're dialing into the external profile? It's on port 5080
> >> by default, and the internal is on 5060.
> >>
> >> /Peter
> >>
> >>
> >> On 09-06-08 17.53, "Rex_Alex" <rex.alex345 at yahoo.com> wrote:
> >>
> >>
> >>
> >> Hello Peter,
> >>
> >> Yes, I have added
> >>
> >>
> >>
> >> under <settings> tag in sip_profiles/external.xml
> >>
> >> Thanks,
> >> Rex
> >>
> >>
> >>
> >> Peter Olsson wrote:
> >>>
> >>> Have you configured the sip profile to use the acl list you have
> created
> >>> (Inbound_Test)?
> >>>
> >>> /Peter
> >>>
> >>>
> >>> ----- Ursprungligt meddelande -----
> >>> Från: Rex_Alex <rex.alex345 at yahoo.com>
> >>> Skickat: den 8 juni 2009 17:40
> >>> Till: freeswitch-users at lists.freeswitch.org
> >>> <freeswitch-users at lists.freeswitch.org>
> >>> Ämne: Re: [Freeswitch-users] Inbound using FS
> >>>
> >>>
> >>> Hi Brian,
> >>>
> >>> I am using audiocode box with IP 2.2.2.2 and FS with IP 1.1.1.1
> >>>
> >>> Addions made are,
> >>>
> >>> acl.conf.xml
> >>>
> >>> <list name="Inbound_Test" default="allow">
> >>>   <node type="allow" cidr="2.2.2.2/32"/>
> >>> </list>
> >>>
> >>> freeswitch.xml
> >>>
> >>> <X-PRE-PROCESS cmd="set" data="internal_auth_calls=true"/>
> >>>
> >>> sip_profiles/external.xml
> >>>
> >>>  under <settings> tag
> >>>
> >>> public.xml
> >>>
> >>> <extension name="Inbound">
> >>>         <condition field="destination_number" expression="^(123456)$">
> >>>                 <action application="transfer" data="$1 XML default"/>
> >>>         </condition>
> >>> </extension>
> >>>
> >>> default.xml
> >>>
> >>> <extension name="Inbound">
> >>>         <condition field="destination_number" expression="^123456$">
> >>>                 <action application="ring_ready" />
> >>>                 <action application="set" data="call_timeout=20"/>
> >>>                 <action application="bridge"
> >>> data="sofia/internal/1007%1.1.1.1"/>
> >>>         </condition>
> >>> </extension>
> >>>
> >>> Still, Inbound is not hitting my FS console itself. Please assist where
> >>> am
> >>> I
> >>> going wrong?
> >>>
> >>> Thanks,
> >>> Rex
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Brian West wrote:
> >>>>
> >>>>
> >>>> On Jun 2, 2009, at 11:11 AM, Rex_Alex wrote:
> >>>>
> >>>>>
> >>>>> Hello,
> >>>>>
> >>>>> My public.xml configration is:
> >>>>>
> >>>>>   <extension name="inboundsip">
> >>>>>    <condition field="destination_number" expression="^123456$">  <!--
> >>>>> where
> >>>>> 123456 is my DID number from my service provider -->
> >>>>>    <action application="transfer" data="$1 XML default"/>
> >>>>>    </condition>
> >>>>>   </extension>
> >>>>
> >>>> $1 will not exist in this case because your regular expression doesn't
> >>>> capture anything.  So replace $1 with your target number or use
> >>>> ^(123456)$
> >>>>
> >>>>
> >>>>>
> >>>>> My default.xml configration is:
> >>>>>
> >>>>>  <extension name="Inbound">
> >>>>>    <condition field="destination_number" expression="^*****$">
> >>>>>      <action application="ring_ready" />
> >>>>>      <action application="set" data="call_timeout=20"/>
> >>>>>      <action application="bridge"
> data="sofia/sip/1001%freeswitchip"/>
> >>>>>    </condition>
> >>>>>  </extension>
> >>>>
> >>>> Can you elaborate how you're registering with your provider?
> >>>>
> >>>>
> >>>>>
> >>>>>
> >>>>> When I am trying to call 123456 from my mobile no. Not able to see
> any
> >>>>> logging in FS console. Please assist where I am going wrong? Or do I
> >>>>> require
> >>>>> any extra modules to be installed?
> >>>>>
> >>>>> Thanks,
> >>>>> Rex
> >>>>
> >>>> Brian West
> >>>> brian at freeswitch.org
> >>>>
> >>>> -- Meet us at ClueCon!  http://www.cluecon.com
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Freeswitch-users mailing list
> >>>> Freeswitch-users at lists.freeswitch.org
> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>>> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >>>> http://www.freeswitch.org
> >>>>
> >>>>
> >>>
> >>> --
> >>> View this message in context:
> >>> http://n2.nabble.com/Inbound-using-FS-tp3012286p3043665.html
> >>> Sent from the freeswitch-users mailing list archive at Nabble.com.
> >>>
> >>>
> >>> _______________________________________________
> >>> Freeswitch-users mailing list
> >>> Freeswitch-users at lists.freeswitch.org
> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >>> http://www.freeswitch.org
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Freeswitch-users mailing list
> >>> Freeswitch-users at lists.freeswitch.org
> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >>> http://www.freeswitch.org
> >>>
> >>>
> >>
> >> --
> >> View this message in context:
> >> http://n2.nabble.com/Inbound-using-FS-tp3012286p3043804.html
> >> Sent from the freeswitch-users mailing list archive at Nabble.com.
> >>
> >>
> >> _______________________________________________
> >> Freeswitch-users mailing list
> >> Freeswitch-users at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> http://www.freeswitch.org
> >>
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Freeswitch-users mailing list
> >> Freeswitch-users at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> http://www.freeswitch.org
> >>
> >>
> >
> > --
> > View this message in context:
> > http://n2.nabble.com/Inbound-using-FS-tp3012286p3044052.html
> > Sent from the freeswitch-users mailing list archive at Nabble.com.
> >
> >
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> >
>
> --
> View this message in context:
> http://n2.nabble.com/Inbound-using-FS-tp3012286p3044219.html
> Sent from the freeswitch-users mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
> !DSPAM:4a2d45dc32931463593608!
>
>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Thank you  with regards,
Gopal,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090609/152e72bf/attachment-0002.html 


More information about the FreeSWITCH-users mailing list