[Asterisk-Users] Asterisk @ Home & BroadVoice (Outbound) help

Puddle rotaecho at yahoo.com
Thu Jan 27 12:16:18 MST 2005


Hello, I'm using Asterisk at Home.  I'm still new to
Asterisk, and trying to grasp it all.  

I'm wanting to do a simple setup of One SIP provider
(Broadvoice) and 3 SIP Software Phones.

I'm able to call the VoIP provided line fine and get
dropped to the digital receptionist (or mailbox).

However, when I try to send outbound calls I get
"Error 503 Service Unavailable" and a busy tone.

All the local SIP phones work fine.  

At the top of sip.conf in the general I put in:

externip=xxx.xxx.xxx.xxx

Here's the Information put in AMP:

Trunk - SIP/sip.broadvoice.com

OutGoing Settings:

canreinvite=no
dtmfmode=inband
fromdomain=sip.broadvoice.com
fromuser=818XXXYYYY
host=147.135.0.129
insecure=very
nat=yes
secret=<passwd>
type=peer
username=818XXXYYYY

Incoming Settings: (I left this blank, since I thought
this would be the extentions. IE

exten=_1NXXNXXXXXX, 1,
dial(SIP/${EXTEN}@sip.broadvoice.com,30) ; Dial
Broadvoice for 30 seconds
exten=_1NXXNXXXXXX, 2, congestion() ; No answer,
nothing
exten=_1NXXNXXXXXX, 102, busy() ; Busy

However, that gives me a DB error.

I'm sure this is a really lame stupid overlook/fix of
being ignorant.  So, any patience and help is
appreciated.

Here's the Asterisk output from the voiced error
mentioned above.

Jan 27 13:53:31 DEBUG[10539]: Scheduled a registration
timeout # 35
Jan 27 13:53:31 DEBUG[10539]: Stopping retransmission
on '66ef438d140e0f763352255a109cf92e at 192.168.0.101' of
Request 108: Found
Jan 27 13:53:31 DEBUG[10539]: Registration successful
Jan 27 13:53:31 DEBUG[10539]: Cancelling timeout 35
Jan 27 13:53:42 DEBUG[10554]: Manager received command
'Command'
Jan 27 13:53:42 DEBUG[10554]: Manager received command
'Command'
Jan 27 13:53:45 DEBUG[10539]: Setting NAT on RTP to 4
Jan 27 13:53:45 DEBUG[10539]: Stopping retransmission
on
'30CF20A0-F2FD-4E69-A1BA-C2EC585F6F09 at 192.168.0.169'
of Response 5118: Found
Jan 27 13:53:45 DEBUG[10539]: Setting NAT on RTP to 4
Jan 27 13:53:45 DEBUG[10539]: Check for res for 201
Jan 27 13:53:45 DEBUG[10539]: Call from user '201' is
1 out of 0
Jan 27 13:53:45 DEBUG[10539]: build_route: Contact
hop: <sip:201 at 192.168.0.169:5060>
Jan 27 13:53:45 VERBOSE[10558]:     -- Executing
Dial("SIP/201-f651",
"SIP/1626xxxyyyy at sip.broadvoice.com|30") in new stack
Jan 27 13:53:45 DEBUG[10558]: Outgoing Call for
16266981070
Jan 27 13:53:45 DEBUG[10558]: 1626xxxyyyy is not a
local user
Jan 27 13:53:45 VERBOSE[10558]:     -- Called
1626xxxyyyy at sip.broadvoice.com
Jan 27 13:53:45 DEBUG[10539]: (Provisional) Stopping
retransmission (but retaining packet) on
'0653e99a0f007c703b3ed2026efd7ec1 at 192.168.0.101'
Request 102: Found
Jan 27 13:53:45 DEBUG[10539]: Acked pending invite 102
Jan 27 13:53:45 DEBUG[10539]: Stopping retransmission
on '0653e99a0f007c703b3ed2026efd7ec1 at 192.168.0.101' of
Request 102: Found
Jan 27 13:53:45 VERBOSE[10539]:     -- Got SIP
response 604 "Does not exist anywhere" back from
147.135.0.128
Jan 27 13:53:45 DEBUG[10558]:
update_user_counter(16266981070) - decrement outUse
counter
Jan 27 13:53:45 DEBUG[10558]: 16266981070 is not a
local user
Jan 27 13:53:45 VERBOSE[10558]:   == No one is
available to answer at this time
Jan 27 13:53:45 DEBUG[10558]: Exiting with
DIALSTATUS=NOANSWER.
Jan 27 13:53:45 VERBOSE[10558]:     -- Executing
Congestion("SIP/201-f651", "") in new stack
Jan 27 13:53:45 VERBOSE[10558]:   == Spawn extension
(from-internal, 16266981070, 2) exited non-zero on
'SIP/201-f651'
Jan 27 13:53:45 VERBOSE[10558]:     -- Executing
Macro("SIP/201-f651", "hangupcall") in new stack
Jan 27 13:53:45 DEBUG[10539]: Stopping retransmission
on
'30CF20A0-F2FD-4E69-A1BA-C2EC585F6F09 at 192.168.0.169'
of Response 5119: Not Found
Jan 27 13:53:45 VERBOSE[10558]:     -- Executing
ResetCDR("SIP/201-f651", "w") in new stack
Jan 27 13:53:45 DEBUG[10558]: cdr_mysql: inserting a
CDR record.
Jan 27 13:53:45 DEBUG[10558]: cdr_mysql: SQL command
as follows:  INSERT INTO cdr
(calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode)
VALUES ('2005-01-27 13:53:45','\"Puddle\"
<201>','201','16266981070','from-internal',
'SIP/201-f651','SIP/sip.broadvoice.com-ce65','ResetCDR','w',0,0,'NO
ANSWER',3,'')
Jan 27 13:53:45 VERBOSE[10558]:     -- Executing
NoCDR("SIP/201-f651", "") in new stack
Jan 27 13:53:45 WARNING[10558]: CDR on channel
'SIP/201-f651' not posted
Jan 27 13:53:45 WARNING[10558]: CDR on channel
'SIP/201-f651' lacks end
Jan 27 13:53:45 VERBOSE[10558]:     -- Executing
Wait("SIP/201-f651", "5") in new stack
Jan 27 13:53:45 VERBOSE[10558]:   == Spawn extension
(macro-hangupcall, s, 3) exited non-zero on
'SIP/201-f651' in macro 'hangupcall'
Jan 27 13:53:45 VERBOSE[10558]:   == Spawn extension
(from-internal, h, 1) exited non-zero on
'SIP/201-f651'
Jan 27 13:53:45 DEBUG[10558]: update_user_counter(201)
- decrement inUse counter
Jan 27 13:53:47 DEBUG[10539]: Scheduled a registration
timeout # 41
Jan 27 13:53:47 DEBUG[10539]: Stopping retransmission
on '66ef438d140e0f763352255a109cf92e at 192.168.0.101' of
Request 109: Found
Jan 27 13:53:47 DEBUG[10539]: Registration successful
Jan 27 13:53:47 DEBUG[10539]: Cancelling timeout 41


		
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 



More information about the asterisk-users mailing list