kevin@imagereturn.com
2004-Nov-26 21:25 UTC
[Asterisk-Users] Help with broadvoice outbound plz... ;)
*sigh* Ok, I have fought and fought with this. I have read all the FAQ's, I have scanned the list archives. I can receive calls on * from my Broadvoice acct, but I cannot place calls... I have the 'World Unlimited' plan, and like 5 area codes that are local to me in Dallas. Can anyone help me? here are my config files... - sip.conf - [general] context=default ; Default context for incoming calls port=5060 ; UDP Port to bind to (SIP bindaddr=10.1.1.200 ; IP address to bind to (0.0.0.0 srvlookup=yes ; Enable DNS SRV lookups on register => xxxxxxxxxx:secret@sip.broadvoice.com externip = 209.30.232.185 ; Address that we're going to put in outbound SIP messages localnet=10.0.0.0/255.0.0.0 ; Also RFC1918 [broadvoice] type=peer nat=yes username=xxxxxxxx (phone number) secret=secret disallow=all allow=ulaw dtmfmode=inband fromuser=xxxxxxxxxx fromdomain=sip.broadvoice.com ;host=147.135.0.128 canreinvite=no insecure=very srvlookup=yes context=broadvoice [broadvoice-in1] type=peer host=147.135.8.128 context=broadvoice nat=yes [broadvoice-in2] type=peer host=147.135.0.128 context=broadvoice nat=yes [kevin] type=friend regexten=1001 username=kevin fromuser=[username] secret=secret host=dynamic canreinvite=no defaultip=10.1.1.16 amaflags=default - extensions.conf - [general] static=yes writeprotect=no [globals] [default] exten => s,1,Wait,1 exten => s,2,answer() exten => s,3,playback('pls-wait-connect-call') exten => s,4,Goto(1001,1) exten => s,5,hangup() exten => 1001,1,Dial(SIP/kevin,15,r) exten => 1001,2,Playback('why-no-answer-mystery') exten => 1001,3,hangup() exten => _9NXXNXXNXXX,1,Dial(SIP/${EXTEN:1}@broadvoice) exten => _9NXXNXXNXXX,2,congestion() I imagine that I should have different Dial commands for different call types (local, ld) but since all are going through Broadvoice, it seems that it should be all sent to the same place in the same format. I am CoNfUsEd. TIA! - Kevin
On Fri, 26 Nov 2004 22:25:56 -0600 (CST), kevin@imagereturn.com <kevin@imagereturn.com> wrote:> *sigh* > > [broadvoice] > type=peer > nat=yes > username=xxxxxxxx (phone number) > secret=secret > disallow=all > allow=ulaw > dtmfmode=inband > fromuser=xxxxxxxxxx > fromdomain=sip.broadvoice.com > ;host=147.135.0.128 > canreinvite=no > insecure=very > srvlookup=yes > context=broadvoiceKevin, I would change it took like so.... [broadvoice] type=peer nat=yes username=xxxxxxxx (phone number) secret=secret disallow=all allow=ulaw dtmfmode=inband fromuser=xxxxxxxxxx fromdomain=sip.broadvoice.com host=sip.broadvoice.com canreinvite=no insecure=very ;srvlookup=yes context=broadvoice Are you really behind a nat? If not, lose that too. Hope this helps. -Chuji
On Fri, 26 Nov 2004 kevin@imagereturn.com wrote:> *sigh* > > Ok, I have fought and fought with this. I have read all the FAQ's, I have > scanned the list archives. I can receive calls on * from my Broadvoice > acct, but I cannot place calls... > > I have the 'World Unlimited' plan, and like 5 area codes that are local to > me in Dallas. > > Can anyone help me? > > here are my config files...<snip> A sip debug would be helpful, too.. ("sip debug" / "sip no debug") With this turned on, you'll be able to watch the dialog between * and BV when you try to place a call. This may help you identify where things are breaking down.. (or, if you can't find it, then it could help somebody here identify the problem) Greg