[Asterisk-Users] BroadVoice usage?
Jay Milk
jay at skimmilk.net
Tue Jun 8 09:45:42 MST 2004
I do, see sip.conf below. My network is multi-NAT, so all DHCP'd
machines have one external IP to share, and a small number of servers
(including *) get a static internal IP which maps to a static external
IP.
[general]
port = 5060 ; Port to bind to
bindaddr = 192.168.254.204 ; Address to bind SIP channel to
context = incoming ; Default context for incoming calls
disallow=all ; Disallow all codecs
allow=gsm
allow=ulaw ; Allow codecs in order of preference
allow=alaw
externip = x.x.x.149 ; Address that we're going to put in
outbound SIP messages
; if we're behind a NAT
localnet = 192.168.254.204 ; Internal NETWORK address
localmask = 255.255.255.0 ; Internal netmask
; The externip, localnet and localmask
is used
; when registering and communication
with other proxies
; that we're registered with
nat=yes
register => xxxxxxx:password at sipgate.de/99049
register => xxxxxx:password at fwd.pulver.com/99393
register => 5551231234:password at sip.broadvoice.com/99555
register => 5561231234:password at sip.broadvoice.com/99556
register => 5571231234:password at sip.broadvoice.com/99557
[sip99555]
secret=password
username=5551231234
host=sip.broadvoice.com
type=peer
nat=yes
canreinvite=no
dtmfmode=rfc2833
fromuser=5551231234
callerid=5551231234
context=incoming
fromdomain=sip.broadvoice.com
(rings to sipura SPA-2000:)
[24]
type=friend
username=24
secret=password
;mailbox=1000
host=dynamic
context=internal
dtmfmode=rfc2833
qualify=250
canreinvite=no
callerid="Office" <24>
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Michael Swan
Sent: Monday, June 07, 2004 12:24 PM
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] BroadVoice usage?
Hi Greg,
Thanks for the fromuser= and fromdomain= hints. Adding those cleared up
the problem and we can make and receive calls now.
However, as with Voiceglo, BroadVoice seems to ignore DTMF on incoming
calls. It does send DTMF on outgoing calls. I've tried all three
dtmfmode values in sip.conf leaving the setting at inband which seems to
work for outgoing.
Does anyone else receive DTMF on incoming calls with their BroadVoice
account?
Michael Swan
Neon Software, Inc.
At 10:35 PM 6/4/2004 -0600, you wrote:
>On Fri, 4 Jun 2004, Michael Swan wrote:
>
> > Yes, we do have a context for incoming calls -- it's used for not
> > only BroadVoice (which isn't working) and VoiceGlo and iConnectHere
> > (which are working.) And, yes, we do have a pattern match on our
> > number in our [general] context in extensions.conf. As of this
> > morning, when we dial our BroadVoice number, we get a fast busy and
> > our Asterisk server is never contacted.
>
>similar thing happened when I tried to use voiceglo.. It appeared to be
>a problem in the provisioning of the phone number. Their tech support
>never responded to fix it, so I dumped 'em and now use Broadvoice
>instead.
>
> > As for outgoing, we did make the change to sip.broadvoice.com (from
> > proxy.broadvoice.com). This did make a change on our outgoing
> > calls: the BroadVoice server responded with:
> > Got SIP response 604 "Does not exist anywhere" back from
> 147.135.0.129
> > This is progress but it's still an error. :-( And, no: our Asterisk
> > server is not behind a NAT firewall.
>
>I don't see fromuser= and fromdomain= in your config below.. try adding
>those. In the SIP debug, you'll probably see that your asterisk server
>is putting From : asterisk at yourhost in the messages to broadvoice.
>Their server doesn't like that; it wants to see From:
>yournumber at sip.broadvoice.com in the message. fromuser and fromdomain
>make that happen.
>
>
>PS, a question for Jay. What dtmf mode are you using? I haven't got
>dtmf working inbound or out yet.
>
>Greg
>
>
> >
> >
> >
> > At 03:04 AM 6/3/2004 -0500, you wrote:
> > >I have Broadvoice working on three lines. Had the same problems
> > >you have in the beginning.
> > >
> > >Trouble-shoot one thing at a time...
> > >Incoming: Do you have a context for incoming calls set up? It
> > >belongs in your [general] section. Once there, do you have a
> > >pattern or extension matching your phone number? If Asterisk can't
> > >match the extension for an incoming call, the call is rejected and
> > >BV tells you it's busy.
> > >
> > >Outgoing: Use host=sip.broadvoice.com. Don't use proxy. If your
> > >asterisk sits behind a NAT firewall, it wouldn't hurt to add
> > >"nat=yes" to your [broadvoice] section.
> > >
> > >-----Original Message-----
> > >From: asterisk-users-admin at lists.digium.com
> > >[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Michael
> > >Swan
> > >Sent: Tuesday, June 01, 2004 11:51 AM
> > >To: asterisk-users at lists.digium.com
> > >Subject: [Asterisk-Users] BroadVoice usage?
> > >
> > >
> > >Hi all,
> > >
> > >I've been trying to use BroadVoice as a SIP service provider. They
> > >don't
> > >
> > >officially
> > >support * but are helpful when it comes to answering questions for
> > >setup parameters. They claim they have no firewalls or access lists
> > >that need to be set up so I can get access to their servers.
> > >
> > >However, something's still not quite right when I use the
> > >parameters. It looks like our Asterisk server is registered with
> > >their server and I believe I have all the other entries set up
> > >correctly (we use other services, too, such as iConnectHere and
> > >Voiceglo so I'm pretty sure I've got my BroadVoice set up
> > >correctly.) "sip show registry" shows my * server as registered
> > >with the BroadVoice IP address.
> > >
> > >When I try to make an outbound call, there is no answer from the
> > >BroadVoice server (proxy.boradvoice.com) to Asterisk's INVITE.
> > >
> > >When I try to call our assigned BroadVoice number, I immediately
> > >get a BroadVoice message saying the number is busy.
> > >
> > >I can provide the sip debug output but it basically shows that
> > >BroadVoice appears to be not communicating with inbound or outbound
> > >requests.
> > >
> > >Here are the entries:
> > >
> > >sip.conf
> > >
> > >register =>
> > >phonenumber:password at sip.broadvoice.com:5060/phonenumber
> > >
> > >[broadvoice]
> > >type=friend
> > >username=phonenumber
> > >secret=password
> > >host=proxy.broadvoice.com
> > >dtmfmode=inband
> > >disallow=all
> > >allow=ulaw
> > >allow=alaw
> > >
> > >extensions.conf
> > >
> > >; calls via BroadVoice
> > >exten => _6NXXXXXX,1,Dial,SIP/1925${EXTEN:1}@broadvoice
> > >exten => _61NXXNXXXXXX,1,Dial,SIP/${EXTEN:1}@broadvoice
> > >exten => _6011.,1,Dial,SIP/${EXTEN:1}@broadvoice
> > >exten => _6.,2,Congestion
> >
> >
>
>_______________________________________________
>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
_______________________________________________
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
More information about the asterisk-users
mailing list