[Freeswitch-users] Svar: Re: pfSense with Freeswitch - so far so good, but no calls going through

mailinglist mailinglist at fribert.dk
Mon Dec 7 22:05:31 PST 2009


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091208/20d25408/attachment-0002.html 


More information about the FreeSWITCH-users mailing list