Go Back   Voxilla VoIP Forum > Hardware/Software Support Forums > Asterisk Support Forum

Asterisk Support Forum Technical support, how-to guides, troubleshooting, and general assistance, from beginner to seasoned pro, this is where to discuss Asterisk, the most powerful open source PBX.



Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old June 10th, 2009, 11:21 PM
Junior Member
 
Join Date: Jun 2009
Posts: 1
medisoft is on a distinguished road
Default Howto: Multiple registrations from same provider?

Hi! I'm trying to config my asterisk for multiple registrations from same provider.

I have 2 numbers from same service, "serviceip.com", with username "aaaa" and "bbbb" and password "xxxx" and "yyyy" and phone number "1234-5678" and "1234-6789"

i have two context "[contexta]" and "[contextb]"

i also have multiple extensions in both contexts.

i wish that when someone calls to "1234-5678" the call be redirected to extension "s" on "[contexta]" and when someone calls to "1234-6789" the call be redirected to extension "s" on "[contextb]"

also, when some extension in "[contexta]" dials a number (like 8243-2732) the call uses the right registry (user aaaa)

right now i can do this with only one registry, but when i activate both of them, then nothing works, no in calls, no out calls, only calls between extensions of the same context.

in sip.conf i have this:

register => aaaa:xxxx@serviceip.com/99900
register => bbbb:yyyy@serviceip.com/99901

[myphone]
context=contexta
type=friend
host=dynamic
mailbox=myextensionnumber
username=myphone
secret=****
qualify=yes
callerid="My Name" <myextensionnumber>
nat=yes
canreinvite=yes


[myotherphone]
context=contextb
type=friend
host=dynamic
mailbox=myotherextensionnumber
username=myotherphone
secret=****
qualify=yes
callerid="My Name" <myotherextensionnumber>
nat=yes
canreinvite=yes


and on extensions.conf

[default]
exten => 99900,1,Goto(contexta,s,1)
exten => 99901,1,Goto(contextb,s,1)

on [contexta] and [contextb] i have the "demo" context that comes with asterisk, only copied it and changed the context name to contexta and contextb
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
asterisk, multiple registrations, same provider

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple accounts on same SIP provider (inbound calls) ZeroExistenZ Asterisk Support Forum 6 October 21st, 2009 05:53 PM
Nimbler Registrations RF.com RF.com Support Forum 0 December 12th, 2008 05:19 PM
ATA with multiple registrations occamsrazor Cisco/Linksys (Sipura) VoIP Support Forum 5 July 18th, 2007 10:44 PM
Asterisk and multiple SIP registrations to the same host RayL Asterisk Support Forum 1 January 19th, 2007 06:37 AM
How to add multiple registrations to Asterisk@home ? JPF Asterisk Support Forum 7 October 6th, 2005 11:37 PM

Voxilla Recommends
  • Voxilla News

    More Voxilla news



    All times are GMT. The time now is 02:36 PM.


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