News & Reviews
More How-To's & Tips More News
More Reviews Device Configuration Tools
No account yet? Create one
Forgot your Username or Password?

Welcome to the Voxilla VoIP Forum.

Voxilla has been a trusted source for accurate, up-to-date information on the IP Communications industry since 2002. A dedicated staff of reporters and engineers produce feature articles and product reviews to keep industry watchers abreast of the people, companies, and trends driving a fast moving market.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.





Closed Thread
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old August 25th, 2005, 08:03 PM
eltoro eltoro is offline
Junior Member
 
Join Date: Mar 2005
Posts: 21
eltoro
Default A second (virtual) number and *

I have my Broadvoice service connected to an asterisk server and it is working fine (both in and outbound).

Now I added the second, "virtual" number, but would like it to be routed to a different extension. I read here that I can setup DID routes, so I just tried adding another "register" statement. As you can probably guess - it did not work - I was getting registration timeouts.

Here is the register line (working for my first number)
register => 678XXXXXXX@sip.broadvoice.com:dontte...broadvoice.com/101

I tried adding this to sip.conf (ext 102 is defined in extensions.conf)
register => 678YYYYYYY@sip.broadvoice.com:dontte...broadvoice.com/102

Any ideas what I might be doing wrong?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old August 25th, 2005, 11:23 PM
mberlant's Avatar
mberlant mberlant is offline
Senior Member
 
Join Date: Aug 2004
Location: USA or Japan
Posts: 5,015
mberlant is an unknown quantity at this point
Default RE: A second (virtual) number and *

You are not doing anything wrong. What you describe requires the use of a brand new feature of Asterisk.

When you have more than one BroadVoice phone number you can elect (on your Account Portal) to invoke Distinctive Ring for these numbers. BV then, for your second and third numbers, includes an ALERT_INFO parameter in your Incoming Call SIP packet, which your ATA would decode and ring your phone differently for the different inbound numbers.

Asterisk versions through 1.0.9 did not have the ability to trap and decode the ALERT_INFO parameter, so what you describe was incredibly hard to achieve. With the release of version 1.1.0, however, this feature is included in the release.

There is a link, http://www.voip-info.org/wiki-Asterisk+cmd+SIPGetHeader, which describes the command you need to fold into your extensions.conf file to trap and process this information. You will need an exten line on the order of exten => s,3,SIPGetHeader(RingTone=ALERT_INFO) to trap the code and then you will need to craft a couple of GotoIf commands to send the different numbers in their different directions.

If you are more adventurous you can patch your chan_sip file according to this thread and report your success either here or there.
__________________
Please do not send technical questions via PM.
Please post all questions to the forum.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old August 26th, 2005, 05:29 AM
eltoro eltoro is offline
Junior Member
 
Join Date: Mar 2005
Posts: 21
eltoro
Default

Thanks for the pointer. Very useful information!

However, shouldn't I be able to get DNIS information and base extension routing on DNIS rather than distinctive ring?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old August 26th, 2005, 05:51 AM
mberlant's Avatar
mberlant mberlant is offline
Senior Member
 
Join Date: Aug 2004
Location: USA or Japan
Posts: 5,015
mberlant is an unknown quantity at this point
Default

As far as I know, BV does not pass the DNIS information. They pass all three numbers with your primary number as the target. If you know better, please let me know. I am very hungry to get this feature working myself.
__________________
Please do not send technical questions via PM.
Please post all questions to the forum.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old August 26th, 2005, 06:48 AM
eltoro eltoro is offline
Junior Member
 
Join Date: Mar 2005
Posts: 21
eltoro
Default

No, I don't know better - I just wish they would pass DNIS - seems like an easy thing to do.

I have to report a success here

I grabbed a patch, patched chan_sip.c, compiled asterisk 1.0.8 (was using 1.0.7), added configuration as suggested in the thread you pointed me to, captured the "Alert-Info:" header and... it did not work.

What was wrong? The thread suggests to set the whole Alert-Info header line:
dring1=Alert-Info: <http://127.0.0.1/Bellcore-dr4>

When I did that it just would not work. When I changed it to:
dring1=<http://127.0.0.1/Bellcore-dr4>

It started working and works fine now. Of course, I broke music on hold and voicemail while recompiling, so I have got some more work to do, but at least the second number is routed differently than the first. And yes, I did check that my primary still rings fine

Thanks for your help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old August 26th, 2005, 06:48 AM
  #6 (permalink)  
Old August 26th, 2005, 06:51 AM
eltoro eltoro is offline
Junior Member
 
Join Date: Mar 2005
Posts: 21
eltoro
Default

One more thing: the reason I went the "patch" route is that Gentoo does not yet have Asterisk 1.1 in the Portage tree.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7 (permalink)  
Old August 26th, 2005, 02:05 PM
mberlant's Avatar
mberlant mberlant is offline
Senior Member
 
Join Date: Aug 2004
Location: USA or Japan
Posts: 5,015
mberlant is an unknown quantity at this point
Default

I am also frustrated by the fact that, despite the announcement of the imminent release of Asterisk 1.2, I have not been able to locate a copy of Asterisk 1.1 for download. Just as you killed MoH and VM when you compiled the dring patch into Asterisk, I am scared of what I would kill if I went that route.
__________________
Please do not send technical questions via PM.
Please post all questions to the forum.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8 (permalink)  
Old August 26th, 2005, 04:13 PM
eltoro eltoro is offline
Junior Member
 
Join Date: Mar 2005
Posts: 21
eltoro
Default

Quote:
Originally Posted by mberlant
I am also frustrated by the fact that, despite the announcement of the imminent release of Asterisk 1.2, I have not been able to locate a copy of Asterisk 1.1 for download.
So, if I understand it correctly, they are skipping 1.1 entirely?

I think you can get 1.1 from the tip of the Asterisk CVS.

# cd /usr/src
# export CVSROOT=server:anoncvs@cvs.digium.com:/usr/cvsroot
# cvs login - the password is anoncvs.
# cvs checkout zaptel libpri asterisk

They don't have a tag for release 1.1, so 1.1 must be on the tip.[/url]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:



Similar Threads for: A second (virtual) number and *
Thread Thread Starter Forum Replies Last Post
looking for Philippine VOIP Virtual Number novice Other Providers 142 February 24th, 2007 08:09 AM
DID/Virtual number for Hawaii or Alaska Porkape Other Providers 3 May 1st, 2006 12:40 PM
French or Swiss Virtual Number jrmcrm Other Providers 10 March 22nd, 2006 09:25 PM
NON Hardware VOIP with US Virtual Number nextract Other Providers 3 January 1st, 2006 12:12 AM
Problem with virtual number natfairbanks Broadvox Direct Support Forum 6 February 5th, 2005 05:09 PM



All times are GMT. The time now is 06:24 PM.


vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc. Logos and trademarks are the property of Voxilla or their respective owner. All other content © 2003-2007 by Voxilla, Inc.