Page 1 of 3

OXO and LYNC 2013

Posted: 21 Apr 2015 01:18
by besacier
Hi Everyone

I've seen many subject about connecting the OXE to Lync via Direct SIP

is it possible with the OXO, does it work, do you have a guide ?

Cheers

Christian

Re: OXO and LYNC 2013

Posted: 24 Apr 2015 09:13
by besacier
Ok Guys

So here's some news of my experiment linking an OXO with Lync (Part 1)

What I did:
On the Lync side
I defined my oxo main cpu ip in the link topology as a PSTN gateway and a trunk
lync topo.JPG
I defined dial plans, voice policy, route PSTN usage and trunk configuration in the voice routing section of the link control panel

on the OXO side
in Voip parameter I assigned 2 channel for trunk.
voip parameters.JPG
I did the setup for the trunk :
trunk setup 2.JPG
trunk setup 1.JPG
I added the trunk to the internal numbering plan in order to have our phones able to call/reach lync clients
internal numbering plan.JPG
then I configured the private numbering plan to be able to call our users from the lync client (I assume from what I've seen in the documentation)
private numbering plan.JPG
Then ARS (that's where everything becomes difficult, I don't really understand how it's working)
first able the trunk list so index 1 the main trunk and 2 the new sip trunk
ARS trunk list.JPG
and the the ARS table :
ARS Table part 1.JPG
ARS Table part 2.JPG
and to finish the ARS gateway parameters:
ARS gateway parameters.JPG

Re: OXO and LYNC 2013

Posted: 24 Apr 2015 09:34
by besacier
My experiments (Part 2)

Results:
ok so at the moment:
I can call internal users from my lync client by dialing their internal extension (eg. 229) everything is fine , audio quality is good I can even pause and resume the call , transfer is not working but I'll troubleshoot that later

I can't call external numbers , according to the packet capture I've done from the pbx the pbx is receiving the external number but is answering Unallocated number , it's like the OXO is looking is in internal numbering plan and didn't find the number instead of using the main trunk to reach it , I don't know what to do if someone can provide me some help
external call sip trace screenshot.JPG
my internal users can't call the lync client: on a phone i'm dialing *500 to get the line then I dial the extension (eg. 229) and nothing happens
so let's do another sip trace and what what my surprise the oxo send sip request to lync but with the UDP tranport mode , so the lync mediation server does not look at it
internal user to lync client trace.JPG
Question:
What did I missed , why am I not able to dial external numbers from my lync client ???
why is the oxo receiving and accepting sip request in tcp transport mode and why is it sending request to my lync server un UDP mode, is there a way to change this ???

I'm waiting for your answers

Cheers

Christian

Re: OXO and LYNC 2013

Posted: 27 Apr 2015 04:27
by haroun
Hi for long distance call use canonical format -oxo does it understand the +
for calling lync users please put whole trace

Re: OXO and LYNC 2013

Posted: 27 Apr 2015 11:23
by besacier
Hi Haroun
Thx for your answer

For the Lync clients trying to call an external number
I'm using the canonical format in the trace you can see sip:+33607599239, I also tried to use 0 instead of the + : sip:0033607599239 but it not working either

I believe I missed something with my ARS setup but what , I don't know

for the internal users trying to reach the Lync clients
here's the full trace
internal users calling Lync client.txt
as you can see there the Oxo retries several times but there's no answer from the Lync server because the Oxo is using the UDP transport mode when Lync only listen to the TCP transport mode

Re: OXO and LYNC 2013

Posted: 28 Apr 2015 04:47
by tot3nkopf
Your sip trunk is declared as public. So your seizure (0) from Lync will be analyzed in the public numbering plan not in the private.
Anyway I do not see the external seizing prefix in the private either.

Related post:
viewtopic.php?f=227&t=22692&hilit=asterisk+tot3nkopf

Re: OXO and LYNC 2013

Posted: 28 Apr 2015 05:16
by haroun
for internal call you got
SIP/2.0 403 Forbidden
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, PRACK, REFER, NOTIFY, UPDATE
User-Agent: OXO920/067.001 GW_920/078.001
Reason: Q.850;text=" Incoming calls barred within CUG";cause=55
To: <sip:10.70.0.242>;tag=3f7ba277542091ae359a864e1e75d6b1
From: <sip:lyncfront2.isl.ch:5060;transport=Tcp;ms-opaque=a07b37a511d1458d>;tag=7598e1464b;epid=FFD855A72E
Call-ID: 1f4eb473fc224e47a68db6331ecc5e9b
CSeq: 10376 OPTIONS
Via: SIP/2.0/TCP 10.100.0.9:53435;branch=z9hG4bKc4fad714
Content-Length: 0

calls are them allowed from oxo to lync

Re: OXO and LYNC 2013

Posted: 28 Apr 2015 05:30
by besacier
tot3nkopf wrote:Your sip trunk is declared as public. So your seizure (0) from Lync will be analyzed in the public numbering plan not in the private.
Anyway I do not see the external seizing prefix in the private either.

Related post:
viewtopic.php?f=227&t=22692&hilit=asterisk+tot3nkopf
Hi tot3nkopf

Thx for your answer

You said that I declared my sip trunk as public but as far as I can seen in the screenshot I posted public is not checked
How do you setup the seizure for the external prefix I looked at the link but I haven't found ?

Re: OXO and LYNC 2013

Posted: 28 Apr 2015 05:34
by besacier
haroun wrote:for internal call you got
SIP/2.0 403 Forbidden
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, PRACK, REFER, NOTIFY, UPDATE
User-Agent: OXO920/067.001 GW_920/078.001
Reason: Q.850;text=" Incoming calls barred within CUG";cause=55
To: <sip:10.70.0.242>;tag=3f7ba277542091ae359a864e1e75d6b1
From: <sip:lyncfront2.isl.ch:5060;transport=Tcp;ms-opaque=a07b37a511d1458d>;tag=7598e1464b;epid=FFD855A72E
Call-ID: 1f4eb473fc224e47a68db6331ecc5e9b
CSeq: 10376 OPTIONS
Via: SIP/2.0/TCP 10.100.0.9:53435;branch=z9hG4bKc4fad714
Content-Length: 0

calls are them allowed from oxo to lync
Hi Haroun

On the Lync side I allowed everything coming from the OXO ip , but how can I do that on the OXO side ???

Posted: 28 Apr 2015 10:48
by cavagnaro
That message is coming from lync not oxo...