cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1303
Views
0
Helpful
3
Replies

call-forward from sip trunk

Aleksandr305
Level 1
Level 1

Hello, friends.

There are Cisco (C2801-ADVENTERPRISEK9_IVS-M), Version 15.1 (4) M7.

Telephones connected to SCCP, registered SIP from the provider.

I need to forward incoming calls coming through the SIP-trunk from the provider on no answer or busy from one inside number to another. Currently all calls come to an extension 61. I add in config:

ephone-dn  3  dual-line
 number 61 no-reg primary
 name Vankuver
 call-forward noan 83 timeout 10

voice service voip
 supplementary-service h450.2
 supplementary-service h450.3
 supplementary-service h450.7
 supplementary-service h450.12
 supplementary-service h225-notify cid-update
 supplementary-service sip moved-temporarily

It works fine It works well in inside number of CME, but does not work when calling from world through SIP-trunk. Is it possible to somehow solve this problem?


 

 

 

3 Replies 3

Manish Prasad
Level 5
Level 5

It might be failing because the ANI number you are sending to ITSP when CFNA is set on a phone is not recognize by your Telco and they need the ANI to be same as they have allocated to the trunk.

To confirm this we need some debug , please attach "debug isdn q931" and "debug ccsip message".

Hello!

Is the protocol q931 used on the SIP? 

on my router is no such option debug:

DC#debug is?
isis

Debug ccsip message during call-forwarding:

 

contact: <sip:141756@92.63.108.115:5060>
Record-Route: <sip:144.76.42.108;lr=on>
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0


Jun  6 11:11:49.543: //1958/43A09392879B/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:79257171917@sip.zadarma.com:5060 SIP/2.0
Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK66022EA
From: "" <sip:141756@92.63.108.115>;tag=75DA6E0-1673
To: <sip:79257171917@sip.zadarma.com>
Date: Fri, 06 Jun 2014 06:11:49 GMT
Call-ID: 47BE0AF1-EC7811E3-87A6FAC8-2C2E981E@92.63.108.115
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE:  1800
Cisco-Guid: 1134597010-3967291875-2275146440-0741251102
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 101 INVITE
Max-Forwards: 70
Timestamp: 1402035109
Contact: <sip:141756@92.63.108.115:5060>
Call-Info: <sip:92.63.108.115:5060>;method="NOTIFY;Event=telephone-event;Duration=2000"
Expires: 180
Allow-Events: telephone-event
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 309

v=0
o=CiscoSystemsSIP-GW-UserAgent 7860 2423 IN IP4 92.63.108.115
s=SIP Call
c=IN IP4 92.63.108.115
t=0 0
m=audio 18018 RTP/AVP 0 18 8 101
c=IN IP4 92.63.108.115
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

Jun  6 11:11:49.607: //1958/43A09392879B/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK66022EA;rport=5060
From: "" <sip:141756@92.63.108.115>;tag=75DA6E0-1673
To: <sip:79257171917@sip.zadarma.com>;tag=b638310eda6e4a73cf10b7fe3c94c572.2634
Call-ID: 47BE0AF1-EC7811E3-87A6FAC8-2C2E981E@92.63.108.115
CSeq: 101 INVITE
Proxy-Authenticate: Digest realm="sip.zadarma.com", nonce="U5FYGlORVu4gKlOEGyb6WoifTdbqocIi", qop="auth"
Server: kamailio (4.1.2 (x86_64/linux))
Content-Length: 0


Jun  6 11:11:49.619: //1958/43A09392879B/SIP/Msg/ccsipDisplayMsg:
Sent:
ACK sip:79257171917@sip.zadarma.com:5060 SIP/2.0
Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK66022EA
From: "Havana" <sip:141756@92.63.108.115>;tag=75DA6E0-1673
To: <sip:79257171917@sip.zadarma.com>;tag=b638310eda6e4a73cf10b7fe3c94c572.2634
Date: Fri, 06 Jun 2014 06:11:49 GMT
Call-ID: 47BE0AF1-EC7811E3-87A6FAC8-2C2E981E@92.63.108.115
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: telephone-event
Content-Length: 0


Jun  6 11:11:49.623: //1958/43A09392879B/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:79257171917@sip.zadarma.com:5060 SIP/2.0
Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK66124A9
From: "" <sip:141756@92.63.108.115>;tag=75DA6E0-1673
To: <sip:79257171917@sip.zadarma.com>
Date: Fri, 06 Jun 2014 06:11:49 GMT
Call-ID: 47BE0AF1-EC7811E3-87A6FAC8-2C2E981E@92.63.108.115
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE:  1800
Cisco-Guid: 1134597010-3967291875-2275146440-0741251102
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 102 INVITE
Max-Forwards: 70
Timestamp: 1402035109
Contact: <sip:141756@92.63.108.115:5060>
Call-Info: <sip:92.63.108.115:5060>;method="NOTIFY;Event=telephone-event;Duration=2000"
Expires: 180
Allow-Events: telephone-event
Proxy-Authorization: Digest username="141756",realm="sip.zadarma.com",uri="sip:79257171917@sip.zadarma.com:5060",response="dd5bb900646e223ea28f5681f5c4f0a5",nonce="U5FYGlORVu4gKlOEGyb6WoifTdbqocIi",cnonce="A872B373",qop=auth,algorithm=md5,nc=00000001
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 309

v=0
o=CiscoSystemsSIP-GW-UserAgent 7860 2423 IN IP4 92.63.108.115
s=SIP Call
c=IN IP4 92.63.108.115
t=0 0
m=audio 18018 RTP/AVP 0 18 8 101
c=IN IP4 92.63.108.115
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

Jun  6 11:11:49.691: //1958/43A09392879B/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 100 trying -- your call is important to us
Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK66124A9;rport=5060
From: "" <sip:141756@92.63.108.115>;tag=75DA6E0-1673
To: <sip:79257171917@sip.zadarma.com>
Call-ID: 47BE0AF1-EC7811E3-87A6FAC8-2C2E981E@92.63.108.115
CSeq: 102 INVITE
Server: kamailio (4.1.2 (x86_64/linux))
Content-Length: 0


Jun  6 11:11:54.455: //1955/44A3FA4F879F/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 302 Moved Temporarily
Via: SIP/2.0/UDP 144.76.42.108;branch=z9hG4bK2f44.a1a052632e3cd23f8895fc6d2db0211a.0,SIP/2.0/UDP 178.16.26.124:5060;rport=5060;branch=z9hG4bK4c75645d
From: "74996771845" <sip:74996771845@178.16.26.124>;tag=as461a6007
To: <sip:141756@144.76.42.108>;tag=75D92BC-F79
Date: Fri, 06 Jun 2014 06:11:44 GMT
Call-ID: 60f3ac25005d0c887a7670c3444c00a6@178.16.26.124:5060
CSeq: 102 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Diversion: <sip:61@92.63.108.115>;reason=no-answer;counter=1
Contact: <sip:83@92.63.108.115>
Content-Length: 0


Jun  6 11:11:54.467: //1958/43A09392879B/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 92.63.108.115:5060;rport=5060;branch=z9hG4bK66124A9
Record-Route: <sip:144.76.42.108;lr=on>
From: "k141756" <sip:k141756@92.63.108.115>;tag=75DA6E0-1673
To: <sip:79257171917@sip.zadarma.com>;tag=as438a00b9
Call-ID: 47BE0AF1-EC7811E3-87A6FAC8-2C2E981E@92.63.108.115
CSeq: 102 INVITE
Server: Zadarma Voip
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: <sip:79257171917@176.9.145.115:5060>
Content-Length: 0


Jun  6 11:11:54.507: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:141756@92.63.108.115:5060 SIP/2.0
Via: SIP/2.0/UDP 144.76.42.108;branch=z9hG4bK2f44.a1a052632e3cd23f8895fc6d2db0211a.0
Max-Forwards: 16
From: "74996771845" <sip:74996771845@178.16.26.124>;tag=as461a6007
To: <sip:141756@144.76.42.108>;tag=75D92BC-F79
Call-ID: 60f3ac25005d0c887a7670c3444c00a6@178.16.26.124:5060
CSeq: 102 ACK
Content-Length: 0


Jun  6 11:11:56.223: //1958/43A09392879B/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 92.63.108.115:5060;rport=5060;branch=z9hG4bK66124A9
Record-Route: <sip:144.76.42.108;lr=on>
From: "k141756" <sip:k141756@92.63.108.115>;tag=75DA6E0-1673
To: <sip:79257171917@sip.zadarma.com>;tag=as438a00b9
Call-ID: 47BE0AF1-EC7811E3-87A6FAC8-2C2E981E@92.63.108.115
CSeq: 102 INVITE
Server: Zadarma Voip
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: <sip:79257171917@176.9.145.115:5060>
Content-Type: application/sdp
Content-Length: 326

v=0
o=root 767751635 767751635 IN IP4 176.9.145.115
s=Zadarma Voip
c=IN IP4 176.9.145.115
t=0 0
m=audio 19338 RTP/AVP 8 0 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

Jun  6 11:11:56.275: //1958/43A09392879B/SIP/Msg/ccsipDisplayMsg:
Sent:
ACK sip:79257171917@176.9.145.115:5060 SIP/2.0
Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK662E39
From: "Havana" <sip:141756@92.63.108.115>;tag=75DA6E0-1673
To: <sip:79257171917@sip.zadarma.com>;tag=as438a00b9
Date: Fri, 06 Jun 2014 06:11:49 GMT
Call-ID: 47BE0AF1-EC7811E3-87A6FAC8-2C2E981E@92.63.108.115
Route: <sip:144.76.42.108;lr=on>
Max-Forwards: 70
CSeq: 102 ACK
Proxy-Authorization: Digest username="141756",realm="sip.zadarma.com",uri="sip:79257171917@sip.zadarma.com:5060",response="dd5bb900646e223ea28f5681f5c4f0a5",nonce="U5FYGlORVu4gKlOEGyb6WoifTdbqocIi",cnonce="A872B373",qop=auth,algorithm=md5,nc=00000001
Allow-Events: telephone-event
Content-Length: 0

 

 

I added 

 no supplementary-service sip moved-temporarily

and all works!

http://www.cisco.com/c/en/us/support/docs/voice-unified-communications/unified-communications-manager-express/91535-cme-sip-trunking-config.html