cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3721
Views
5
Helpful
5
Replies

SIP Trunk (Incoming calls work,but Outgoing calls fail)

Hello,

We have CUCM Business Edition Version 8.6.2.21900-5. I have setup a SIP Trunk and configured CUBE to route calls through SIP Trunk. On verification, found Incoming calls are working fine, but Outgoing calls failed with Telco announcement "Your Call cannot completed as dialed, Please confirm your directory and call again". I have setup a Route Pattern 9.19725380227,which routes through SIP Trunk.I have attached SIP debugs for both Incoming and outgoing calls, along with CUBE Config. Please help me out, I am a bit stuck over here. By the way though I have created Translation rules,I have not applied them to the dial-peers.

Thanks Solomon.

5 Replies 5

HI,

>> Route Pattern created is: 9.19725380227

>> The digits seen in the debug is: INVITE sip:19725380227@10.180.174.1:5060 SIP/2.0

>> but the dial-peer is

dial-peer voice 1000 voip

description Dial-Peer to SIP SP

destination-pattern 9T

what numbers the SP expects? can you change the dial-peer accordingly and try?

//Suresh Please rate all the useful posts.

Suresh nailed it! (+5)

Hi Solomon,

A few things here:

1>     The message you hear is the CUCM Annunciator message, not the ITSP.

2>     For the outbound call, a DO INVITE is received from CUCM with the called party as:

*Nov 28 02:40:10 UTC: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

INVITE sip:19725380227@10.180.174.1:5060 SIP/2.0

Via: SIP/2.0/TCP 10.180.174.21:5060;branch=z9hG4bK284fe02e83

From: "Solomon Kavala" <9725380226>;tag=48257~66cfeef1-fb6d-46b8-9b3a-8ad21c4b6307-23778650

To: <19725380227>

Date: Wed, 28 Nov 2012 02:41:41 GMT

Call-ID: 226a6600-b5179e5-1f-15aeb40a@10.180.174.21

However, looking at the dialpeers and the translations, nothing matches and hence the CUBE doesn't send out an INVITE to the ITSP. Either dont strip the 9 on the CUCM end or have a destination pattern match the pattern you are sending to the CUBE.

HTH.

Regards,

Harmit.

Thank you very much to you both. As per your suggestions, I have changed route pattern in CUCM,so that it wont strip 9 and send full number (913304903845) to CUBE. Then in CUBE,I have modified outgoing dial-peer to the Service Provider. But when I dial outgoing call, Call seemed to went through,but got an telco error message "We are Sorry,A Long distance company access code is required for the number you have dialed.Please dial your call with the access code".

I have attached the outgoing call debugs along with changed dial-peers.I have also provided Verizons response to my mail, I have mentioned like that we are sending 11 digits and asked Verizon to let us know whether the digits sent by us what they require. In return to that they have sent an email,which I have attached to this thread.Well,I dont understand what they mention in that mail.Please help me out.

Thanks,

Solomon.

     

Hi Solomon,

Verizon wants you to use 19725380226 as the calling party number (in the From header of your SIP INVITE). What you can do is go to the Route Pattern on CUCM which is getting matched to go out the SIP trunk and add this number in the "Calling Party Transform Mask" as below:

Calling Party Transformations
Required Field
Required Field
Required Field
Required Field

That should send the correct number in the From field to Verizon.

HTH.

Regards,

Harmit

Hi Harmit,

I have already mentioned calling number as 19725380226 under Phone DN's External Phone number mask and checked Use Calling Party's External Phone Number Mask in the destined route pattern 9.13304953845.My conern over here is Outgoing calls which are not working,debugs of that call were posted in my ealier thread.Moreover Verizon spoke some thing about putting STN(19725380227) in the Diversion Header. What was that? Your clarification is much appreciated.

Thanks

Solomon.