[cisco-voip] Outbound Dial with Carrier SIP Trunk

Ryan West rwest at zyedge.com
Fri Oct 3 09:22:39 EDT 2008


Looks like it's hitting the right dial-peer, are you hearing the ring back?  Just for your reference, here are some snippets from a working PAETEC CME router.

voice class codec 1
 codec preference 1 g711ulaw
 codec preference 2 g729r8
!
dial-peer voice 1 voip
 description inbound dial-peer
 translation-profile incoming inbound-translation
 voice-class codec 1
 session protocol sipv2
 session target sip-server
 incoming called-number .
 dtmf-relay rtp-nte
 no vad
!
dial-peer voice 2 voip
 description international
 destination-pattern 011T
 voice-class codec 1
 session protocol sipv2
 session target sip-server
 dtmf-relay rtp-nte
 no vad
!
dial-peer voice 3 voip
 description 10-digit dialing
 destination-pattern [2-9]..[2-9]......
 voice-class codec 1
 session protocol sipv2
 session target sip-server
 dtmf-relay rtp-nte
 no vad
!
dial-peer voice 4 voip
 description 11-digit dialing
 destination-pattern 1[2-9]..[2-9]......
 voice-class codec 1
 session protocol sipv2
 session target sip-server
 dtmf-relay rtp-nte
 no vad
!
Sip-ua
registrar ipv4:x.x.x.x expires 3600
 sip-server ipv4:x.x.x.x

HTH

-ryan

From: Wilusz, Mike [mailto:mikewilusz at pricechopper.com]
Sent: Friday, October 03, 2008 9:07 AM
To: Ryan West; Matt Slaga (US); cisco-voip at puck.nether.net
Subject: RE: [cisco-voip] Outbound Dial with Carrier SIP Trunk

Here it is:

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2008.10.03 09:05:00 =~=~=~=~=~=~=~=~=~=~=~=

Oct  3 09:05:06: //-1/BC35A9548092/CCAPI/cc_api_display_ie_subfields:
   cc_api_call_setup_ind_common:
   cisco-username=5183551103
   ----- ccCallInfo IE subfields -----
   cisco-ani=5183551103
   cisco-anitype=0
   cisco-aniplan=0
   cisco-anipi=0
   cisco-anisi=1
   dest=18773402555
   cisco-desttype=0
   cisco-destplan=0
   cisco-rdie=FFFFFFFF
   cisco-rdn=
   cisco-rdntype=0
   cisco-rdnplan=0
   cisco-rdnpi=-1
   cisco-rdnsi=-1
   cisco-redirectreason=-1   fwd_final_type =0
   final_redirectNumber =
   hunt_group_timeout =0

Oct  3 09:05:06: //-1/BC35A9548092/CCAPI/cc_api_call_setup_ind_common:
   Interface=0x47A44EFC, Call Info(
   Calling Number=5183551103,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
   Called Number=18773402555(TON=Unknown, NPI=Unknown),
   Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE,
   Incoming Dial-peer=0, Progress Indication=NULL(0), Calling IE Present=TRUE,
   Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=64
Oct  3 09:05:06: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Oct  3 09:05:06: :cc_get_feature_vsa malloc success
Oct  3 09:05:06: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Oct  3 09:05:06:  cc_get_feature_vsa count is 1
Oct  3 09:05:06: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Oct  3 09:05:06: :FEATURE_VSA attributes are: feature_name:0,feature_time:1210640104,feature_id:49
Oct  3 09:05:06: //64/BC35A9548092/CCAPI/cc_api_call_setup_ind_common:
   Set Up Event Sent;
   Call Info(Calling Number=5183551103(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
   Called Number=18773402555(TON=Unknown, NPI=Unknown))
Oct  3 09:05:06: //64/BC35A9548092/CCAPI/cc_process_call_setup_ind:
   Event=0x4829D5E0
Oct  3 09:05:06: //64/BC35A9548092/CCAPI/ccCallSetContext:
   Context=0x487C3864
Oct  3 09:05:06: //64/BC35A9548092/CCAPI/cc_process_call_setup_ind:
   >>>>CCAPI handed cid 64 with tag 0 to app "_ManagedAppProcess_Default"
Oct  3 09:05:06: //64/BC35A9548092/CCAPI/ccCallProceeding:
   Progress Indication=NULL(0)
Oct  3 09:05:06: //64/BC35A9548092/CCAPI/ccCallSetupRequest:
   Destination=, Calling IE Present=TRUE, Mode=0,
   Outgoing Dial-peer=2, Params=0x487C2A44, Progress Indication=ORIGINATING SIDE IS NON ISDN(3)
Oct  3 09:05:06: //64/BC35A9548092/CCAPI/ccCheckClipClir:
   In: Calling Number=5183551103(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
Oct  3 09:05:06: //64/BC35A9548092/CCAPI/ccCheckClipClir:
   Out: Calling Number=5183551103(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
Oct  3 09:05:06: //64/BC35A9548092/CCAPI/ccCallSetupRequest:
   Destination Pattern=1.........., Called Number=18773402555, Digit Strip=FALSE
Oct  3 09:05:06: //64/BC35A9548092/CCAPI/ccCallSetupRequest:
   Calling Number=5183551103(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
   Called Number=18773402555(TON=Unknown, NPI=Unknown),
   Redirect Number=, Display Info=Mike Wilusz
   Account Number=5183551103, Final Destination Flag=TRUE,
   Guid=BC35A954-9082-11DD-8092-AFF0698BD57A, Outgoing Dial-peer=2
Oct  3 09:05:06: //64/BC35A9548092/CCAPI/cc_api_display_ie_subfields:
   ccCallSetupRequest:
   cisco-username=5183551103
   ----- ccCallInfo IE subfields -----
   cisco-ani=5183551103
   cisco-anitype=0
   cisco-aniplan=0
   cisco-anipi=0
   cisco-anisi=1
   dest=18773402555
   cisco-desttype=0
   cisco-destplan=0
   cisco-rdie=FFFFFFFF
   cisco-rdn=
   cisco-rdntype=0
   cisco-rdnplan=0
   cisco-rdnpi=-1
   cisco-rdnsi=-1
   cisco-redirectreason=-1   fwd_final_type =0
   final_redirectNumber =
   hunt_group_timeout =0

Oct  3 09:05:06: //64/BC35A9548092/CCAPI/ccIFCallSetupRequestPrivate:
   Interface=0x47A44EFC, Interface Type=3, Destination=, Mode=0x0,
   Call Params(Calling Number=5183551103,(Calling Name=Mike Wilusz)(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
   Called Number=18773402555(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
   Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE, Outgoing Dial-peer=2, Call Count On=FALSE,
   Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)
Oct  3 09:05:06: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Oct  3 09:05:06: :cc_get_feature_vsa malloc success
Oct  3 09:05:06: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Oct  3 09:05:06:  cc_get_feature_vsa count is 2
Oct  3 09:05:06: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Oct  3 09:05:06: :FEATURE_VSA attributes are: feature_name:0,feature_time:1210640320,feature_id:50
Oct  3 09:05:06: //65/BC35A9548092/CCAPI/ccIFCallSetupRequestPrivate:
   SPI Call Setup Request Is Success; Interface Type=3, FlowMode=1
Oct  3 09:05:06: //65/BC35A9548092/CCAPI/ccCallSetContext:
   Context=0x487C29F4
Oct  3 09:05:06: //64/BC35A9548092/CCAPI/ccSaveDialpeerTag:
   Outgoing Dial-peer=2
Oct  3 09:05:06: //65/BC35A9548092/CCAPI/cc_api_call_proceeding:
   Interface=0x47A44EFC, Progress Indication=NULL(0)
Oct  3 09:05:08: //65/BC35A9548092/CCAPI/cc_api_caps_ind:
   Destination Interface=0x0, Destination Call Id=-1, Source Call Id=65,
   Caps(Codec=0x4, Fax Rate=0x2, Vad=0x2,
   Modem=0x0, Codec Bytes=20, Signal Type=2)
Oct  3 09:05:08: //65/BC35A9548092/CCAPI/cc_api_caps_ind:
   Caps(Playout Mode=1, Playout Initial=60(ms), Playout Min=40(ms),
   Playout Max=250(ms), Fax Nom=300(ms))
Oct  3 09:05:08: //64/BC35A9548092/CCAPI/cc_api_caps_ack:
   Destination Interface=0x0, Destination Call Id=-1, Source Call Id=64,
   Caps(Codec=g729r8(0x4), Fax Rate=FAX_RATE_VOICE(0x2), Vad=ON(0x2),
   Modem=OFF(0x0), Codec Bytes=20, Signal Type=2, Seq Num Start=4140)
Oct  3 09:05:08: //65/BC35A9548092/CCAPI/cc_api_event_indication:
   Event=141, Call Id=65
Oct  3 09:05:08: //65/BC35A9548092/CCAPI/cc_api_event_indication:
   Event Is Sent To Conferenced SPI(s) Directly
Oct  3 09:05:08: //65/BC35A9548092/CCAPI/cc_api_call_cut_progress:
   Interface=0x47A44EFC, Progress Indication=INBAND(8), Signal Indication=SIGNAL RINGBACK(1),
   Cause Value=0
Oct  3 09:05:08: //65/BC35A9548092/CCAPI/cc_api_call_cut_progress:
   Call Entry(Responsed=TRUE)
Oct  3 09:05:08: //64/BC35A9548092/CCAPI/ccCallCutProgress:
   Progress Indication=INBAND(8), Signal Indication=SIGNAL RINGBACK(1), Cause Value=0
   Voice Call Send Alert=FALSE, Call Entry(AlertSent=FALSE)
Oct  3 09:05:08: //64/BC35A9548092/CCAPI/ccCallCutProgress:
   Call Entry(Responsed=TRUE)
Oct  3 09:05:08: //64/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:
   (confID=0x46C39144, callID1=0x40, callID2=0x41, tag=0x0)
Oct  3 09:05:08: //64/BC35A9548092/CCAPI/ccConferenceCreate:
   Conference Id=0x46C39144, Call Id1=64, Call Id2=65, Tag=0x0
Oct  3 09:05:08: //64/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:

Oct  3 09:05:08: ccConferenceCreate: ret1=0, codecMask1=4, bytes1=20, negot1=0, dtmf1=0
                    ret2=0, codecMask2=4, bytes2=20, negot2=1, dtmf2=6
Oct  3 09:05:08: //64/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:
   delay media to slow start case, codec negotation is not done
Oct  3 09:05:08: //64/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Oct  3 09:05:08: cc_api_get_xcode_stream : 4369
Oct  3 09:05:08: //64/xxxxxxxxxxxx/CCAPI/cc_api_bridge_done:
   Conference Id=0x13, Source Interface=0x47A44EFC, Source Call Id=64,
   Destination Call Id=65, Disposition=0x0, Tag=0x0
Oct  3 09:05:08: //65/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Oct  3 09:05:08: cc_api_get_xcode_stream : 4369
Oct  3 09:05:08: //65/xxxxxxxxxxxx/CCAPI/cc_api_bridge_done:
   Conference Id=0x13, Source Interface=0x47A44EFC, Source Call Id=65,
   Destination Call Id=64, Disposition=0x0, Tag=0x0
Oct  3 09:05:08: //64/BC35A9548092/CCAPI/cc_generic_bridge_done:
   Conference Id=0x13, Source Interface=0x47A44EFC, Source Call Id=65,
   Destination Call Id=64, Disposition=0x0, Tag=0x0
Oct  3 09:05:08: //64/BC35A9548092/CCAPI/ccConferenceCreate:
   Call Entry(Conference Id=0x13, Destination Call Id=65)
Oct  3 09:05:08: //65/BC35A9548092/CCAPI/ccConferenceCreate:
   Call Entry(Conference Id=0x13, Destination Call Id=64)
Oct  3 09:05:08: //64/BC35A9548092/CCAPI/cc_process_notify_bridge_done:
   Conference Id=0x13, Call Id1=64, Call Id2=65
Oct  3 09:05:21: //64/BC35A9548092/CCAPI/cc_api_call_disconnected:
   Cause Value=16, Interface=0x47A44EFC, Call Id=64
Oct  3 09:05:21: //64/BC35A9548092/CCAPI/cc_api_call_disconnected:
   Call Entry(Responsed=TRUE, Cause Value=16, Retry Count=0)
Oct  3 09:05:21: //64/BC35A9548092/CCAPI/ccConferenceDestroy:
   Conference Id=0x13, Tag=0x0
Oct  3 09:05:21: //64/xxxxxxxxxxxx/CCAPI/cc_api_bridge_drop_done:
   Conference Id=0x13, Source Interface=0x47A44EFC, Source Call Id=64,
   Destination Call Id=65, Disposition=0x0, Tag=0x0
Oct  3 09:05:21: //65/xxxxxxxxxxxx/CCAPI/cc_api_bridge_drop_done:
   Conference Id=0x13, Source Interface=0x47A44EFC, Source Call Id=65,
   Destination Call Id=64, Disposition=0x0, Tag=0x0
Oct  3 09:05:21: //64/BC35A9548092/CCAPI/cc_generic_bridge_done:
   Conference Id=0x13, Source Interface=0x47A44EFC, Source Call Id=65,
   Destination Call Id=64, Disposition=0x0, Tag=0x0
Oct  3 09:05:21: //65/BC35A9548092/CCAPI/ccCallDisconnect:
   Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
Oct  3 09:05:21: //65/BC35A9548092/CCAPI/ccCallDisconnect:
   Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
Oct  3 09:05:21: //64/BC35A9548092/CCAPI/ccCallDisconnect:
   Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=16)
Oct  3 09:05:21: //64/BC35A9548092/CCAPI/ccCallDisconnect:
   Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
Oct  3 09:05:21: //64/BC35A9548092/CCAPI/cc_api_call_disconnect_done:
   Disposition=0, Interface=0x47A44EFC, Tag=0x0, Call Id=64,
   Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
Oct  3 09:05:21: //64/BC35A9548092/CCAPI/cc_api_call_disconnect_done:
   Call Disconnect Event Sent
Oct  3 09:05:21: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Oct  3 09:05:21: :cc_free_feature_vsa freeing 4828E6E0
Oct  3 09:05:21: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Oct  3 09:05:21:  vsacount in free is 1
Oct  3 09:05:21: //65/BC35A9548092/CCAPI/cc_api_call_disconnect_done:
   Disposition=0, Interface=0x47A44EFC, Tag=0x0, Call Id=65,
   Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
Oct  3 09:05:21: //65/BC35A9548092/CCAPI/cc_api_call_disconnect_done:
   Call Disconnect Event Sent
Oct  3 09:05:21: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Oct  3 09:05:21: :cc_free_feature_vsa freeing 4828E7B8
Oct  3 09:05:21: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Oct  3 09:05:21:  vsacount in free is 0
NETEDGE-SIP-CUBE#

Mike Wilusz, CCNA
Networking Systems Programmer
Price Chopper Supermarkets / The Golub Corporation

From: Ryan West [mailto:rwest at zyedge.com]
Sent: Thursday, October 02, 2008 4:32 PM
To: Wilusz, Mike; Matt Slaga (US); cisco-voip at puck.nether.net
Subject: RE: [cisco-voip] Outbound Dial with Carrier SIP Trunk

Post a short 'debug voip ccapi inout'

-ryan


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20081003/8920e1de/attachment-0001.html>


More information about the cisco-voip mailing list