Problem receiving calls from BroadVoice


#1

Hi,

I am having problems when dialling my BroadVoice number from a POTS phone. I know that the call is being received by Asterisk by viewing the log file:

First attempt at dialling BroadVoice number using my cell phone:

Apr 22 13:09:46 VERBOSE[5120] logger.c: – Goto (from pstn,s,1)
Apr 22 13:09:46 WARNING[5120] pbx.c: Channel ‘SIP/147.135.0.129-085e7890’ sent into invalid extension ‘s’ in context ‘from pstn’, but no invalid handler
Apr 22 13:09:46 DEBUG[5120] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
Apr 22 13:09:46 DEBUG[5120] 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-04-22 13:09:45’,’“Arlington VA” ‘,‘mycellnumber’,‘s’,‘from pstn’, ‘SIP/147.135.0.129-085e7890’,’’,‘Goto’,‘from pstn|s|1’,1,0,‘NO ANSWER’,3,’’,‘1145725785.227’)

Second attempt using home phone:

Apr 22 13:09:46 VERBOSE[5120] logger.c: – Goto (from pstn,s,1)
Apr 22 13:09:46 WARNING[5120] pbx.c: Channel ‘SIP/147.135.0.129-085e7890’ sent into invalid extension ‘s’ in context ‘from pstn’, but no invalid handler
Apr 22 13:09:46 DEBUG[5120] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
Apr 22 13:09:46 DEBUG[5120] 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-04-22 13:09:45’,’“Webber Mark” ‘,‘homephonenumber’,‘s’,‘from pstn’, ‘SIP/147.135.0.129-085e7890’,’’,‘Goto’,‘from pstn|s|1’,1,0,‘NO ANSWER’,3,’’,‘1145725785.227’)

So from reading the above I can see that the 2 calls were received but are never then forwarded to any of the sip extensions, instead they just go to the default BroadVoice vmail system.

In extensions.conf I have:

[from-sip-external]

;give external sip users congestion and hangup
;exten => _.,1,Set(TIMEOUT(absolute)=15)
;exten => _.,2,Congestion
;exten => _.,3,Hangup
exten => _.,1,Wait(1)
exten => _.,2,Goto(from pstn,s,1)

For trunk set up I have:

context=from-pstn
dtmf=inband
dtmfmode=inband
fromdomain=sip.broadvoice.com
host=sip.broadvoice.com
insecure=very
nat=yes
secret=
type=user
user=7039350155
username=7039350155

Does anyone have any ideas?


#2

You said:

exten => _.,2,Goto(from pstn,s,1)

For trunk set up I have:

context=from-pstn

Looks like a hyphen missing, maybe try

exten => _.,2,Goto(from-pstn,s,1)


#3

THANKS, that was it all 'cos of a missed hypen!!

Thanks again.