[Freeswitch-users] Svar: Re: pfSense with Freeswitch - so far so good, but no calls going through
Nandy Dagondon
nandy1925 at gmail.com
Tue Dec 8 14:45:15 PST 2009
have you created Extension 1002?
-nandy
On Wed, Dec 9, 2009 at 3:20 AM, mailinglist <mailinglist at fribert.dk> wrote:
> Hi All
>
> Ok, after reading a bit more I think I see what I've done wrong, but I
> don't know how to fix it properly.
> Looking in the Dialplan directory I see the following:
> default (dir)
> default.xml
> features.xml
> public (dir)
> public.xml
>
> Under the default dir the webinterface has created the 001_musimi.dk.xml
> file that I've created.
> But as I understand it, it doesn't use it.
>
> How do I make it use it, I would very much like to keep the webinterface
> editor, and not have to do it via ssh and vi all the time.
>
> >>> 08-12-2009 kl. 07:05 skrev "mailinglist" <mailinglist at fribert.dk> i
> meddelelsen <4B1DFABC020000E1000002C2 at mail.fribert.dk>:
> Hi Mark
>
> Ok, thanks.
> Yes I have a gateway placed in external called musimi.dk (or should it be
> in public?), and I'll just create the empty XML's in lan to get rid of that
> error.
>
> I'll remove the second part of the dialplan, my idea was that it was needed
> for calls between sip phones hooked up to the freeswitch.
>
> Now the remaining problem:
> When I call ext 1002 from ext 1001 I see this message and get an error, the
> same goes for dialing 0XXXXXXXX to get an external number:
>
> 2009-12-08 07:02:20.522883 [NOTICE] switch_channel.c:602 New Channel
> sofia/internal/1001 at 10.11.12.25 [b2b1253f-bfe3-de11-af59-000c29b7b4cb]
> 2009-12-08 07:02:20.522883 [INFO] mod_dialplan_xml.c:252 Processing
> 1001->1002 in context default
> 2009-12-08 07:02:20.522883 [NOTICE] switch_channel.c:602 New Channel
> sofia/external/$1 [199e263f-bfe3-de11-af59-000c29b7b4cb]
> 2009-12-08 07:02:20.642371 [NOTICE] sofia.c:3770 Hangup sofia/external/$1
> [CS_CONSUME_MEDIA] [NO_ROUTE_DESTINATION]
> 2009-12-08 07:02:20.642371 [INFO] mod_dptools.c:2091 Originate Failed.
> Cause: NO_ROUTE_DESTINATION
> 2009-12-08 07:02:20.642371 [NOTICE] mod_dptools.c:2123 Hangup
> sofia/internal/1001 at 10.11.12.25 [CS_EXECUTE] [NO_ROUTE_DESTINATION]
> 2009-12-08 07:02:20.663502 [NOTICE] switch_core_session.c:1085 Session 2
> (sofia/external/$1) Ended
> 2009-12-08 07:02:20.663502 [NOTICE] switch_core_session.c:1087 Close
> Channel sofia/external/$1 [CS_DESTROY]
> 2009-12-08 07:02:20.663502 [NOTICE] switch_core_session.c:1085 Session 1 (
> sofia/internal/1001 at 10.11.12.25) Ended
> 2009-12-08 07:02:20.663502 [NOTICE] switch_core_session.c:1087 Close
> Channel sofia/internal/1001 at 10.11.12.25 [CS_DESTROY]
> I don't see any mention of the statements in the Dialplan, so for me it
> looks like it haven't registered the Dialplan?
>
> Best regards
> Kenneth
>
> >>> 08-12-2009 kl. 03:05 skrev Mark Crane <mctch at yahoo.com> i meddelelsen
> 659603.29094.qm at web56408.mail.re3.yahoo.com:
>
> Question ----------------------------------------------
> If I do a reloadxml it gives me this output on the console:
> freeswitch at firewall.fribert.dk<http://us.mc564.mail.yahoo.com/mc/compose?to=freeswitch@firewall.fribert.dk>>
> reloadxml
> 2009-12-07 21:21:40.381445 [ERR] switch_xml.c:1282 Couldnt open
> /usr/local/freeswitch/conf/autoload_configs/../sip_profiles/lan/*.xml (No
> such file or directory)
> Error including
> /usr/local/freeswitch/conf/autoload_configs/../sip_profiles/lan/*.xml (No
> such file or directory)
>
> I'm not sure if it's a genuine problem,as I can see it, it just complains
> that I haven't created any sip_profiles in /lan, but is that necessary?
>
> Response: ----------------------------------------------
> This isn't really a problem. To get rid of the error simply put a blank xml
> file into each folder as in the internal and external directories. Dump the
> lan directory and lan profile as mentioned earlier.
>
> Question ----------------------------------------------
>
> Extension Name musimi.dk
> Enabled true
> Order 001
> Description ...
>
> condition ^0(.\d+)$
> action bridge sofia/gateway/musimi.dk/$1
>
> Response: ----------------------------------------------
>
> This is correct as long as you have a gateway that is registered called
> musimi.dk
>
> Question ----------------------------------------------
> Extension Name 10.11.12.25
> Enabled true
> Order 002
> Description ...
>
> action bridge sofia/internal/$
>
> Response: ----------------------------------------------
>
> No idea what this is for its not needed as far as I can tell.
>
>
> Now please summarize what you still need help on.
>
>
> Mark J Crane
> http://fusionpbx.com
> pfSense FreeSWITCH package developer
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091209/b0204313/attachment-0002.html
More information about the FreeSWITCH-users
mailing list