have you created Extension 1002? -nandy
On Wed, Dec 9, 2009 at 3:20 AM, mailinglist <[email protected]> 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" <[email protected]> i > meddelelsen <[email protected]>: > 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/[email protected] [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/[email protected] [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/[email protected]) Ended > 2009-12-08 07:02:20.663502 [NOTICE] switch_core_session.c:1087 Close > Channel sofia/internal/[email protected] [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 <[email protected]> i meddelelsen > [email protected]: > > Question ---------------------------------------------- > If I do a reloadxml it gives me this output on the console: > [email protected]<http://us.mc564.mail.yahoo.com/mc/[email protected]>> > 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 > [email protected] > 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 [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
