No incoming calls

i’m a asterisks beginner so if i leave out information please let me know…

i’ve set up my asterisks pbx box, and set up all the trunks, extensions, vmail, fax, etc … … only thing that is not working right now is incoming calls. i’ve opened up ports 4569, 5004-5082, 10001-20000 on my router. we currently have a dynamic ip addy so we’re using dyndns, and dyndns automatic update on our server.

calling from one extension to another works fine.

Thanks in advance

-charlie

are you registered with your provider? what shows up in the sip and/or iax2 logs? hard to say more without more info…

k… sorry for not providing enough info…

i’m signed up with broadvoice… i have a grandstream phone, and was working with just the phone, ran into problems only when i set up asterisks… … just checked my call log, and it does seem that asterisks is getting the phone calls… before it was only a busy signal, now there is nothing on the line when calling in…

what shows up in /var/log/asterisk/full when you make an incoming call?

ok sorry for the long reply, but here’s the log file… the top couple lines are repeated like 30-40 times before, just didn’t include all the repeated lines…

===============

Feb 14 13:48:04 VERBOSE[3852] logger.c: – Goto (from-pstn,s,1)
Feb 14 13:48:04 VERBOSE[3852] logger.c: – Executing SetVar(“SIP/6106431163-77ff”, “FROM_DID=s”) in new stack
Feb 14 13:48:04 VERBOSE[3852] logger.c: – Executing Answer(“SIP/6106431163-77ff”, “”) in new stack
Feb 14 13:48:04 VERBOSE[3852] logger.c: – Executing Wait(“SIP/6106431163-77ff”, “”) in new stack
Feb 14 13:48:04 VERBOSE[3852] logger.c: – Executing Goto(“SIP/6106431163-77ff”, “from-pstn|s|1”) in new stack
Feb 14 13:48:04 VERBOSE[3852] logger.c: – Goto (from-pstn,s,1)
Feb 14 13:48:04 VERBOSE[3852] logger.c: – Executing SetVar(“SIP/6106431163-77ff”, “FROM_DID=s”) in new stack
Feb 14 13:48:04 VERBOSE[3852] logger.c: – Executing Answer(“SIP/6106431163-77ff”, “”) in new stack
Feb 14 13:48:04 VERBOSE[3852] logger.c: == Spawn extension (from-pstn, s, 2) exited non-zero on ‘SIP/6106431163-77ff’
Feb 14 13:48:04 DEBUG[3852] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
Feb 14 13:48:04 DEBUG[3852] 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,uniqueid) VALUES (‘2006-02-14 13:47:38’,’“Compuworld Inc” <6106673122>’,‘6106673122’,‘s’,‘from-pstn’, ‘SIP/6106431163-77ff’,’’,‘Answer’,’’,26,26,‘ANSWERED’,3,’’,‘1139942858.16’)
Feb 14 13:48:04 DEBUG[3852] chan_sip.c: update_call_counter(6106431163) - decrement call limit counter
Feb 14 13:48:08 DEBUG[2747] chan_sip.c: Scheduled a registration timeout for sip.broadvoice.com id #8608
Feb 14 13:48:08 DEBUG[2747] chan_sip.c: Stopping retransmission on ‘2b1020d73b5ac10e726747ca33f6f913@127.0.0.1’ of Request 3113: Match Found
Feb 14 13:48:08 DEBUG[2747] chan_sip.c: Registration successful
Feb 14 13:48:08 DEBUG[2747] chan_sip.c: Cancelling timeout 8608
Feb 14 13:48:16 DEBUG[2747] chan_sip.c: Auto destroying call '2b1020d73b5ac10e726747ca33f6f913@127.0.0.1’
Feb 14 13:48:32 DEBUG[2747] chan_sip.c: Scheduled a registration timeout for sip.broadvoice.com id #8612
Feb 14 13:48:32 DEBUG[2747] chan_sip.c: Stopping retransmission on ‘2b1020d73b5ac10e726747ca33f6f913@127.0.0.1’ of Request 3114: Match Found
Feb 14 13:48:32 DEBUG[2747] chan_sip.c: Registration successful
Feb 14 13:48:32 DEBUG[2747] chan_sip.c: Cancelling timeout 8612
Feb 14 13:48:40 DEBUG[2747] chan_sip.c: Auto destroying call '2b1020d73b5ac10e726747ca33f6f913@127.0.0.1’
Feb 14 13:48:56 DEBUG[2747] chan_sip.c: Scheduled a registration timeout for sip.broadvoice.com id #8616
Feb 14 13:48:56 DEBUG[2747] chan_sip.c: Stopping retransmission on ‘2b1020d73b5ac10e726747ca33f6f913@127.0.0.1’ of Request 3115: Match Found
Feb 14 13:48:56 DEBUG[2747] chan_sip.c: Registration successful
Feb 14 13:48:56 DEBUG[2747] chan_sip.c: Cancelling timeout 8616
Feb 14 13:49:04 DEBUG[2747] chan_sip.c: Auto destroying call '2b1020d73b5ac10e726747ca33f6f913@127.0.0.1’
Feb 14 13:49:20 DEBUG[2747] chan_sip.c: Scheduled a registration timeout for sip.broadvoice.com id #8620
Feb 14 13:49:20 DEBUG[2747] chan_sip.c: Stopping retransmission on ‘2b1020d73b5ac10e726747ca33f6f913@127.0.0.1’ of Request 3116: Match Found
Feb 14 13:49:20 DEBUG[2747] chan_sip.c: Registration successful
Feb 14 13:49:20 DEBUG[2747] chan_sip.c: Cancelling timeout 8620
Feb 14 13:49:28 DEBUG[2747] chan_sip.c: Auto destroying call '2b1020d73b5ac10e726747ca33f6f913@127.0.0.1’
Feb 14 13:49:32 VERBOSE[2734] logger.c: – Remote UNIX connection
Feb 14 13:49:32 VERBOSE[3870] logger.c: – Remote UNIX connection disconnected
Feb 14 13:49:32 VERBOSE[2734] logger.c: – Remote UNIX connection
Feb 14 13:49:32 VERBOSE[3872] logger.c: – Remote UNIX connection disconnected
Feb 14 13:49:32 VERBOSE[2734] logger.c: – Remote UNIX connection
Feb 14 13:49:32 VERBOSE[3874] logger.c: – Remote UNIX connection disconnected
Feb 14 13:49:32 VERBOSE[2734] logger.c: – Remote UNIX connection
Feb 14 13:49:33 VERBOSE[3876] logger.c: – Remote UNIX connection disconnected
Feb 14 13:49:33 VERBOSE[2734] logger.c: – Remote UNIX connection
Feb 14 13:49:33 VERBOSE[3878] logger.c: – Remote UNIX connection disconnected
Feb 14 13:49:33 VERBOSE[2734] logger.c: – Remote UNIX connection
Feb 14 13:49:33 VERBOSE[3880] logger.c: – Remote UNIX connection disconnected
Feb 14 13:49:33 VERBOSE[2734] logger.c: – Remote UNIX connection
Feb 14 13:49:33 VERBOSE[3882] logger.c: – Remote UNIX connection disconnected
Feb 14 13:49:33 VERBOSE[2734] logger.c: – Remote UNIX connection
Feb 14 13:49:33 VERBOSE[3884] logger.c: – Remote UNIX connection disconnected
Feb 14 13:49:33 VERBOSE[2734] logger.c: – Remote UNIX connection
Feb 14 13:49:33 VERBOSE[3886] logger.c: – Remote UNIX connection disconnected
Feb 14 13:49:33 VERBOSE[2734] logger.c: – Remote UNIX connection
Feb 14 13:49:33 VERBOSE[3888] logger.c: – Remote UNIX connection disconnected
Feb 14 13:49:33 VERBOSE[2734] logger.c: – Remote UNIX connection
Feb 14 13:49:33 VERBOSE[3890] logger.c: – Remote UNIX connection disconnected
Feb 14 13:49:44 DEBUG[2747] chan_sip.c: Scheduled a registration timeout for sip.broadvoice.com id #8624
Feb 14 13:49:44 DEBUG[2747] chan_sip.c: Stopping retransmission on ‘2b1020d73b5ac10e726747ca33f6f913@127.0.0.1’ of Request 3117: Match Found
Feb 14 13:49:44 DEBUG[2747] chan_sip.c: Registration successful
Feb 14 13:49:44 DEBUG[2747] chan_sip.c: Cancelling timeout 8624
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Challenge’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Login’
Feb 14 13:49:50 VERBOSE[3894] logger.c: == Parsing ‘/etc/asterisk/manager.conf’: Feb 14 13:49:50 VERBOSE[3894] logger.c: == Parsing ‘/etc/asterisk/manager.conf’: Found
Feb 14 13:49:50 VERBOSE[3894] logger.c: == Parsing ‘/etc/asterisk/manager_custom.conf’: Feb 14 13:49:50 VERBOSE[3894] logger.c: == Parsing ‘/etc/asterisk/manager_custom.conf’: Found
Feb 14 13:49:50 WARNING[3894] config.c: Unknown directive ‘permit=192.168.1.0/255.255.255.0’ at line 18 of manager_custom.conf
Feb 14 13:49:50 DEBUG[3894] acl.c: 0.0.0.0/0.0.0.0/0.0.0.0 appended to acl for peer
Feb 14 13:49:50 DEBUG[3894] acl.c: 127.0.0.1/255.255.255.0/255.255.255.0 appended to acl for peer
Feb 14 13:49:50 DEBUG[3894] acl.c: ##### Testing 127.0.0.1 with 0.0.0.0
Feb 14 13:49:50 DEBUG[3894] acl.c: ##### Testing 127.0.0.1 with 127.0.0.0
Feb 14 13:49:50 VERBOSE[3894] logger.c: == Manager ‘admin’ logged on from 127.0.0.1
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Command’
Feb 14 13:49:50 DEBUG[3894] db.c: Unable to find key ‘SIP/sip1.broadvoice.com’ in family 'cfb’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Command’
Feb 14 13:49:50 DEBUG[3894] db.c: Unable to find key ‘SIP/252’ in family 'cfb’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Command’
Feb 14 13:49:50 DEBUG[3894] db.c: Unable to find key ‘SIP/251’ in family 'cfb’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Command’
Feb 14 13:49:50 DEBUG[3894] db.c: Unable to find key ‘SIP/BV1’ in family 'cfb’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Command’
Feb 14 13:49:50 DEBUG[3894] db.c: Unable to find key ‘SIP/202’ in family 'cfb’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Command’
Feb 14 13:49:50 DEBUG[3894] db.c: Unable to find key ‘SIP/201’ in family 'cfb’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Command’
Feb 14 13:49:50 DEBUG[3894] db.c: Unable to find key ‘SIP/sip1.broadvoice.com’ in family 'dnd’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Command’
Feb 14 13:49:50 DEBUG[3894] db.c: Unable to find key ‘SIP/252’ in family 'dnd’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Command’
Feb 14 13:49:50 DEBUG[3894] db.c: Unable to find key ‘SIP/251’ in family 'dnd’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Command’
Feb 14 13:49:50 DEBUG[3894] db.c: Unable to find key ‘SIP/BV1’ in family 'dnd’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Command’
Feb 14 13:49:50 DEBUG[3894] db.c: Unable to find key ‘SIP/202’ in family 'dnd’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Command’
Feb 14 13:49:50 DEBUG[3894] db.c: Unable to find key ‘SIP/201’ in family 'dnd’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Command’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'QueueStatus’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Status’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'ZapShowChannels’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Command’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'MailboxStatus’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'MailboxStatus’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'MailboxStatus’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'MailboxStatus’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Command’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Command’
Feb 14 13:49:50 DEBUG[3894] manager.c: Manager received command 'Command’
Feb 14 13:49:51 DEBUG[3894] manager.c: Manager received command 'MailboxCount’
Feb 14 13:49:52 DEBUG[2747] chan_sip.c: Auto destroying call '2b1020d73b5ac10e726747ca33f6f913@127.0.0.1’
Feb 14 13:49:52 DEBUG[3894] manager.c: Manager received command 'Command’
Feb 14 13:49:52 DEBUG[3894] manager.c: Manager received command 'Command’
Feb 14 13:50:08 DEBUG[2747] chan_sip.c: Scheduled a registration timeout for sip.broadvoice.com id #8628
Feb 14 13:50:08 DEBUG[2747] chan_sip.c: Stopping retransmission on ‘2b1020d73b5ac10e726747ca33f6f913@127.0.0.1’ of Request 3118: Match Found
Feb 14 13:50:08 DEBUG[2747] chan_sip.c: Registration successful
Feb 14 13:50:08 DEBUG[2747] chan_sip.c: Cancelling timeout 8628
Feb 14 13:50:08 DEBUG[2747] chan_sip.c: Cancelling timeout 8628

well, this looks bizarre. dunno. i remember a couple of threads recently here about getting broadvoice to work…

thnx for your help…

if anyone has any suggestions please reply… i’ve checked all the settings and they seem right… but i must be missing something …

[quote=“compuworld”]thnx for your help…

if anyone has any suggestions please reply… i’ve checked all the settings and they seem right… but i must be missing something …[/quote]

I have an identical configuration running with no problem (SIP using broadvoice and SIP deskphone). BTW I did not have to open any ports on my NAT/router in order to make this work. I also have dyndns.

Can you provide the SIP.CONF area that defines the incoming and outgoing SIP service and also the [from-pstn] context.?