12-31-2009 05:21 AM - edited 03-18-2019 10:56 AM
I have a trunk SIP connected to CCME, this trunk SIP is used to process incoming and outgoing calls. The incoming and outgoing calls works fine. The problem is the AutoAttendant and VoiceMail. Internally the extensions can hear the Auto Attendant and when a extension does not answer, the prompt of the voice mail is heard, but from the external call to AutoAttendant, the prompt is not heard, the same for the voice mail, the prompts are not heard.
Topology:
(Router_2800) --->SIP trunk ----> (ISP)
This is the configuration:
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729r8
dial-peer voice 1900 voip
description *InternalExtensions*
destination-pattern 555....
voice-class codec 1
session protocol sipv2
session target ipv4:172.17.30.1
dtmf-relay sip-notify
dial-peer voice 1901 voip
description ***CUE_Voicemail***
destination-pattern 1901
session protocol sipv2
session target ipv4:172.17.30.2
dtmf-relay sip-notify
codec g711ulaw
no vad
!
dial-peer voice 1902 voip
description *AutoAttendant*
destination-pattern 1902
voice-class codec 1
session protocol sipv2
session target ipv4:172.17.30.2
dtmf-relay sip-notify
no vad
dial-peer voice 2000 voip
tone ringback alert-no-PI
description *External Calls*
destination-pattern 9143T
voice-class codec 1
session protocol sipv2
session target ipv4:172.19.25.2
dtmf-relay rtp-nte
12-31-2009 05:28 AM
try to add the follwoing dial peer and see if it helps or not
dial-peer voice 90 voip
incoming called-number .
codec g711ulaw
good luck
if helpful Rate
12-31-2009 05:47 AM
I change the settings to dial-peer called dial-peer voice 1902 voip (dial peer to the AA), codec and incoming number, but dont work .
01-04-2010 05:52 AM
Another suggestion?
01-04-2010 12:01 PM
I noticed that the calls between the internal IP Cisco Phone to the Auto Attendant in the Cisco Unity Express are established using the g711ulaw codec, and the codec used between the external call to internal IP Cisco Phone is g711alaw . Is possible change the codec g711ulaw to g711alaw in he connection from the CUCM to CUE ?
Example, actual codec used:
ITSP --> g711alaw --> (CUCME) ---> g711ulaw ---> Auto Attendant (CUE)
Cisco IP Phone registered in the CUCME ---> g711ulaw ----> Auto Attendant (CUE)
01-04-2010 02:55 PM
you can by using incoming voip dialpeer same concept of the above one
lets say from cucm ip phnes dial cue with number 1000
in the voice gateway where cue reside:
dial-peer voice 99 voip
incoming called-number 100
codec g711ulaw
and you already have outgoing dial-peer with the command destination pattern to send the the call to the right destination
good luck
10-13-2010 03:21 AM
Hello ricardorajas123
Did you manage to solve this problem?
I have exactly the same problem as you had, and I'm pulling my hair on this one...
I hope you have an answer.
regards,
Jon
10-13-2010 07:55 AM
CUE does not support g711alaw codec.
Only g711ulaw is the supported codec.
So hardcode dialpeers pointed to CUE
(VM/AA etc.) with g711ulaw and no vad.
For the other leg (incoming) if the codec is
other than g711ulaw, you'd need to configure
transcoding.
http://www.cisco.com/en/US/partner/docs/voice_ip_comm/cucme/admin/configuration/guide/cmetrnsc.html
DK
10-13-2010 08:01 AM
Hi Dilip.
I configured the transcode a bit earlier today, and now the call is forwarded to VM/AA. But the problem now is that I do NOT hear the VM/AA prompt...just silence. With debug I can see that the call is active.
Jon
10-13-2010 08:12 AM
Hmm..I think u mean, you do *NOT* hear CUE prompts. The first thing you want to check is the RTP legs and if
xcoding is getting invoked. Following will help:
sh voip rtp connect
sh sccp connection
FYI, for ulaw<->alaw conversion you'd need universal xcoders:
http://www.cisco.com/en/US/docs/ios/12_4t/12_4t15/it_unitr.html
Another thing to note is for xcoding to be invoked, you need to hardcode codecs on both inbound and outbound
dialpeers rather than using a voice class-codec command.
Are u comfortable with capturing debugs and sharing your config in case we need to troubleshoot it further?
DK
jon.aril.antonsen wrote:
Hi Dilip.
I configured the transcode a bit earlier today, and now the call is forwarded to VM/AA. But the problem now is that I do hear the VM/AA prompt...just silence. With debug I can see that the call is active.
Jon
10-13-2010 08:18 AM
Hi.
I will look into this right away.
It will be no problem sharing debugs and configs. This is just in a lab enviroment...so no secrets here :-)
When you say both in an put dial peers I rekin you refer to the VM/AA dial-peers?
I will post the result shortly :-)
Jon.
10-13-2010 08:29 AM
Hi again.
This is what i got from the show commands. The commands issued while having active call to the AA PSTN number.
UC520#sh voip rtp conn
VoIP RTP active connections :
No. CallId dstCallId LocalRTP RmtRTP LocalIP RemoteIP
1 1337 1338 19512 22430 MY_OUTSIDE_IP SIP_GW_IP
2 1338 1337 16384 20844 10.1.10.2 10.1.10.1
3 1339 1340 19304 2000 10.1.10.2 10.1.1.1
4 1341 1340 17082 2000 10.1.10.2 10.1.1.1
Found 4 active RTP connections
UC520#sh sccp conn
sess_id conn_id stype mode codec sport rport ripaddr
7 7 xcode sendrecv g711u 17722 2000 10.1.1.1
7 8 xcode sendrecv g711a 17490 2000 10.1.1.1
Total number of active session(s) 1, and connection(s) 2
I'm also quite sure the codecs are configured correctly. But still just silence.
Jon.
10-13-2010 08:03 AM
Hi
As you need to get an incoming SIP call routed as a SIP call to the CUE, also check to see if you have allowed this
i.e
voice sevice voip
allow connections sip to sip
I would also recommend configuring the CUE dial-peer as a b2bua.
If you are switching on the sip-sip feature, please make sure you don't inadventantly make your router into an open SIP gateway.
Adam
10-13-2010 08:07 AM
Hi Adam.
Cheers for the input.
All the settings you mentioned are set, but no luck :-(
Jon
10-13-2010 08:39 AM
Yep, xcoder is getting invoked it seems but those IP addr.
don't ring a bell in the absence of config.
If u can, please go ahead and capture following debugs for
one call from SIP trunk/PSTN to CUE/AA:
deb ccsip mess
deb ccsip err
deb voip ccapi inout
Note: Please capture debugs in a buffer ; configure following
before enabling/capturing debugs:
conf t
service time deb date msec
service sequence
no logg con
logg mon warn
logg buffer 5000000 debug
no logging rate
Issue clear log just before making the test call and once done
issue term len 0 and capture sh log output in a text file.
Please include calling/called num, call flow and config (sh run)
Pl. capture sh voip rtp connect and sh sccp connect for the same
call as well.
DK
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide