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:
[EMAIL PROTECTED]:[EMAIL PROTECTED]

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: <[EMAIL PROTECTED]> 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:
[EMAIL PROTECTED]:[EMAIL PROTECTED]



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:[EMAIL PROTECTED] 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

Reply via email to