Avaya IP Office Program SIP Trunk to Forward Original Callers CLI
The first URI is for incoming calls
The Incoming Group is 17
The Outgoing Group is 18
The Credentials have been selected
The Local URI, Contact and P Asserted ID have all been set to Auto for the Display & Content
Set the Field Meaning(s) as below
The second URI for outgoing calls
The Incoming Group is 18
The Outgoing Group is 17
The Credentials have been selected
The Local URI Display and Content set to Auto
The Contact Display and Content set to Auto
The P-Asserted ID Display set to Auto and the Content set to Use Internal Data (Credential/Pilot number)
Set the Field Meaning(s) as below
In SIP Advanced, enable Use Domain for PAI
Incoming Call
Program the Incoming Number
We have used the Line Group ID 17 (to match the SIP URI)
The User 241 has a forward unconditional to an external number enabled
As we have our SIP URI outbound set to Use Internal Data
We have a valid SIP number programmed in the Users SIP tab
ARS
The ARS code has been updated to
Code: N;
Telephone Number: N
Feature: Dial
Line Group ID: 17
System Status
Select the SIP line and select Trace All
Make a test inbound call, watch the trace output
We can see that our original calling number 04012345678 is calling to 0735587049
Then we can then see our original calling number 04012345678 is calling 0398722922 (the external number the calls are forwarding to)
25/01/23 3:34:51 PM-705ms Line = 17, Channel = 1, SIP Message = Response, Direction = From Switch, From = 0412345678@45.64.148.232, To = 0735587049@tkreg.a4uc.com.au, Response = 100 Trying
25/01/23 3:34:51 PM-706ms Line = 17, Channel = 1, SIP Message = Invite, Direction = To Switch, From = 0412345678@45.64.148.232, To = 0735587049@tkreg.a4uc.com.au
25/01/23 3:34:51 PM-712ms Call Ref = 17, Short Code Matched = System, ?
25/01/23 3:34:51 PM-715ms Call Ref = 17, Originator State = Dialling, Type = Trunk, Destination State = Seized, Type = Target List
25/01/23 3:34:51 PM-726ms Line = 17, Channel = 2, SIP Message = Invite, Call Ref = 17, Direction = From Switch, From = 0412345678@tkreg.a4uc.com.au, To = 0398722922@tkreg.a4uc.com.au
25/01/23 3:34:51 PM-797ms Line = 17, Channel = 2, SIP Message = Response, Call Ref = 17, Direction = To Switch, From = 0412345678@tkreg.a4uc.com.au, To = 0398722922@tkreg.a4uc.com.au, Response = 100 Trying
25/01/23 3:34:51 PM-797ms Call Ref = 17, Originator State = Dialling, Type = Trunk, Destination State = Dialling, Type = Target List
25/01/23 3:34:51 PM-902ms Line = 17, Channel = 2, SIP Message = Response, Call Ref = 17, Direction = To Switch, From = 0412345678@tkreg.a4uc.com.au, To = 0398722922@tkreg.a4uc.com.au, Response = 200 OK
25/01/23 3:34:51 PM-905ms Line = 17, Channel = 2, SIP Message = Ack, Call Ref = 17, Direction = From Switch, From = 0412345678@tkreg.a4uc.com.au, To = 0398722922@tkreg.a4uc.com.au
25/01/23 3:34:51 PM-906ms Call Ref = 17, Originator State = Dialling, Type = Trunk, Destination State = Dialling, Type = Trunk
25/01/23 3:34:51 PM-917ms Line = 17, Channel = 1, SIP Message = Response, Call Ref = 17, Direction = From Switch, From = 0412345678@45.64.148.232, To = 0735587049@tkreg.a4uc.com.au, Response = 200 OK
25/01/23 3:34:51 PM-947ms Line = 17, Channel = 1, SIP Message = Ack, Call Ref = 17, Direction = To Switch, From = 0412345678@45.64.148.232, To = 0735587049@tkreg.a4uc.com.au
25/01/23 3:34:51 PM-949ms Call Ref = 17, Originator State = Connected, Type = Trunk, Destination State = Connected, Type = Trunk
25/01/23 3:35:00 PM-855ms Line = 17, Channel = 1, SIP Message = Bye, Call Ref = 17, Direction = To Switch, From = 0412345678@45.64.148.232, To = 0735587049@tkreg.a4uc.com.au
25/01/23 3:35:00 PM-857ms Line = 17, Channel = 1, SIP Message = Response, Call Ref = 17, Direction = From Switch, From = 0412345678@45.64.148.232, To = 0735587049@tkreg.a4uc.com.au, Response = 200 OK
25/01/23 3:35:00 PM-858ms Call Ref = 17, Originator State = Clearing, Type = Trunk, Destination State = Connected, Type = Trunk
25/01/23 3:35:00 PM-858ms Call Ref = 17, Disconnect from Originator End
25/01/23 3:35:00 PM-865ms Line = 17, Channel = 2, SIP Message = Bye, Direction = From Switch, From = 0412345678@tkreg.a4uc.com.au, To = 0398722922@tkreg.a4uc.com.au
Monitor Trace
Open Monitor, connect to the Avaya IP Office system
Select Filter, Trace Options
Select Clear All
In SIP tab, enable SIP Call RX and SIP Call Tx (right click to select a colour)
Select OK
When a warning advises the below
Select No
Select OK to close the Trace Option window, the monitor will now be logging
Make a test inbound call, watch the trace output
We can see that our original calling number 04012345678 is calling to 0735587049
Then we can then see our original calling number 04012345678 is calling 0398722922 (the external number the calls are forwarding to)
********** SysMonitor v11.1.2.3.0 build 47 [connected to 192.168.86.200 (HarryIP500v2)] **********
9042137mS PRN: Monitor Status IP 500 V2 11.1.2.3.0 build 47
9042138mS PRN: LAW=A PRI=0, BRI=2, ALOG=4, VCOMP=20, MDM=0, WAN=0, MODU=0 LANM=0 CkSRC=0 VMAIL=1(VER=2 TYP=3) 1-X=0 CALLS=0(TOT=13)
9047864mS SIP Call Rx: 17
INVITE sip:0735587049@192.168.86.200:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 45.64.148.232:5060;branch=z9hG4bK04Ba262cbc039d39c56
From: <sip:0412345678@45.64.148.232>;tag=gK0464d4fd
To: "Colin McKenzie" <sip:0735587049@tkreg.a4uc.com.au;user=phone;dtg=TG_A4_TRUNK_INET_EXT_2;reg-info=155d004>
Call-ID: 189023771_105833224@45.64.148.232
CSeq: 357417 INVITE
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,BYE,REGISTER,REFER,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDATE,OPTIONS,MESSAGE
Contact: <sip:0412345678@45.64.148.232:5060>
P-Asserted-Identity: <sip:0412345678@45.64.148.232:5060>
Recv-Info: x-broadworks-client-session-info
X-BroadWorks-Correlation-Info:5ff5e67f-7ecc-4889-8afc-8f9ff5dff6e3
Accept: application/media_control+xml, application/sdp, multipart/mixed
Supported: timer,100rel,precondition,replaces
Session-Expires: 1800
Min-SE: 90
Content-Length: 303
Content-Disposition: session; handling=required
Content-Type: application/sdp
v=0
o=Sonus_UAC 16151 744408 IN IP4 45.64.148.232
s=SIP Media Capabilities
c=IN IP4 45.64.148.234
t=0 0
m=audio 62174 RTP/AVP 8 0 9 101
b=RR:0
b=RS:0
a=maxptime:20
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
9047868mS SIP Call Tx: 17
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 45.64.148.232:5060;branch=z9hG4bK04Ba262cbc039d39c56
From: <sip:0412345678@45.64.148.232>;tag=gK0464d4fd
Call-ID: 189023771_105833224@45.64.148.232
CSeq: 357417 INVITE
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,INFO,NOTIFY,UPDATE
Supported: timer,100rel
Server: IP Office 11.1.2.3.0 build 47
To: "Colin McKenzie" <sip:0735587049@tkreg.a4uc.com.au;user=phone;dtg=TG_A4_TRUNK_INET_EXT_2;reg-info=155d004>;tag=9e12dd21ecd170a5
Content-Length: 0
9047885mS SIP Call Tx: 17
INVITE sip:0398722922@tkreg.a4uc.com.au SIP/2.0
Via: SIP/2.0/UDP 192.168.86.200:5060;rport;branch=z9hG4bK297e28bda5a781069e728f4eecd685d3
From: "0412345678" <sip:0412345678@tkreg.a4uc.com.au>;tag=305e1e7591218f0b
To: <sip:0398722922@tkreg.a4uc.com.au>
Call-ID: f646ad0181955195089b3700efa82c03
CSeq: 1507717111 INVITE
Contact: "0412345678" <sip:0412345678@192.168.86.200:5060;transport=udp>
Authorization: Digest username="0735587049",realm="plantcomms.access4.com.au",nonce="BroadWorksXldb4y0pnTa2ji41BW",response="affff97cf9097943022a4c3f597b86fa",uri="sip:0398722922@tkreg.a4uc.com.au",algorithm=MD5,qop=auth,nc=00000044,cn
once="ce15feaeecf0b6316979"
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,INFO,NOTIFY,UPDATE
Supported: timer,100rel
User-Agent: IP Office 11.1.2.3.0 build 47
P-Asserted-Identity: "0735587049" <sip:0735587049@tkreg.a4uc.com.au:5060>
Diversion: "SIP 241" <sip:241@tkreg.a4uc.com.au:5060>;reason=unconditional;screen=no;privacy=off;counter=1
Content-Type: application/sdp
Content-Length: 232
v=0
o=UserA 4028452780 2247320481 IN IP4 192.168.86.200
s=Session SDP
c=IN IP4 192.168.86.200
t=0 0
m=audio 46750 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
9047922mS SIP Call Rx: 17
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.86.200:5060;branch=z9hG4bK297e28bda5a781069e728f4eecd685d3;received=159.196.49.246;rport=5060
From: "0412345678" <sip:0412345678@tkreg.a4uc.com.au>;tag=305e1e7591218f0b
To: <sip:0398722922@tkreg.a4uc.com.au>;tag=gK04e4d8f4
Call-ID: f646ad0181955195089b3700efa82c03
CSeq: 1507717111 INVITE
Content-Length: 0
9048022mS SIP Call Rx: 17
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.86.200:5060;branch=z9hG4bK297e28bda5a781069e728f4eecd685d3;received=159.196.49.246;rport=5060
From: "0412345678" <sip:0412345678@tkreg.a4uc.com.au>;tag=305e1e7591218f0b
To: <sip:0398722922@tkreg.a4uc.com.au>;tag=gK04e4d8f4
Call-ID: f646ad0181955195089b3700efa82c03
CSeq: 1507717111 INVITE
Contact: sip:0398722922@45.64.148.232:5060
Allow: INVITE,ACK,CANCEL,BYE,REGISTER,REFER,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDATE,OPTIONS,MESSAGE
P-Asserted-Identity: "Comms Plus" <sip:0398722922@plantcomms.access4.com.au;user=phone>
Accept: application/media_control+xml, application/sdp
X-BroadWorks-Correlation-Info:8101618f-80c2-4b9e-bd18-4f0959e5e651
Require: timer
Supported: timer,replaces
Session-Expires: 1800;refresher=uac
Content-Length: 224
Content-Disposition: session; handling=required
Content-Type: application/sdp
v=0
o=Sonus_UAC 606545 61182 IN IP4 45.64.148.232
s=SIP Media Capabilities
c=IN IP4 45.64.148.234
t=0 0
m=audio 60350 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
9048025mS SIP Call Tx: 17
ACK sip:0398722922@45.64.148.232:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.86.200:5060;rport;branch=z9hG4bK8aec3039e0d3bd7c239301dbee7658dd
From: "0412345678" <sip:0412345678@tkreg.a4uc.com.au>;tag=305e1e7591218f0b
To: <sip:0398722922@tkreg.a4uc.com.au>;tag=gK04e4d8f4
Call-ID: f646ad0181955195089b3700efa82c03
CSeq: 1507717111 ACK
Max-Forwards: 70
Authorization: Digest username="0735587049",realm="plantcomms.access4.com.au",nonce="BroadWorksXldb4y0pnTa2ji41BW",response="6b1db320dd65d1a62e9a8c723cc9d119",uri="sip:0398722922@45.64.148.232:5060",algorithm=MD5,qop=auth,nc=00000045,c
nonce="3964f7c69f56ccb434e7"
User-Agent: IP Office 11.1.2.3.0 build 47
Content-Length: 0
9048036mS SIP Call Tx: 17
SIP/2.0 200 OK
Via: SIP/2.0/UDP 45.64.148.232:5060;branch=z9hG4bK04Ba262cbc039d39c56
From: <sip:0412345678@45.64.148.232>;tag=gK0464d4fd
Call-ID: 189023771_105833224@45.64.148.232
CSeq: 357417 INVITE
Contact: "Colin McKenzie" <sip:0735587049@192.168.86.200:5060;transport=udp>
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,INFO,NOTIFY,UPDATE
P-Asserted-Identity: "Comms Plus" <sip:0398722922@tkreg.a4uc.com.au:5060>
Supported: timer,100rel
Server: IP Office 11.1.2.3.0 build 47
Require: timer
Session-Expires: 1800;refresher=uac
Content-Type: application/sdp
To: "Colin McKenzie" <sip:0735587049@tkreg.a4uc.com.au;user=phone;dtg=TG_A4_TRUNK_INET_EXT_2;reg-info=155d004>;tag=9e12dd21ecd170a5
Content-Length: 207
v=0
o=UserA 804102774 1087822142 IN IP4 192.168.86.200
s=Session SDP
c=IN IP4 192.168.86.200
t=0 0
m=audio 46752 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
9048101mS SIP Call Rx: 17
ACK sip:0735587049@192.168.86.200:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 45.64.148.232:5060;branch=z9hG4bK04Ba2b3ce3239d39c56
From: <sip:0412345678@45.64.148.232>;tag=gK0464d4fd
To: "Colin McKenzie" <sip:0735587049@tkreg.a4uc.com.au;user=phone;dtg=TG_A4_TRUNK_INET_EXT_2;reg-info=155d004>;tag=9e12dd21ecd170a5
Call-ID: 189023771_105833224@45.64.148.232
CSeq: 357417 ACK
Max-Forwards: 70
Content-Length: 0
9052163mS SIP Call Rx: 17
BYE sip:0735587049@192.168.86.200:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 45.64.148.232:5060;branch=z9hG4bK04Ba7230a3939d39c56
From: <sip:0412345678@45.64.148.232>;tag=gK0464d4fd
To: "Colin McKenzie" <sip:0735587049@tkreg.a4uc.com.au;user=phone;dtg=TG_A4_TRUNK_INET_EXT_2;reg-info=155d004>;tag=9e12dd21ecd170a5
Call-ID: 189023771_105833224@45.64.148.232
CSeq: 357418 BYE
Max-Forwards: 70
Reason: Q.850;cause=16
Content-Length: 0
9052165mS SIP Call Tx: 17
SIP/2.0 200 OK
Via: SIP/2.0/UDP 45.64.148.232:5060;branch=z9hG4bK04Ba7230a3939d39c56
From: <sip:0412345678@45.64.148.232>;tag=gK0464d4fd
Call-ID: 189023771_105833224@45.64.148.232
CSeq: 357418 BYE
Supported: timer,100rel
Server: IP Office 11.1.2.3.0 build 47
To: "Colin McKenzie" <sip:0735587049@tkreg.a4uc.com.au;user=phone;dtg=TG_A4_TRUNK_INET_EXT_2;reg-info=155d004>;tag=9e12dd21ecd170a5
Content-Length: 0
9052171mS SIP Call Tx: 17
BYE sip:0398722922@45.64.148.232:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.86.200:5060;rport;branch=z9hG4bK2a3a3d8142acc821a4938e7299383727
From: "0412345678" <sip:0412345678@tkreg.a4uc.com.au>;tag=305e1e7591218f0b
To: <sip:0398722922@tkreg.a4uc.com.au>;tag=gK04e4d8f4
Call-ID: f646ad0181955195089b3700efa82c03
CSeq: 1507717112 BYE
Max-Forwards: 70
Authorization: Digest username="0735587049",realm="plantcomms.access4.com.au",nonce="BroadWorksXldb4y0pnTa2ji41BW",response="9f1f44c71e5c22d4b8d5817c946389ff",uri="sip:0398722922@45.64.148.232:5060",algorithm=MD5,qop=auth,nc=00000046,c
nonce="be0e39e650e4c6736fc7"
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,INFO,NOTIFY,UPDATE
Supported: timer,100rel
User-Agent: IP Office 11.1.2.3.0 build 47
Reason: Q.850;cause=16;text="Normal call clearing"
Content-Length: 0