I have configured asterisk with the AMP php configuration utility. I am able to make outgoing calls through broadvoice but incoming calls are sent to BV's Voicemail and never actually enter the IVR. When I show sip debug info through the asterisk prompt it actually reads the incoming call from BV but then issues a busy signal sending the call to BV's voicemail. I also modified extensions.conf as follows: [from-sip-external] include => from-pstn I have set up my sip trunk in AMP as follows: Trunk Name: Broadvoice Peer Details: dtmfmode=inband fromdomain=sip.broadvoice.com fromuser=21xxxxxxxx host=sip.broadvoice.com qualify=yes secret=password type=peer username=21xxxxxxxx My Incoming Settings are: User Context: sip.broadvoice.com User Details: context=from-pstn dtmfmode=inband fromdomain=sip.broadvoice.com host=sip.broadvoice.com nat=yes secret=password user=21xxxxxxxx username=21xxxxxxxx My register string: 21xxxxxxxx@sip.broadvoice.com:password@sip.broadvoice.com
----- Original Message ----- From: <asterisk@billwho.com> To: <asterisk-users@lists.digium.com> Sent: Thursday, February 24, 2005 10:12 PM Subject: [Asterisk-Users] Asterisk With Broadvoice>I have configured asterisk with the AMP php configuration utility. I >am able to make outgoing calls through broadvoice but incoming calls >are sent to BV's Voicemail and never actually enter the IVR. When I >show sip debug info through the asterisk prompt it actually reads the >incoming call from BV but then issues a busy signal sending the call to >BV's voicemail. > > I also modified extensions.conf as follows: > [from-sip-external] > include => from-pstn > > I have set up my sip trunk in AMP as follows: > > Trunk Name: Broadvoice > Peer Details: > dtmfmode=inband > fromdomain=sip.broadvoice.com > fromuser=21xxxxxxxx > host=sip.broadvoice.com > qualify=yes > secret=password > type=peer > username=21xxxxxxxx > > My Incoming Settings are: > User Context: sip.broadvoice.com > User Details: > context=from-pstn > dtmfmode=inband > fromdomain=sip.broadvoice.com > host=sip.broadvoice.com > nat=yes > secret=password > user=21xxxxxxxx > username=21xxxxxxxx > > My register string: > 21xxxxxxxx@sip.broadvoice.com:password@sip.broadvoice.com > >Something to double check and something to try (in that order): 1. check your password. It's not the password you registered at their website with. They send you an email with a different password in it you need to use. The password you registered at their website is just for logging into their website. 2. Try using a standard registration string - not the one they show you. Use number:password@sip.broadvoice.com instead of the one they show you on the website. See if one of those things is the trouble. If that doesn't work, look at "sip show registry" and see what's registered. asterisk*CLI> sip show registry Host Username Refresh State sip.broadvoice.com:5060 952225xxxx 15 Registered
Apparently the combination of the correct registry string and insecure=very fixed it. Just as you said. Thanks! Roger Hanson wrote:> > ----- Original Message ----- From: <asterisk@billwho.com> > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > <asterisk-users@lists.digium.com> > Sent: Friday, February 25, 2005 9:20 AM > Subject: Re: [Asterisk-Users] Asterisk With Broadvoice > > >> Great! It works now!! Thanks so much. >> > > What was it that made it work? Share the knowledge with the world. > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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
Here is a copy of my config that works great with broadvoice. I also have an AGI that I wrote to verify country codes so your users can't call countries that aren't included in broadvoices plan. If you want that too, just let me know. Sip.conf ----------------------------------------------------------------- ; Inbound broadvoice calls register => 8029041486:mypass@sip.broadvoice.com/8029041486 [Broadvoice] type=friend username=8029041486 fromuser=8029041486 secret=zjfg9f18fh host=sip.broadvoice.com fromdomain=sip.broadvoice.com port=5060 dtmfmode=inband insecure=very permit=147.135.0.128/32 qualify=yes canreinvite=yes nat=no ---------------------------------------------------------------- -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of asterisk@billwho.com Sent: Friday, February 25, 2005 9:42 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Asterisk With Broadvoice OK, After checking into this, I have found the following: I can set it up so either incoming or outgoing sip calls on this trunk work but NOT both. The "sip show registry" command shows everything as it should be. The section from my sip.conf is as follows: [Broadvoice] username = 2xxxxxxxxx type=peer secret=password nat=yes host=sip.broadvoice.com fromuser=2xxxxxxxxxx fromdomain=sip.broadvoice.com dtmfmode=inband canreinvite=no My registry string is: 21xxxxxxxx@sip.broadvoice.com:password@sip.broadvoice.com If I remove type=peer from [Broadvoice] in sip.conf incoming calls work great but outgoing calls don't work. If i leave type=peer in there, outgoing calls work great but incoming calls get routed to Broadvoice's Voicemail . . . Roger Hanson wrote:> > ----- Original Message ----- From: <asterisk@billwho.com> > To: <asterisk-users@lists.digium.com> > Sent: Thursday, February 24, 2005 10:12 PM > Subject: [Asterisk-Users] Asterisk With Broadvoice > > >> I have configured asterisk with the AMP php configuration utility. I>> am able to make outgoing calls through broadvoice but incoming calls >> are sent to BV's Voicemail and never actually enter the IVR. When I >> show sip debug info through the asterisk prompt it actually reads the>> incoming call from BV but then issues a busy signal sending the call >> to BV's voicemail. >> >> I also modified extensions.conf as follows: >> [from-sip-external] >> include => from-pstn >> >> I have set up my sip trunk in AMP as follows: >> >> Trunk Name: Broadvoice >> Peer Details: >> dtmfmode=inband >> fromdomain=sip.broadvoice.com >> fromuser=21xxxxxxxx >> host=sip.broadvoice.com >> qualify=yes >> secret=password >> type=peer >> username=21xxxxxxxx >> >> My Incoming Settings are: >> User Context: sip.broadvoice.com >> User Details: >> context=from-pstn >> dtmfmode=inband >> fromdomain=sip.broadvoice.com >> host=sip.broadvoice.com >> nat=yes >> secret=password >> user=21xxxxxxxx >> username=21xxxxxxxx >> >> My register string: >> 21xxxxxxxx@sip.broadvoice.com:password@sip.broadvoice.com >> >> > > Something to double check and something to try (in that order): > > 1. check your password. It's not the password you registered at > their website with. They send you an email with a different password > in it you need to use. The password you registered at their website > is just for logging into their website. > > 2. Try using a standard registration string - not the one they show > you. Use number:password@sip.broadvoice.com instead of the one they > show you on the website. > > See if one of those things is the trouble. > > If that doesn't work, look at "sip show registry" and see what's > registered. > asterisk*CLI> sip show registry > Host Username Refresh > State > sip.broadvoice.com:5060 952225xxxx 15 Registered > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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_______________________________________________ Asterisk-Users mailing list Asterisk-Users@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 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 2/22/2005
Here are the official instructions from broadvoice for setup of Asterisk. Other configurations are not supported. http://foo.robotics.net/mediawiki-1.3.10/index.php/Asterisk_Setup Dan
freebsd 5.4, asterisk-1.0.9_2, broadvoice byod plan. I can't get this all working together. I followed the instructions on BV website to the letter and tried every other combination I could think of, but for incoming calls I only get BV's message "The party you're trying to reach is busy and can not take your call." and outgoing calls only get the busy signal, when dialing any standard land/cell number. "sip show peers" shows sip.broadvoice. 147.135.20.128 A 255.255.255.255 5060 OK (53 ms) My settings are as follows. sip.conf -------------- pedantic=no register => 5164670254@sip.broadvoice.com:mypassword:5164670254@sip.broadvoice.com/601 [sip.broadvoice.com] type = peer host = sip.broadvoice.com secret = mypassword ;user=phone ; tried both ;user= 5164670254; of these settings fromuser = 5164670254 username= 5164670254 authname= 5164670254 fromdomain = sip.broadvoice.com context = context insecure=very canreinvite = no dtmfmode = inband dtmf=inband permit = 147.135.20.128/32 ; tried without this as well. qualify=yes extensions.conf ----------- [default] exten => _1NXXNXXXXXX,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30) exten => _1NXXNXXXXXX,2,congestion() exten => _1NXXNXXXXXX,102,busy() [context] exten => s,1,Dial(SIP/601,60,tr) exten => s,2,hangup --------------------------------- exten. 601 is defined in sip.conf as well and works fine internally, in another context. /etc/hosts has 147.135.20.128 sip.broadvoice.com pf settings # SIP (TCP) voip_tcp = "5060" # SIP, IAX2, IAX, RTP, MGCP (UDP) voip_udp = "{5060, 4569, 5036, 9999 >< 20001, 2727}" pass in on $ext_if inet proto tcp from any to any port $voip_tcp flags S/SA keep state pass out on $ext_if inet proto { tcp, icmp, gre } all flags S/SA keep state pass in on $ext_if inet proto udp from any to any port $voip_udp keep state pass out on $ext_if proto udp all keep state thanx a lot in advance.