[Freeswitch-users] Dialplan behavior

David Laperle dlaperle at rsslex.com
Thu Dec 3 13:04:03 PST 2009

The files are OK, the permissions on them are OK. 

Correct me if i'm wrong! If i set the variable "user_context" to
"default" it should take into accounts the dialplans into
freeswitch/conf/dialplan/default or there's more rules to consider?

The Wiki explain that the user must be registered to receive the xml in
diaplan/default, my phone is registered (see below)

Call-ID:    	7cd6e8c8-2c9962a5-7a0da12a at

User:       	6969@<domain>
Contact:    	"user" 
Agent:      	PolycomSoundPointIP-SPIP_550-UA/
Status:     	Registered(UDP)(unknown) EXP(2009-12-03 16:57:35)
Host:       	<server>
Port:       	5060
Auth-User:  	unknown
Auth-Realm: 	<domain>
MWI-Account:	6969@<domain>

The only thing i can think of is that my installation of «FusionPBX» (installed since day 1) messed something in config files but i really doubt it
since i didn't use FusionPBX between yesterday (when was working good) and this morning (after python recompile).

The other thing i see is the «Auth-User» in my registrations who shows «unknown» instead of the actual user ...

I'm really lost since everything was working perfectly before my re-compile of mod_python, i think i'll just start all over again ... since
i had almost nothing done so far!

Thanks for your time,

David Laperle 
Administrateur réseau / Network administrator
(514) 393-7647 
dlaperle at rsslex.com

Robinson Sheppard Shapiro s.e.n.c.r.l/LLP
Avocats / Barristers & Solicitors
4600 - 800 Place Victoria
Montréal Qc H4Z 1H6
T (514) 878-2631 F (514) 878-1865
www.rsslex.com et/and www.rsscanadaimmigration.com 

On Thu, 2009-12-03 at 14:55 -0500, Michael Collins wrote:

> On Thu, Dec 3, 2009 at 10:29 AM, David Laperle <dlaperle at rsslex.com>
> wrote:
>         Hi guys,
>         i have a weird problem with my dialplans. For the moment, i
>         have only 2 usable extensions. They were working #1 yesterday,
>         but this morning i realize i forgot to compile mod_python, so
>         i go back into my source folder and modify the modules.conf to
>         uncomment mod_python, did a make and make install (i did a
>         backup of my conf folder before)! The make and make install
>         worked flawlessly. Then i put back my bkp of conf directory.
>         I restarted the freeswitch service, created my python test
>         dialplan and entered into cli to see what's gonna happen! To
>         my surprise, the call didn't processed to the extension i was
>         dialing.
>         i tried all the other extensions i had, they were all not
>         working!!!!
>         After that i realized that the .xml in
>         freeswitch/dialplan/default/ weren't imported into
>         configuration at startup ... 
>         I have read all the documentation about difference between
>         public and default dialplan and i understand them correctly,
>         in public if i include all default folder, it's working again
>         (i can reach all my extensions in default.
>         My extensions are in the correct user_context ... i did
>         nothing since yesterday other than a make && make install
>         after enabling python ...
>         Any other user have an idea why the default/*.xml aren't
>         processed automatically? What could i have done wrong so they
>         are no longer processed?
> double-check for the existence of conf/dialplan/default.xml - I've
> seen on rare occasion where that file simple goes away for no apparent
> reason. Since I never change that file - and I recommend that you
> never change it either ;) - you can go to your FS source directory and
> issue "make samples" and it will re-create any missing default config
> files without overwriting you existing config files.
> -MC


AVIS: Ce courriel privilégié et confidentiel est destiné à la seule personne ou entité à laquelle il est adressé. Pour toute autre personne, toute action prise en rapport à ce courriel ainsi que toute lecture, reproduction, transmission et/ou divulgation d'une partie ou de l'ensemble de celui-ci est interdite. Si vous n'êtes pas la personne autorisée à recevoir ce courriel, S.V.P. le retourner à l'expéditeur et le détruire. Bien que ce courriel ait été traité contre les virus, il est de la responsabilité du destinataire de s'assurer que l'envoi en est exempt. Nos communications avec vous peuvent contenir des renseignements confidentiels ou protégés par le secret professionnel. Si vous désirez que nous communiquions avec vous par un autre moyen de transmission que le courrier électronique ordinaire non sécurisé, veuillez nous en aviser.

NOTICE: This privileged and confidential email is intended only for the individual or entity to whom it is addressed. With regard to all others, any action related with this email as well as any reading, reproduction, transmission and/or dissemination in whole or in part of the information included in this email is prohibited. If you are not the addressee, immediately return the email to sender prior to destroying all copies. Even if this email is believed to be free from any virus, it is the responsibility of the recipient to make sure that it is virus exempt. Our communications to you may contain confidential information or information protected under solicitor-client privilege.  Please advise if you wish us to use a mode of communication other than regular, unsecured e-mail in our communications with you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091203/c590d9cc/attachment-0002.html 

More information about the FreeSWITCH-users mailing list