Dave,
just one more thing, ive re created some extensions in the extensions_table but seem to be getting an error back from asterisk on the phone of closed…
same when i tried to create the asterisk test, any ideas whats that could be
Debug Log
Feb 28 12:32:49 DEBUG[23183] chan_sip.c: update_call_counter(1223) - decrement call limit counter
Feb 28 12:32:49 DEBUG[23161] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM sip_buddies WHERE name = '1223'
Feb 28 12:32:49 DEBUG[23161] res_config_mysql.c: MySQL RealTime: Everything is fine.
Feb 28 12:32:50 DEBUG[23178] chan_sip.c: That's odd... Got a response on a call we dont know about. Cseq 102 Cmd SIP/2.0
Feb 28 12:32:50 DEBUG[23178] chan_sip.c: That's odd... Got a response on a call we dont know about. Cseq 102 Cmd SIP/2.0
Feb 28 12:32:50 DEBUG[23178] chan_sip.c: Stopping retransmission on '3c27ed9846cd-9of38cq5wa0m@192-168-1-170' of Response 1: Match Found
Feb 28 12:32:50 DEBUG[23178] chan_sip.c: That's odd... Got a response on a call we dont know about. Cseq 102 Cmd SIP/2.0
Feb 28 12:32:50 DEBUG[23178] chan_sip.c: Stopping retransmission on '3c27ed9846cd-9of38cq5wa0m@192-168-1-170' of Request 102: Match Found
in my extensions_table i have the following
25 incoming 600 1 Playback demo-echotest
26 incoming 600 2 Echo
27 incoming 600 3 Playback demo-echodone
28 incoming 600 4 Goto s|6
29 incoming 500 1 Playback demo-abouttotry
30 incoming 500 2 Dial IAX2/guest@misery.digium.com/s@default
31 incoming 500 3 Playback demo-nogo
32 incoming 500 4 Goto s|6
33 incoming 8500 1 VoicemailMain
34 incoming 8500 2 Hangup
for some reason extension 500 and 8500 just close, but extension 600 does work, but i dont get the asterisk voice asking me to test the echo test it just goes straight to the test.
but for some reason the connection just closes
is there any reason for this
also when i try to ring one of my extensions it rings for about 5 rings and then goes dead. doesnt go to voicemail even though i have specified it to go to voicemail if its not picked up.
here is the dialplan for my 2 extensions, maybe i have some code wrong
24 incoming 1231 102 Voicemail b1231
22 incoming 1231 1 Dial SIP/1231|20|tr
23 incoming 1231 2 Voicemail u1231
21 incoming 1223 102 Voicemail b1223
20 incoming 1223 1 Dial SIP/1223|20|tr
19 incoming 1223 2 Voicemail u1223
any ideas dave whats wrong with that dialplan
Debug Log
Feb 28 13:01:19 DEBUG[23784] res_config_mysql.c: MySQL RealTime: Everything is fine.
Feb 28 13:01:19 DEBUG[23784] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '1231' AND context = 'incoming' AND priority = '1'
Feb 28 13:01:19 DEBUG[23784] res_config_mysql.c: MySQL RealTime: Everything is fine.
Feb 28 13:01:19 DEBUG[23784] channel.c: Driver for channel 'SIP/1223-c7ae' does not support indication 8, emulating it
Feb 28 13:01:19 DEBUG[23763] res_config_mysql.c: MySQL RealTime: Everything is fine.
Feb 28 13:01:19 DEBUG[23763] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM sip_buddies WHERE name = '1223'
Feb 28 13:01:19 DEBUG[23763] res_config_mysql.c: MySQL RealTime: Everything is fine.
Feb 28 13:01:19 DEBUG[23778] chan_sip.c: Stopping retransmission on '3c27f43e3a98-0vb7zjayhno8@192-168-1-170' of Response 1: Match Found
Feb 28 13:01:19 DEBUG[23778] chan_sip.c: That's odd... Got a response on a call we dont know about. Cseq 102 Cmd SIP/2.0
Feb 28 13:01:19 DEBUG[23778] chan_sip.c: That's odd... Got a response on a call we dont know about. Cseq 102 Cmd SIP/2.0
Feb 28 13:01:30 DEBUG[23784] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'h' AND context = 'incoming' AND priority = '1'
Feb 28 13:01:30 DEBUG[23784] res_config_mysql.c: MySQL RealTime: Everything is fine.
Feb 28 13:01:30 DEBUG[23784] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\_%' AND context = 'incoming' AND priority = '1' ORDER BY exten
Feb 28 13:01:30 DEBUG[23784] res_config_mysql.c: MySQL RealTime: Everything is fine.
Feb 28 13:01:30 DEBUG[23784] pbx.c: Function result is '"Alan Sherlock" <1223>'
Feb 28 13:01:30 DEBUG[23784] pbx.c: Function result is '1223'
Feb 28 13:01:30 DEBUG[23784] pbx.c: Function result is '1231'
Feb 28 13:01:30 DEBUG[23784] pbx.c: Function result is 'incoming'
Feb 28 13:01:30 DEBUG[23784] pbx.c: Function result is 'SIP/1223-c7ae'
Feb 28 13:01:30 DEBUG[23784] pbx.c: Function result is 'SIP/1231-f5b4'
Feb 28 13:01:30 DEBUG[23784] pbx.c: Function result is 'VoiceMail'
Feb 28 13:01:30 DEBUG[23784] pbx.c: Function result is 'u1231'
Feb 28 13:01:30 DEBUG[23784] pbx.c: Function result is '2006-02-28 13:01:11'
Feb 28 13:01:30 DEBUG[23784] pbx.c: Function result is '2006-02-28 13:01:19'
Feb 28 13:01:30 DEBUG[23784] pbx.c: Function result is '2006-02-28 13:01:30'
Feb 28 13:01:30 DEBUG[23784] pbx.c: Function result is '19'
Feb 28 13:01:30 DEBUG[23784] pbx.c: Function result is '11'
Feb 28 13:01:30 DEBUG[23784] pbx.c: Function result is 'FAILED'
Feb 28 13:01:30 DEBUG[23784] pbx.c: Function result is 'DOCUMENTATION'
Feb 28 13:01:30 DEBUG[23784] pbx.c: Function result is '(null)'
Feb 28 13:01:30 DEBUG[23784] pbx.c: Function result is '1141131671.0'
Feb 28 13:01:30 DEBUG[23784] pbx.c: Function result is '(null)'
Feb 28 13:01:30 DEBUG[23784] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
Feb 28 13:01:30 DEBUG[23784] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,userfield) VALUES ('2006-02-28 13:01:11','\"Alan Sherlock\" <1223>','1223','1231','incoming', 'SIP/1223-c7ae','SIP/1231-f5b4','VoiceMail','u1231',19,11,'FAILED',3,'','')
any help would be much apprciated
Alan