[Asterisk-Users] multiple sip accounts from same sip registrar

Peter Bowyer peeebeee at gmail.com
Wed May 18 00:25:58 MST 2005


On 17/05/05, Matt Scott <matt at mgsnet.co.uk> wrote:
> Dear all,
>  
> I have an asterisk sip issue which I don't believe is unique.
> I use a registrar (sipgate.co.uk) where I have 3 different accounts.
> These accounts provide me with three seperate local phone numbers which
> allow me to allocate them to seperate users.
> By using just one of these accounts I can set asterisk up to send and
> receive calls no problem.
> However, when I start to introduce an additional account I start to run into
> problems.
>  
> if I do a 'sip show peers' with a good config I think it may outline the
> problem
>  
> sip show peers
> Name/username              Host            Dyn Nat ACL Mask             Port
>     Status    
> 1005/1005                  (Unspecified)    D          255.255.255.255  0   
>     Unmonitored
> 1004/1004                  (Unspecified)    D          255.255.255.255  0   
>     Unmonitored
> 1003/1003                  (Unspecified)    D          255.255.255.255  0   
>     Unmonitored
> 1002/1002                  10.0.0.52        D          255.255.255.255  5060
>     Unmonitored
> 1001/1001                  10.0.0.51        D          255.255.255.255  5060
>     Unmonitored
> sipgate1/321****           217.10.79.219        N      255.255.255.255  5060
>     OK (52 ms)

I'm not sure what you think the problem is, you haven't told us... but
anyway, I haven't succeeded in sending sipgate inbound calls through
separate contexts, but I deal with them all in a single context - the
calls will arrive at an extension matching the individual sipgate
username in the register command.

Works for me and several others....

Peter


-- 
Peter Bowyer
Email: peter at bowyer.org
Tel: +44 1296 768003
VoIP: sip:peter at bowyer.org



More information about the asterisk-users mailing list