Hi again,
I cannot figure out what the problem is but i registered a test user and then I went to a machine which is behind a firewall and tried the portsip sip phone that did not register, even though I regsitered [tracy] as type=friend. Can someone look at these simplified files of mine and see if anything looks incorrect and let me know. * itself seems to be fine, with five warnings and one error:
- WARNING[5311]: cdr_addon_mysql.c:295 my_load_module: Unable to load config for mysql CDR’s: cdr_mysql.conf
- Jun 20 18:38:30 ERROR[5311]: res_config_mysql.c:615 mysql_reconnect: MySQL RealTime: Failed to connect database server on . Check debug for more info.
- Jun 20 18:38:30 WARNING[5311]: res_config_mysql.c:450 load_module: MySQL RealTime: Couldn’t establish connection. Check debug.
- Jun 20 18:38:30 NOTICE[5311]: config.c:863 ast_config_engine_register: Registered Config Engine mysql
- 8:38:31 WARNING[5311]: acl.c:244 ast_get_ip_or_srv: Unable to lookup ‘dymamic’
- chan_iax2.c:9592 load_module: Unable to open IAX timing interface: No such file or directory
any suggestions to fix these issues will of course be great and appreciated too.
sip.conf
[tracy]
type=friend
username=tracy
secret=pwd_tracy
host=dynamic ;note * is static but machine placing calls is dynamic
context=tutorial
extensions.conf
[general]
static=yes
writeprotect=yes
[internal]
exten => 1000,1,Dial(SIP/${EXTEN},10)
exten => 1000,2,Hangup
exten => 1001,1,Dial(SIP/1001,10)
exten => 1001,2,Hangup
[tutorial]
exten => 1234,1,Dial(SIP/kevin) ; setting an extension for kevin
exten => 4321,1,Dial(SIP/tracy, 10) ; setting an extension for tracy to test
exten => 4321,2,Playback(tt-monkeys)
exten => 4321,3,Hangup
exten => 1111,1,Dial(IAX2/kevin_iax@kevin_iax) ; iax setup (username@username)
exten => 2222,2,Dial(IAX2/tracy_iax@tracy_iax) ; iax setup for tracy
Please note, only extension 4321 is of primary focus right now.
Thanks in advance… Oh, yeah, can i setup my server as a slave rather than a primary server to run * on?
~