Calling number, Sip Trunks and Asterisk .

Answered Question
May 8th, 2006
User Badges:

Hi,


A 7960 forwards calls not answered to a number thats routed over a sip trunk to an Asterisk server. Asterisk sees the Caller Number as the 7960.


So when asterisk has played its various messages and forwards the call back to an AC broadcast queue i see the caller number as the original forwarding phone not the original calling number of the customer.


I'm guessing its an Asterisk issue but could it be SIP ? If i forward the phone to another CCM extension I do see the original calling number.


Matt.


Correct Answer by gogasca about 11 years 3 months ago

Im running CCM 4.2SR1


7960 CFNA --> SIP TRUNK --> * ---> extensions.conf --> Go to CCM again ---> we see 7960 not very first-


In the CCM Side in the SIP trunk make sure you have the following:


Outbound Calls

Calling Party Selection* Originator



Here in mylab works fine:


105 IPC --> 102 CFA to 210 --> in * 210 send it back to 101 and in 101 phone I do see 105.


***************************************************

Outgoing call leg


INVITE sip:[email protected]:5060 SIP/2.0

Via: SIP/2.0/UDP 110.10.200.3:5060;branch=z9hG4bK3fdd7fba

From: "IP Communicator" ;tag=16777280

To:

Date: Tue, 09 May 2006 05:39:45 GMT

Call-ID: [email protected]

Supported: timer

Min-SE: 1800

User-Agent: Cisco-CCM4.1

Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK

CSeq: 101 INVITE

Max-Forwards: 70

Remote-Party-ID: "IP Communicator" ;party=calling;screen=no;privacy=off

Contact:

Diversion: ;reason=unconditional

Expires: 180

Allow-Events: telephone-event

Content-Type: application/sdp

Content-Length: 227


***************************************************

Incoming call leg


05/09/2006 00:39:45.500 CCM|Incoming UDP SIP message size 698 from 110.10.200.2:[5060]:

INVITE sip:[email protected] SIP/2.0

Via: SIP/2.0/UDP 110.10.200.2:5060;branch=z9hG4bK0fdf17b2

From: "IP Communicator" ;tag=as3b97aa13

To:

Contact:

Call-ID: [email protected]

CSeq: 102 INVITE

User-Agent: Asterisk PBX

Date: Tue, 09 May 2006 05:35:38 GMT

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER

Content-Type: application/sdp

Content-Length: 238


It works fine also for my PP (109). I used First Available algorithm and I do see Original calling party number. Can you give it a try?


;

exten => 210,1,Dial(SIP/[email protected])


Under CCMAdmin| Service | Service Parameters | TCD (Telephony Call Dispatcher)


Make sure you have these:


Redirect With Directing Party CSS* True

Reset Original Called Party on Redirect* True



HTH


//G

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
gogasca Mon, 05/08/2006 - 21:49
User Badges:
  • Green, 3000 points or more

Im running CCM 4.2SR1


7960 CFNA --> SIP TRUNK --> * ---> extensions.conf --> Go to CCM again ---> we see 7960 not very first-


In the CCM Side in the SIP trunk make sure you have the following:


Outbound Calls

Calling Party Selection* Originator



Here in mylab works fine:


105 IPC --> 102 CFA to 210 --> in * 210 send it back to 101 and in 101 phone I do see 105.


***************************************************

Outgoing call leg


INVITE sip:[email protected]:5060 SIP/2.0

Via: SIP/2.0/UDP 110.10.200.3:5060;branch=z9hG4bK3fdd7fba

From: "IP Communicator" ;tag=16777280

To:

Date: Tue, 09 May 2006 05:39:45 GMT

Call-ID: [email protected]

Supported: timer

Min-SE: 1800

User-Agent: Cisco-CCM4.1

Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK

CSeq: 101 INVITE

Max-Forwards: 70

Remote-Party-ID: "IP Communicator" ;party=calling;screen=no;privacy=off

Contact:

Diversion: ;reason=unconditional

Expires: 180

Allow-Events: telephone-event

Content-Type: application/sdp

Content-Length: 227


***************************************************

Incoming call leg


05/09/2006 00:39:45.500 CCM|Incoming UDP SIP message size 698 from 110.10.200.2:[5060]:

INVITE sip:[email protected] SIP/2.0

Via: SIP/2.0/UDP 110.10.200.2:5060;branch=z9hG4bK0fdf17b2

From: "IP Communicator" ;tag=as3b97aa13

To:

Contact:

Call-ID: [email protected]

CSeq: 102 INVITE

User-Agent: Asterisk PBX

Date: Tue, 09 May 2006 05:35:38 GMT

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER

Content-Type: application/sdp

Content-Length: 238


It works fine also for my PP (109). I used First Available algorithm and I do see Original calling party number. Can you give it a try?


;

exten => 210,1,Dial(SIP/[email protected])


Under CCMAdmin| Service | Service Parameters | TCD (Telephony Call Dispatcher)


Make sure you have these:


Redirect With Directing Party CSS* True

Reset Original Called Party on Redirect* True



HTH


//G

Actions

This Discussion