Page 1 of 1
probleme with the new phone
Posted:
Tue Apr 28, 2009 4:53 pm
by salahpitek
i work in vicidialnow, but when i create a new phone SIP in admin web, asterisk can't find this SIP phone and it is not montionned in SIP.conf so it is impossible to connecte a sotphone whith asterisk in this extension.
my question is if there is a relation whith a admin web and asterisk in the creation of a new phone
or i must create the phone in the admin web and after create the same phone in sip.conf
Posted:
Tue Apr 28, 2009 5:19 pm
by Op3r
vicidial version?
the version of asterisknow
Posted:
Wed Apr 29, 2009 4:20 pm
by salahpitek
i have a same probleme in vicidialnow 1.0.0 and vicidialnow 1.0.1
the version of vicidial
Posted:
Wed Apr 29, 2009 4:31 pm
by salahpitek
the version of vicidial is 2.0.95
Posted:
Wed Apr 29, 2009 7:16 pm
by mflorell
Any reason you have not upgraded to 2.0.5?
reason
Posted:
Thu Apr 30, 2009 4:17 am
by salahpitek
there is no reason, but my question is if my version of vicidial does not contain this option or i have problem with my vicidial.
and if this option is available in vicidial 2.0.5
Posted:
Thu Apr 30, 2009 7:58 am
by mflorell
Auto-config of Asterisk sip and iax phones and trunks are only available in the 2.0.5 release.
methode of the Auto-config of Asterisk
Posted:
Thu Apr 30, 2009 8:53 am
by salahpitek
thank you very much for your help
I have one last question, I want to know the method used for the Auto-config of Asterisk in this release,
you open the file sip.conf or iax.conf in mode writing/reading and after that you put the information of the phone and you restart asterisk.
or there is a other method ????
Posted:
Thu Apr 30, 2009 11:49 am
by mflorell
From the ASTERISK_CONF-GEN.txt file in the docs:
ASTERISK CONF FILE GENERATION 2009-02-11
This file details the process for how the system automatically generates Asterisk conf files purely from VICIDIAL settings.
The conf files that are generated are:
/etc/asterisk/extensions-vicidial.conf
/etc/asterisk/iax-vicidial.conf
/etc/asterisk/sip-vicidial.conf
/etc/asterisk/voicemail-vicidial.conf
All of the above files are included in their respective conf files by #include links that you can see if you look at the sample conf files in the docs directory.
IMPORTANT!!! - Files will only be generated for SIP and IAX phones and carriers that are listed as active=Y in the VICIDIAL administration web interface.
- Files will only be generated on servers where the server record is set to active_asterisk_server='Y' and generate_vicidial_conf='Y'
- The automatic reloading of new conf files by the system is only possible if you started Asterisk with the start_asterisk_boot.pl script, or if Asterisk is running in a screen session named 'asterisk'.
After any phone, server or carrier entry is edited in the admin interface, a flag(rebuild_conf_files='Y') will be set to have the ADMIN_keepalive_ALL.pl script(that should be running once a minute in the crontab) run and generate new conf files and reload Asterisk.
Phones are defined in the admin.php -> Admin -> Show Phones
Carriers are defined in the admin.php -> Admin -> Servers -> Show Carriers
If you have special settings that you want to use for phones such as codecs you can use either a Template(admin.php -> Admin -> Servers -> Show Templates) or enter in the full account record(not including the "[extension]") into the "Conf Override" field.
If you are using a SIP carrier, then you may need to manually set "externip=XXX.XXX.XXX.XXX" in the /etc/asterisk/sip.conf file where XXX.XXX.XXX.XXX is the external IP address of your server as the outside world(or your carrier) sees it.
thank you
Posted:
Thu Apr 30, 2009 4:40 pm
by salahpitek
thank you for your help;
this release of vicidial is included in the new version of vicidialnow ??