[Asterisk-Users] asterisk and Broadvoice Outgoing Again :(

Rich Adamson radamson at routers.com
Fri Mar 11 15:03:45 MST 2005


For everyone that's trying to get BV to work, you'all might want to
edit your /etc/hosts file and insert something like:

147.135.8.128 sip.broadvoice.com 

This was a requirement from way back and I've since discontinuted
BV for a different provider, but seems as though of all the suggestions
posted in recent weeks, few mention the above.

After editing /etc/hosts, there is no need to reboot, etc. The contents
are read dynamically. Then make sure that your contexts and extensions.conf
use sip.broadvoice.com in them. They did have four different servers
at one time (with four different IP's), but if you stick with one
(like the above) and play with the other parameters to get it to work,
then you can change servers at a later time.

As one more comment, any changes that you make to sip.conf or 
extensions.conf associated with trying to make BV work, don't forget
to "stop" and restart asterisk. Don't rely on a reload as it does not
reread all parameter changes.

------------------------

> 
> I can't make outgoing calls via Broadvoice. I have tried each and every 
> configuration that was posted to list previously. 
> 
> I am able to receive incoming calls fine.
> 
> I get the following in asterisk console:
> =====================================================
> asterisk*CLI> show version
> Asterisk CVS-HEAD-03/10/05-22:51:28 built by vicky at asterisk on a i686 running 
> Linux
> asterisk*CLI>
>     -- Executing Dial("SIP/502-c147", "SIP/18086749157 at XXXXXXXX") in new stack
>     -- Called 18086749157 at XXXXXXXX
>     -- Got SIP response 400 "Bad request" back from 147.135.8.128
>     -- SIP/XXXXXXXX-19dd is circuit-busy
>   == Everyone is busy/congested at this time (1:0/1/0)
>     -- Executing Congestion("SIP/502-c147", "5") in new stack
>   == Spawn extension (vicky, 0018086749157, 2) exited non-zero on 
> 'SIP/502-c147'
>     -- Got SIP response 400 "Bad request" back from 147.135.8.128
>     -- Executing Dial("SIP/502-8efd", "SIP/8086749157 at XXXXXXXX") in new stack
>     -- Called 8086749157 at XXXXXXXX
>     -- Got SIP response 400 "Bad request" back from 147.135.8.128
>     -- SIP/XXXXXXXX-4bf5 is circuit-busy
>   == Everyone is busy/congested at this time (1:0/1/0)
>     -- Executing Congestion("SIP/502-8efd", "5") in new stack
>   == Spawn extension (vicky, 008086749157, 2) exited non-zero on 
> 'SIP/502-8efd'
>     -- Got SIP response 400 "Bad request" back from 147.135.8.128
>     -- Got SIP response 481 "Unknown Dialog" back from 147.135.8.128
> ====================================================
> 
> Here is my sip.conf:
> =======================================================
> register => 
> XXXXXXXX at sip.broadvoice.com:PPPPPPPP:XXXXXXXX at sip.broadvoice.com/broadvoice
> 
> [XXXXXXXX]
> type=peer
> user=phone
> host=sip.broadvoice.com
> fromdomain=sip.broadvoice.com
> fromuser=XXXXXXXX
> secret=PPPPPPPP
> username=XXXXXXXX
> insecure=very
> context=default
> authname=XXXXXXXX
> dtmfmode=inband
> dtmf=inband
> canreinvite=no
> ================================================
> 
> 
> -- 
> With regards,
> 
> Vicky Shrestha
> System Director
> WorldLink Communications
> Jawalakhel , Kathmandu, Nepal
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 

---------------End of Original Message-----------------





More information about the asterisk-users mailing list