simulataneous calls

Started by skipro, July 16, 2011, 12:21:34 PM

Previous topic - Next topic

bruss

i should clarify.. i can call out on tg1 but inbound calls dont ring the ipphone.. the ph port is ringing and i can answer on the ph port

RonR

#21
Did you put {ph,vg1(7960)} on SP1, SP2, OBiTALK, and LINE Port InboundCallRoute's?  This is the rule that rings both the PHONE Port and the ipphone simultaneously on incoming calla.

bruss

yeah.. but only on sp1 and sp2 as i dont use obitalk and line...

I think its a registration problem.. How do i unclick X-Registration required on sp2 when my ITSP requires it?

RonR

If your ITSP requires registration, you need to leave it enabled.

If your ipphone requires registration to receive calls, that's a problem.

bruss

I have this in my ip phone..

# Proxy Registration (0-disable (default), 1-enable)
proxy_register: "0"   

bruss

Proxy Registration is definetly disabled..


Here is my outbound call setup


7960 signals OBI


|Time     | 10.10.10.202                          |
|         |                   | 10.10.10.200      |                   
|35.906   |         INVITE SDP (g729 g711U g711A telephone-eventRT...pe-101)          |SIP From: "3986" <sip:7960@10.10.10.200 To:<sip:**2xxxxxxxxx@10.10.10.200
|         |(50153)  ------------------>  (5061)   |
|35.911   |         100 Trying|                   |SIP Status
|         |(5061)   <------------------  (5061)   |
|35.927   |         180 Ringing                   |SIP Status
|         |(5061)   <------------------  (5061)   |
|39.194   |         200 OK SDP (g729 telephone-eventRTPType-101)          |SIP Status
|         |(5061)   <------------------  (5061)   |
|39.312   |         RTP (g729)                    |RTP Num packets:336  Duration:6.700s SSRC:0x353006EB
|         |(19110)  ------------------>  (16810)  |
|39.360   |         ACK       |                   |SIP Request
|         |(50153)  ------------------>  (5061)   |
|39.363   |         RTP (g711U)                   |RTP Num packets:1  Duration:0.000s SSRC:0x1103644B
|         |(19110)  <------------------  (16810)  |
|39.379   |         RTP (g729)                    |RTP Num packets:336  Duration:6.699s SSRC:0x1103644B
|         |(19110)  <------------------  (16810)  |
|46.083   |         BYE       |                   |SIP Request
|         |(50153)  ------------------>  (5061)   |
|46.086   |         200 OK    |                   |SIP Status
|         |(5061)   <------------------  (5061)   |






OBI SETS UP 7960s call to callcentric..

|Time     | 10.10.10.200                          |
|         |                   | xxxxxxxxxxxx|                   
|35.926   |         INVITE SDP (g729 g711U g711A telephone-eventRT...pe-101 G726-)          |SIP From: <sip:xxxxxxxxx@callcentric.com To:<sip:xxxxxxxxxx@callcentric.com
|         |(5061)   ------------------>  (5060)   |
|36.009   |         407 Proxy Authentication Required          |SIP Status
|         |(5061)   <------------------  (5060)   |
|36.012   |         ACK       |                   |SIP Request
|         |(5061)   ------------------>  (5060)   |
|36.015   |         INVITE SDP (g729 g711U g711A telephone-eventRT...pe-101 G726-)          |SIP From: <sip:xxxxxxxxx@callcentric.com To:<sip:xxxxxxx@callcentric.com
|         |(5061)   ------------------>  (5060)   |
|36.099   |         100 Trying|                   |SIP Status
|         |(5061)   <------------------  (5060)   |
|36.166   |         100 Trying|                   |SIP Status
|         |(5061)   <------------------  (5060)   |
|38.182   |         183 Session Progress SDP (g729 telephone-event...Type-101)          |SIP Status
|         |(5061)   <------------------  (5060)   |
|38.184   |         RTP (g729)                    |RTP Num packets:400  Duration:7.961s SSRC:0x83466914
|         |(16812)  <------------------  (52580)  |
|38.657   |         183 Session Progress SDP (g729 telephone-event...Type-101)          |SIP Status
|         |(5061)   <------------------  (5060)   |
|39.187   |         200 OK SDP (g729 telephone-eventRTPType-101)          |SIP Status
|         |(5061)   <------------------  (5060)   |
|39.192   |         ACK       |                   |SIP Request
|         |(5061)   ------------------>  (5060)   |
|39.313   |         RTP (g729)                    |RTP Num packets:336  Duration:6.700s SSRC:0x1DE8E623
|         |(16812)  ------------------>  (52580)  |
|46.088   |         BYE       |                   |SIP Request
|         |(5061)   ------------------>  (5060)   |
|46.163   |         200 OK    |                   |SIP Status
|         |(5061)   <------------------  (5060)   |

bruss

ron is this the correct sytax for the VG config?

Number : SP2(192.168.1.145:5062)


exactly like this SP2(192.168.1.145:5062)
not just 192.168.1.145:5062

RonR

Yes, assuming that your ipphone resides at IP address 192.168.1.145 on port 5062 and that your OBi is configured for SIP on SP2.

bruss

I got it working.. my issue was i only had x.x.x.x:port

my 7960 is rocking Gvoice,Callcentric,Li via OBI SP2 on VG1 and VOIPms on seperate lines.

Ron.. Your awesome.

RonR

Now for the bad news...

Due to a bug in the OBi firmware, if you ever enable Do Not Disturb (*78) or Call Forwarding All (*72) on the PHONE Port, all processing of all InboundCallRoute rules fails on SP1, SP2, and the LINE Port, breaking all the magic that occurs there.  Even though this bug is extremely easy to fix in the OBi firmware, I've been informed by Obihai they have no intention of doing so.

It's a real pity that neat features like this and many many others can't be used along with forwarding incoming calls to your cell phone or temporarily quieting incoming calls, especially when there's no technical reason not to allow it.

bruss

what about passing callerid info to the 7960?

RonR

Try:

Service Providers -> ITSP Profile x -> SIP -> X_SpoofCallerID : (checked)

bruss

that didnt do it.. Does your SPA get calleid?

RonR

I actually didn't know as the telephone connected to the PAP2 doesn't display CallerID.  I just connected one that does and it appears CallerID isn't making it through.

Passing CallerID through InboundCallRoute rules has been an area where few have had much success.  It's not clear whether there are bugs or omissions in this area.  Explanations and/or solutions from Obihai have been almost non-existent.

bruss

Interesting..

The OBI is def. not passing cID in the sip setup

Here is the call coming into the obi.

|31060.022|         INVITE SDP (g711U g729 g711A telephone-eventRT...pe-101)          |SIP From: "ALCATEL" <sip:INVITING TN@INVITING IP  To:<sip:CALLED TN@ss.callcentric.com
|         |(5060)   ------------------>  (5061)   |
|31060.026|         100 Trying|                   |SIP Status
|         |(5060)   <------------------  (5061)   |
|31060.060|         180 Ringing                   |SIP Status
|         |(5060)   <------------------  (5061)   |
|31061.091|         200 OK SDP (g729)             |SIP Status
|         |(5060)   <------------------  (5061)   |
|31061.249|         ACK       |                   |SIP Request
|         |(5060)   ------------------>  (5061)   |
|31061.250|         RTP (g729)                    |RTP Num packets:753  Duration:15.036s SSRC:0xB46BE4F2
|         |(53036)  ------------------>  (16830)  |
|31061.253|         RTP (g711U)                   |RTP Num packets:1  Duration:0.000s SSRC:0x67AE6007
|         |(53036)  <------------------  (16830)  |
|31061.278|         RTP (g729)                    |RTP Num packets:753  Duration:15.039s SSRC:0x67AE6007
|         |(53036)  <------------------  (16830)  |
|31076.319|         BYE       |                   |SIP Request
|         |(5060)   ------------------>  (5061)   |
|31076.322|         200 OK    |                   |SIP Status
|         |(5060)   <------------------  (5061)   |



SIP to VG1

|Time     | 10.10.10.200                          |
|         |                   | 10.10.10.202      |                   
|31060.058|         INVITE SDP (g711U g711A g729 G726-32RTPType-10...726-16RTPTyp)          |SIP From: <sip:10.10.10.202 To:<sip:7960@10.10.10.202
|         |(5061)   ------------------>  (5062)   |
|31060.265|         100 Trying|                   |SIP Status
|         |(5061)   <------------------  (5062)   |
|31060.325|         180 Ringing                   |SIP Status
|         |(5061)   <------------------  (5062)   |
|31061.084|         200 OK SDP (g729)             |SIP Status
|         |(5061)   <------------------  (5062)   |
|31061.088|         ACK       |                   |SIP Request
|         |(5061)   ------------------>  (5062)   |
|31061.251|         RTP (g729)                    |RTP Num packets:753  Duration:15.036s SSRC:0xD83921
|         |(16832)  ------------------>  (22038)  |
|31061.277|         RTP (g729)                    |RTP Num packets:756  Duration:15.100s SSRC:0x353006EB
|         |(16832)  <------------------  (22038)  |
|31076.323|         BYE       |                   |SIP Request
|         |(5061)   ------------------>  (5062)   |
|31076.382|         200 OK    |                   |SIP Status
|         |(5061)   <------------------  (5062)   |



So there are actually 2 calls setup and the messaging on the backside of the OBI seems very minimal. Oh well i am more than happy with my setup. But the nerd in me always wants more.

RonR

It's disappointing when things that should work don't and there's not a good reason for it being that way.

bruss

hey ron,

any idea why when i dial **0 from my ipphone it rings my phone port and doesnt go to aa?

here is my inbound call statement

{7060>**0:aa}

here is the whole string


{7960>911:li},{7060>**0:aa},{7960>***:aa2},{7960>(<**1:>(Msp1)):sp1},{7960>(<**2:>(Msp2)):sp2},{7960>(<**3:>(Mli)):li},{7960>(<**9:>(Mpp)):pp},{7960>(Mtg1):tg1},{ph,vg1(7960)}

also what would i need to do to call vg1 from the ph? I can dial **9 from the ipphone and get the ph also.

RonR

It appears your ipphone is doing something with ** and not passing it to the OBi.  Have you checked your ipphone's dial plan?

In the PAP2, I use:

([x*][x*].)

RonR

Quote from: bruss on July 21, 2011, 08:12:28 AM
what would i need to do to call vg1 from the ph?

Adding the following will allow the ipphone and PHONE Port to call each other by dialing 0:

{7960>(Mtg1):tg1},{7960>0:ph},{7960:},{ph,vg1(7960)}

bruss

this is my dialplan.xml


<DIALTEMPLATE>
    <TEMPLATE MATCH="*"            Timeout="5"/> <!-- Anything else -->
</DIALTEMPLATE>