Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outbound calls Rejected/Forbidden

Status
Not open for further replies.

eddv123

Technical User
Oct 13, 2016
19
GB
I have an IPO version 9.1 setup with some 9620 phones and a SIP Trunk from SipGate.

Phones are registered and inbound calls work without issues. It is my outbound calls that fail with a "call rejected" being displayed on the phone.

It is matched with a shortcode of:

0N/Dial/9

The monitor log states a:

57833528mS Sip: ac1e00fa00000451 9.1105.0 12 SIPTrunk Endpoint(f424d210) Process SIP response dialog f424d210, method INVITE, CodeNum 403 in state SIPDialog::INVITE_SENT(1)
57833528mS Sip: ac1e00fa00000451 9.1105.0 12 SIPTrunk Endpoint(f424d210) ExtractContactFromMessage: cannot get Contact Header 2012
57833528mS Sip: ac1e00fa00000451 9.1105.0 12 SIPTrunk Endpoint(f424d210) UpdateSIPCallState SIPDialog::INVITE_SENT(1) -> SIPDialog::INV_FINAL_RESP_RCVD(17)
57833528mS Sip: ac1e00fa00000451 9.1105.0 12 SIPTrunk Endpoint(f424d210) ACK SENT TO 217.10.68.151 5060

And I can see that the call reaches the trunk, if I do a trace in the system status tool:

Trace Output - All Channels:
13/10/16 10:21:56-652ms Line = 9, Channel = 2, SIP Message = Invite, Call Ref = 3, Direction = From Switch, From = 00445603709807@sipconnect.sipgate.co.uk, To = 01189116932@sipconnect.sipgate.co.uk
13/10/16 10:21:56-822ms Line = 9, Channel = 2, SIP Message = Response, Call Ref = 3, Direction = To Switch, From = 00445603709807@sipconnect.sipgate.co.uk, To = 01189116932@sipconnect.sipgate.co.uk, Response = 407 Proxy Authentication Required
13/10/16 10:21:56-822ms Line = 9, Channel = 2, SIP Message = Ack, Call Ref = 3, Direction = From Switch, From = 00445603709807@sipconnect.sipgate.co.uk, To = 01189116932@sipconnect.sipgate.co.uk
13/10/16 10:21:56-822ms Line = 9, Channel = 2, SIP Message = Invite, Call Ref = 3, Direction = From Switch, From = 00445603709807@sipconnect.sipgate.co.uk, To = 01189116932@sipconnect.sipgate.co.uk
13/10/16 10:21:56-987ms Line = 9, Channel = 2, SIP Message = Response, Call Ref = 3, Direction = To Switch, From = 00445603709807@sipconnect.sipgate.co.uk, To = 01189116932@sipconnect.sipgate.co.uk, Response = 403 Forbidden
13/10/16 10:21:56-987ms Line = 9, Channel = 2, SIP Message = Ack, Call Ref = 3, Direction = From Switch, From = 00445603709807@sipconnect.sipgate.co.uk, To = 01189116932@sipconnect.sipgate.co.uk

Any assistance would be appreciated as I have exhausted all ideas on how to get this working.

Thanks.
 
I have tried all of the suggestions - thanks for them they have been useful with my understanding.

Still experiencing the same issue, one question regarding the logging - is there anyway to identify which Shortcode is being used for the call ? I can see it is selecting the correct trunk however "9" so don't think the shortcode is the issue.

New logs below:

129259mS Sip: SIPTrunks: Make Target voip, line group id is 9 and ip 217.10.68.151
129259mS Sip: SIP Line (9): License, Valid 1, Available 4, Consumed 0
129259mS Sip: SIP Line (9): sip_trunk_config_items 00020000, voip.flags 00000948
129259mS Sip: SIPDialog f4c13a38 created, dialogs 1 txn_keys 0
129259mS Stun: Info: Line 9: Not using STUN for media in this case.
129259mS Sip: SIP Line (9): GetNearEndString: using uri_string for mNearName
129259mS Sip: SIP Line (9): GetNearEndString: using uri_string for mNearContact
129259mS Sip: SIP Line (9): MakeTarget: using uri_string for mNearAlias
129259mS Sip: ac1e00fa000003f0 9.1008.0 2 SIPTrunk Endpoint(f4c2d800) received CMSetup
129259mS Sip: ac1e00fa000003f0 9.1008.0 2 SIPTrunk Endpoint(f4c13a38) CMSetup received, owner f4c2f2fc, dialog f4c13a38, dialling 01635268378
129259mS Sip: ac1e00fa000003f0 9.1008.0 2 SIPTrunk Endpoint(f4c13a38) Using cfg_user: user Gengis Khan
129259mS Sip: ac1e00fa000003f0 9.1008.0 2 SIPTrunk Endpoint(f4c13a38) InsertCallerIdHeader caller ID method <CallerIDNone> added_pai <F>
129259mS Sip: ac1e00fa000003f0 9.1008.0 2 SIPTrunk Endpoint(f4c13a38) BuildDataMediaSDPFromFastStart m_bIncludeNullFaxInSdp 0
129259mS Sip: ac1e00fa000003f0 9.1008.0 2 SIPTrunk Endpoint(f4c13a38) SetLocalRTPAddress to 172.30.0.250:49158
129259mS Sip: ac1e00fa000003f0 9.1008.0 2 SIPTrunk Endpoint(f4c13a38) SdpClone
129259mS Sip: ac1e00fa000003f0 9.1008.0 2 SIPTrunk Endpoint(f4c13a38) UpdateSDPState SIPDialog::IDLE(0) -> SIPDialog::OFFER_SENT(1)
129259mS Sip: ac1e00fa000003f0 9.1008.0 2 SIPTrunk Endpoint(f4c13a38) INVITE SENT TO 217.10.68.151:5060 (reg required 1 registered 1)
129259mS SIP Call Tx: 9
INVITE sip:01635268378@sipconnect.sipgate.co.uk SIP/2.0
Via: SIP/2.0/UDP 172.30.0.250:5060;rport;branch=z9hG4bK4326499edfa2babf68e9705ae6002833
From: "2437011t0" <sip:445603709807@sipconnect.sipgate.co.uk>;tag=217d8fd4021bcad8
To: <sip:01635268378@sipconnect.sipgate.co.uk>
Call-ID: ba5f4e32eded81b612101c02622c0983
CSeq: 567187440 INVITE
Contact: "2437011t0" <sip:2437011t0@172.30.0.250:5060;transport=udp>
Proxy-Authorization: Digest username="2437011t0",realm="sipconnect.sipgate.co.uk",nonce="WA3XiVgN1l0ATGIHz5WnX+fL230MSQAS",response="f5e411c45bd7ee77f3bdd763822490b3",uri="sip:01635268378@sipconnect.sipgate.co.uk"
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,INFO,NOTIFY,UPDATE
Supported: timer
User-Agent: IP Office 9.1.7.0 build 163
Content-Type: application/sdp
Content-Length: 274

v=0
o=UserA 1599382316 535577857 IN IP4 172.30.0.250
s=Session SDP
c=IN IP4 172.30.0.250
t=0 0
m=audio 49158 RTP/AVP 18 8 0 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
129259mS SIP Tx: UDP 172.30.0.250:5060 -> 217.10.68.151:5060
INVITE sip:01635268378@sipconnect.sipgate.co.uk SIP/2.0
Via: SIP/2.0/UDP 172.30.0.250:5060;rport;branch=z9hG4bK4326499edfa2babf68e9705ae6002833
From: "2437011t0" <sip:445603709807@sipconnect.sipgate.co.uk>;tag=217d8fd4021bcad8
To: <sip:01635268378@sipconnect.sipgate.co.uk>
Call-ID: ba5f4e32eded81b612101c02622c0983
CSeq: 567187440 INVITE
Contact: "2437011t0" <sip:2437011t0@172.30.0.250:5060;transport=udp>
Proxy-Authorization: Digest username="2437011t0",realm="sipconnect.sipgate.co.uk",nonce="WA3XiVgN1l0ATGIHz5WnX+fL230MSQAS",response="f5e411c45bd7ee77f3bdd763822490b3",uri="sip:01635268378@sipconnect.sipgate.co.uk"
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,INFO,NOTIFY,UPDATE
Supported: timer
User-Agent: IP Office 9.1.7.0 build 163
Content-Type: application/sdp
Content-Length: 274

v=0
o=UserA 1599382316 535577857 IN IP4 172.30.0.250
s=Session SDP
c=IN IP4 172.30.0.250
t=0 0
m=audio 49158 RTP/AVP 18 8 0 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
129259mS Sip: ac1e00fa000003f0 9.1008.0 2 SIPTrunk Endpoint(f4c13a38) UpdateSIPCallState SIPDialog::INITIAL(0) -> SIPDialog::INVITE_SENT(1)
129280mS SIP Rx: UDP 217.10.68.151:5060 -> 172.30.0.250:5060
SIP/2.0 403 Forbidden (check from field)
Via: SIP/2.0/UDP 172.30.0.250:5060;received=31.10.39.234;rport=5060;branch=z9hG4bK4326499edfa2babf68e9705ae6002833
From: "2437011t0" <sip:445603709807@sipconnect.sipgate.co.uk>;tag=217d8fd4021bcad8
To: <sip:01635268378@sipconnect.sipgate.co.uk>;tag=757f53d79066a6d35f0de437743824ed.0179
Call-ID: ba5f4e32eded81b612101c02622c0983
CSeq: 567187440 INVITE
Content-Length: 0

129280mS Sip: Find End Point2 ac1e00fa000003f0 9.1008.0 2 SIPTrunk Endpoint (f4c2d800) Sip CallId ba5f4e32eded81b612101c02622c0983
129280mS SIP Call Rx: 9
SIP/2.0 403 Forbidden (check from field)
Via: SIP/2.0/UDP 172.30.0.250:5060;received=31.10.39.234;rport=5060;branch=z9hG4bK4326499edfa2babf68e9705ae6002833
From: "2437011t0" <sip:445603709807@sipconnect.sipgate.co.uk>;tag=217d8fd4021bcad8
To: <sip:01635268378@sipconnect.sipgate.co.uk>;tag=757f53d79066a6d35f0de437743824ed.0179
Call-ID: ba5f4e32eded81b612101c02622c0983
CSeq: 567187440 INVITE
Content-Length: 0

129280mS Sip: ac1e00fa000003f0 9.1008.0 2 SIPTrunk Endpoint(f4c13a38) Process SIP response dialog f4c13a38, method INVITE, CodeNum 403 in state SIPDialog::INVITE_SENT(1)
129280mS Sip: ac1e00fa000003f0 9.1008.0 2 SIPTrunk Endpoint(f4c13a38) ExtractContactFromMessage: cannot get Contact Header 2012
129280mS Sip: ac1e00fa000003f0 9.1008.0 2 SIPTrunk Endpoint(f4c13a38) UpdateSIPCallState SIPDialog::INVITE_SENT(1) -> SIPDialog::INV_FINAL_RESP_RCVD(17)
129280mS Sip: ac1e00fa000003f0 9.1008.0 2 SIPTrunk Endpoint(f4c13a38) ACK SENT TO 217.10.68.151 5060
129280mS SIP Call Tx: 9
ACK sip:01635268378@sipconnect.sipgate.co.uk SIP/2.0
Via: SIP/2.0/UDP 172.30.0.250:5060;rport;branch=z9hG4bK4326499edfa2babf68e9705ae6002833
From: "2437011t0" <sip:445603709807@sipconnect.sipgate.co.uk>;tag=217d8fd4021bcad8
To: <sip:01635268378@sipconnect.sipgate.co.uk>;tag=757f53d79066a6d35f0de437743824ed.0179
Call-ID: ba5f4e32eded81b612101c02622c0983
CSeq: 567187440 ACK
Max-Forwards: 70
Proxy-Authorization: Digest username="2437011t0",realm="sipconnect.sipgate.co.uk",nonce="WA3XiVgN1l0ATGIHz5WnX+fL230MSQAS",response="7111c5a7c3564b2c74425970f74887e8",uri="sip:01635268378@sipconnect.sipgate.co.uk"
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,INFO,NOTIFY,UPDATE
User-Agent: IP Office 9.1.7.0 build 163
Content-Length: 0

129280mS SIP Tx: UDP 172.30.0.250:5060 -> 217.10.68.151:5060
ACK sip:01635268378@sipconnect.sipgate.co.uk SIP/2.0
Via: SIP/2.0/UDP 172.30.0.250:5060;rport;branch=z9hG4bK4326499edfa2babf68e9705ae6002833
From: "2437011t0" <sip:445603709807@sipconnect.sipgate.co.uk>;tag=217d8fd4021bcad8
To: <sip:01635268378@sipconnect.sipgate.co.uk>;tag=757f53d79066a6d35f0de437743824ed.0179
Call-ID: ba5f4e32eded81b612101c02622c0983
CSeq: 567187440 ACK
Max-Forwards: 70
Proxy-Authorization: Digest username="2437011t0",realm="sipconnect.sipgate.co.uk",nonce="WA3XiVgN1l0ATGIHz5WnX+fL230MSQAS",response="7111c5a7c3564b2c74425970f74887e8",uri="sip:01635268378@sipconnect.sipgate.co.uk"
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,INFO,NOTIFY,UPDATE
User-Agent: IP Office 9.1.7.0 build 163
Content-Length: 0

129280mS Sip: ac1e00fa000003f0 9.1008.0 2 SIPTrunk Endpoint(f4c13a38) UpdateSIPCallState SIPDialog::INV_FINAL_RESP_RCVD(17) -> SIPDialog::FINAL(28)
129280mS Sip: ac1e00fa000003f0 9.1008.0 -1 SIPTrunk Endpoint(f4c13a38) KeepDlgOnCmCallLost SIPDialog::FINAL
129280mS Sip: SIPDialog f4c13a38 deleted, dialogs 0 txn_keys 1
129280mS Sip: ~SipTrunkEndpoint ac1e00fa000003f0 9.1008.0 -1 SIPTrunk Endpoint
130131mS PRN: IPOKeepaliveTask::Main sending keepalives at 5000 ms
130966mS SIP Rx: UDP 217.10.68.151:5060 -> 172.30.0.250:5060

134281mS Sip: sip_indicateTimeOut Timer 4
134281mS Sip: Timer 4 callback didn't find dialog, method ACK, callid ba5f4e32eded81b612101c02622c0983
134281mS Sip: sip_indicateTimeOut txn_keys 0
135122mS PRN: -----------Collecting System Information--------------
135122mS PRN: Platform::CollectSystemInformationOutput No Date
135135mS PRN: IPOKeepaliveTask::Main sending keepalives at 5000 ms
136634mS PRN: CMEndpoint f4c18280(ac1e00fa000003ee 354.1006.0 -1 Gengis Khan.0) RemoveTAPICall f4c2d4c0 size 1
136634mS PRN: size now 0


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top