News:

On Tuesday September 6th the forum will be down for maintenance from 9:30 PM to 11:59 PM PDT

Main Menu

2 obi's 2 dids 1 itsp

Started by hugogee, October 04, 2011, 12:26:13 PM

Previous topic - Next topic

hugogee

I have configured 2 obihai on my network. They both use the same ITSP.
Unfortunately they both ring when either number is called. Is it possible
to have a single phone ring when when its number is called?

RonR

On the OBi that you don't want the phone to ring for a particular DID, replace ph or {ph} with {} on the appropriate InboundCallRoute:

Voice Services -> SPx Service -> X_InboundCallRoute

hugogee

Is not the problem that my itsp is sending the call but there
is no pbx to distinguish which device will answer. Resulting
in both devices answering? Seems more appropriate that i
would use a string on the device that would allow calls to
terminate. Hmm i dont know alot about sip or voip in general
just trying to make sense of this. Thanks

QBZappy

hugogee,

Can you clarify. Do both Obi's register with same Service Provider account?
Owner of the 1st OBi110/100 units in service in Canada & South America. 1st OBi202 on my street. 1st OBi1032 in Montreal.

hugogee

Yes both register with the same itsp. I need one did to ring first(obi) phone and
second did to second(obi) phone.
I contacted flowroute and they explained it could be done via an altered
uri, specifiying the did??? If ObiHai is built with newer SIP version???
Unfortunately its beyond me. Thank you for replying so fast. --cheers

RonR

hugogee,

Some VoIP provider support multiple registrations per account and ring all registrations with the first one to answer getting the actual call.  Others support only a single registration with the last one to send a registration request to be the registered client.

The OBi doesn't complete an incoming call until someone actually answers the call.

You need to describe your problem more clearly.  Do the phones on both OBi's ring reliably and simultaneously?  Can you answer either one and successfully complete the call?  Exactly what is happening, what don't you like about it, and how would you like it to work instead?

RonR

Quote from: hugogee on October 04, 2011, 02:34:54 PM
Yes both register with the same itsp. I need one did to ring first(obi) phone and
second did to second(obi) phone.

If you want one number to ring one OBi and the other number to ring the other OBi, why are you registering both DID's on both OBi's?  Don't the two accounts have separate usernames/passwords?  That would be the norm for two separate DID's.

hugogee

Sorry RonR i didnt mean to communicate my problem
poorly. That would only decrease my chances of getting
help which is not what i want.

Desc:
_______
phone1(obi1) = 555-1212
phone2(obi2) = 555-1211

itsp(same for both phones) sip.flowroute.com

all devices coexist on same network.
phone 1 and phone 2 are in different buildings

if possible of course..
I would like when 555-1212 is dialed (obi1) rings and not (obi2)
i would like when 555-1211 is dialed (obi2) rings and not (obi2)

Presently as it stands both phones ring and calls come through
simultaneouly on both phones. Call completes on which ever phone i pick up first.

hugogee

RonR, i was not aware that was the norm.  I could get another itsp
if there is no other way around it. Is that what you recommend?

hugogee

I called Flowroute and they gave me a couple options which i
will share here in case anyone is trying to do the same thing.

option1:
    in your flowroute account:
        did>inboud route i can specify my ip:*port (get dydns if you dont have a static ip)
    at home:
        forward *port to the ip of obi device.
    This can be done for however many obi devices you have.
     Not that it matters but i am using ports 5061  - 5063 (for three individual DIDs)

optioin2:
    just as before create an inbound route but add sip:username@home.ip.address
    this will route calls back to your device. No need to forward ports.

anyhow hope this saves someone a minute or two. Cheers and thank
you all for you quick replies.

RonR

If both incoming DID's are assigned to a single SIP account, I'm not sure how you can determine which one a call came in on from the client (ATA) side.  Have you spoken to FlowRoute and asked them how to make this determination using an ATA?

RonR

An OBi will accept incoming VoIP calls using SIP URI's instead of SIP registration.  This sounds like what FlowRoute was describing to you.  Port 5060 would be SP1 and port 5061 would be SP2.  The receiving Voice Service (SP1/SP2) in the OBi would have to be configure for SIP, which can be done by setting SignalingProtocol to SIP, ProxyServer to any IP address (127.0.0.1), X_RegisterEnable (unchecked), and AuthUserName to anything.  You would also need to forward the SIP ports through your router.

RonR

hugogee,

Try this.  I'm assuming you have FlowRoute configured identically on SP1 of two OBi's and each OBi is registered and receiving calls as you originally described.

OBi #1:

Voice Services -> SP1 Service -> URI : 12341111111@flowroute.com

where 12341111111 is your first DID.


OBi #2:

Voice Services -> SP1 Service -> URI : 12342222222@flowroute.com

where 12342222222 is your second DID.

Dav3yDark0

Could hugogee's problem be that he has 2 OBis behind his router, both set up to use ports 5060 and 5061, and since its the same ITSP and registration credentials that both devices are getting the call?

What if one of the OBis is changed to ports 5062 and 5063?

Dave