Voip dtmf
Hello,
I'm trying to understand how dtmf is different from analog world to the VOIP world. In the analog world from my understanding dtmf are tones frequency so when caller dials numbers then does numbers have different tones frequency and it send to the telephone company to decode those tone frequencies and know where to route that call to the other person receiving the call. In the VOIP world with call manager there is in band or out band dtmf. But how does the process work when phone A calls phone B how does it know where to route the call. Like does dtmf turn into packets to tell cucm where to route the call and the user hears tones when pressing the numbers just to simulate the dtfm in analog world. What about dtmf in band with rtp packets does dtfm go first in rtp to let call be routed to the other phone or those the voice gateway or cisco switch see rtp dtmf and route to the correct phone?
Thanks,
Horacio,
What you are describing is call setup or call signaling. In particular, you are asking about how the client (IP Phone) communicates its intended destination to the server (CUCM).
In a VoIP environment, the client sends the dialed digits to the server using IP packets. Each call signaling protocol has a method for communicating this information in what is called an application header. The information does not rely on DTMF tones. The client will simply identify the digit(s) dialed in the appropriate header.
There are two general ways that a client, such as an IP phone, can present the dialed digits. One way is called "en bloc" or "all together". What this means is that the phone will send a packet to the server and the call setup request will provide all digits as a single "string". An example is your mobile phone. You can dial all of the digits of your intended party and then click "send" or "call". When you do this, your phone is sending all of the dialed digits to your carrier. This is en bloc dialing.
In CUCM, phones use en bloc dialing in several scenarios. Including redial and dialing from the corporate directory (or missed calls, received calls, etc.).
The second way a client can communicate dialed digits is digit-by-digit. CUCM supports digit-by-digit dialing with Cisco IP Phones that support SCCP and SIP. All this means, is as you dial a digit on your phone, that phone is sending a packet to the CUCM that identifies you dialed that single digit. The CUCM digit analysis process is collecting those digits, one-by-one. As soon as it determines there is a unique match, it will route the call.
None of what I described above leverages DTMF. Meaning, there are no tones exchanged. There is no need. The client just says "this dude dialed a 5", or whatever you dialed.
Now, you mentioned voice gateways. Well, a voice gateway that communicates with the CUCM is leveraging an IP protocol. In today's networks the protocol is usually SIP, H.323, or MGCP. Of course, Cisco gateways can also use SCCP, which is proprietary to Cisco. Regardless of the protocol used, the voice gateway sends digits to the CUCM and receives digits from the CUCM in a manner that is similar to IP phone clients. Which is to say, that they stick the destination information in a header, stick that header in a packet, and send it to the appropriate peer. No DTMF.
Of course gateways, by there very nature, connect two disparate systems. Gateways relay call setup information from one entity to another. For instance, let's say you have a T1 PRI connected to a voice gateway. The gateway has an IP connection to CUCM and an ISDN connection to the carrier (or whatever is on the other end of the PRI). It just so happens that the ISDN protocol also exchanges call setup information in a manner similar to IP protocols. Which is to say that the digits dialed by the calling party are exchanged in protocol messages NOT DTMF tones.
Up to this point, I have only focused on call setup because that seemed to be the premise of your question. I am not suggesting that DTMF isn't used in VoIP. It is. DTMF is used by applications such as voicemail systems, call centers, and other IVR-based systems. For example, let's say you call a given number and you hear a greeting which prompts you to press 1 to connect to Horacio and press 2 to connect to bill. This is an IVR system and how that system does its job is by interpreting the key presses using DTMF recognition.
This gets back to another thread you posted concerning "in band" and "out of band" (OOB) DTMF. "In band" simply means that the DTMF tones are packetized and sent in the RTP stream. They are digital samples of the analog tone, literally. The other end is responsible for understanding how to deal with that. If you and I were on a phone call and I kept hitting the number 5, you would hear it and you'd probably get bent because your ear isn't equipped to understand the DTMF representation of the digit "5".
Out of band (OOB) means that the sender is relaying the digits dialed via the call signaling protocol. It is similar to the whole digit-by-digit thing I described earlier but it is presented in a different message. This message gets relayed through your network, and any intermediary devices, and lands on the receiver's end. As long as every device in the call flow is using the same method to do the OOB signaling, you are golden. This part of the conversation can get long. Longer than it already has. I recommend researching "DTMF Relay" to start getting a better understanding.
HTH
-Bill
(b) http://ucguerrilla.com
(t) @ucguerrilla
Please remember to rate helpful responses and identify helpful or correct answers.
Similar Messages
-
Supporting Multiple Registrars with CME
Hello,
I am attempting to utilize the "Multiple Registrars on SIP Trunks" IOS feature with my Call Manager Express.
http://www.cisco.com/en/US/docs/ios/voice/sip/configuration/guide/sip_cg-multi-registrars.html
I want to register to a BroadSoft via two different Edge Session Border Controllers.
I have configured the two registrars, but I have a problem when those registration methods go out. Since I am registering to a BroadSoft, I need the registering SIP URI to look like this:
REGISTER sip:test.domain:6034
From:[email protected]
This works fine when I use a single registration. But when I try to use multiple registrations I get:
REGISTER sip: 11.11.11.11:6034
From:[email protected]
Which the BroadSoft rejects because the SIP URI does not include “test.domain”
Has anyone else had any experience with multiple registrations with BroadSoft? Thanks in advance.
IOS 15.1(4)M4
sip-ua
no remote-party-id
retry invite 2
retry register 10
timers connect 100
registrar 1 ipv4:11.11.11.11:6034 expires 3600
registrar 2 ipv4:22.22.22.22:6035 expires 3600
sip-server dns:test.domain
voice service voip
dtmf-interworking rtp-nte
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
bind control source-interface Loopback2
bind media source-interface Loopback2
registrar server expires max 120 min 60
asserted-id pai
privacy pstn
localhost dns:ad.lab preferred
no update-callerid
midcall-signaling passthru
privacy-policy passthruHi Tod,
I think so, but I must say its very confusing for me.
You can check few threads regarding CUBE licensing..
https://supportforums.cisco.com/thread/2050989
https://supportforums.cisco.com/thread/2151012
https://supportforums.cisco.com/message/3076778#3076778
http://www.cisco.com/c/en/us/products/collateral/unified-communications/unified-border-element/product_data_sheet09186a00801da698.html
Thanks
Manish -
Connecting CME 4.0 to Voice Gateway
I have a 2600XM running CME 4.0 and a 1760 with 2 FX0 and 1 FXS card. Both routers are running IOS 10.4(9)T. I would like the 1760 to act as a gateway using H.323. Can anyone advise me on how to set this up?
on 2600
dial-peer voice 1 voip
dtmf-relay h245-alpha
codec g711ulaw
no vad
destination-pattern 9T
ip qos dscp cs3 signalling
On 1760
dial-peer voice 1 voip
dtmf-relay h245-alpha
codec g711ulaw
no vad
incoming-called-number 9T
ip qos dscp cs3 signalling
dial-peer voice 1 pots
port 1/0 ---- fxs port
destination-pattern 9T
HTH
Sankar
PS: please remember to rate posts! -
Voip stand-alone phone versus pbx
My Skype communication need is simple. I want to make calls using my Skype number such that that number appears on the call receiver's caller ID. I already receive Skype calls on my landline using Skype's call transfer utility. What's the least expensive way to achieve that goal? The appearance is this can be accomplished with a simple VOIP technology that connects a VOIP-specific landline phone to my internet router. Alternatively, there is a PBX technology that requires a SIP account. So here are my questions:
(1) Is my supposition correct that the NON-SIP VOIP phone that I discuss first above will satisfy my requirement?
(2) If I spring for the PBX technology -I'm assuming there is an extra cost for the SIP service- what capabilities will it bring my business beside simply making outgoing calls identified with my Skype number?
(3) If I use the simple VOIP phone alternative, what products are recommended? There's a bushel of them and I have no idea how to select between them.
Thanks ever so much for taking the time to read and maybe reply to this inquiry. Since this forum is so inscrutably designed, I'd appreciate a reply copied to email to [e-mail removed for privacy and security].You need to debug this on the gateway.
When the VXML command comes back to build the bridge transfer, something is going wrong. You don't need a param on the service to make this transfer.
debug ccapi inout should show something like this on the transfer:
000469: *Oct 13 11:36:16.685: //523/69DEFDDA805D/CCAPI/ccCallSetupRequest:
Destination=, Calling IE Present=TRUE, Mode=0,
Outgoing Dial-peer=333, Params=0x471566A8, Progress Indication=NULL(0)
000470: *Oct 13 11:36:16.685: //523/69DEFDDA805D/CCAPI/ccCheckClipClir:
In: Calling Number=4082521112(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
000471: *Oct 13 11:36:16.685: //523/69DEFDDA805D/CCAPI/ccCheckClipClir:
Out: Calling Number=4082521112(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
000472: *Oct 13 11:36:16.685: //523/69DEFDDA805D/CCAPI/ccCallSetupRequest:
Destination Pattern=408447T, Called Number=4084473001, Digit Strip=FALSE
000473: *Oct 13 11:36:16.685: //523/69DEFDDA805D/CCAPI/ccCallSetupRequest:
Calling Number=4082521112(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
Called Number=4084473001(TON=Subscriber, NPI=ISDN),
Redirect Number=408447, Display Info=
Account Number=, Final Destination Flag=TRUE,
Guid=69DEFDDA-D616-11DF-805D-00131AA41870, Outgoing Dial-peer=333
In my case, the outgoing dial peer 333 is
dial-peer voice 333 voip
description standalone - AA transfer (last 4)
destination-pattern 408447T
session target ipv4:16.91.120.135
dtmf-relay rtp-nte h245-signal h245-alphanumeric
codec g711ulaw
no vad
my application takes the last 4 digits entered (3001) and prepends 408447. you can see above "Called Number=4084473001"
Regards,
Geoff -
DTMF not recognized on connected call
I am not getting any DTMF accptance when I call into an IVR and asked to make a selection 1-9 ect...
ITSP ---->(SIP) CUBE --->(H323) CUCM
pbxguy_router#sho run
Building configuration...
Current configuration : 8466 bytes
! Last configuration change at 23:31:47 UTC Wed Dec 11 2013 by scott
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname pbxguy_router
boot-start-marker
boot system flash c3825-adventerprisek9-mz.151-4.M7.bin
boot-end-marker
no logging buffered
enable secret 5 $1$jLw/$mT4zlcPRsWnipVZ0aHnBA0
aaa new-model
aaa authentication login default local
aaa authentication login sslvpn local
aaa authorization exec default local
aaa session-id common
dot11 syslog
ip source-route
ip cef
ip domain name pbxguy.com
ip name-server 8.8.8.8
no ipv6 cef
multilink bundle-name authenticated
stcapp ccm-group 1
stcapp
voice-card 0
dspfarm
dsp services dspfarm
voice service voip
ip address trusted list
ipv4 0.0.0.0 0.0.0.0
no ip address trusted authenticate
media flow-around
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
sip
early-offer forced
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g729r8
codec preference 3 g729br8
voice translation-rule 1
rule 1 /4029881010/ /1010/
voice translation-rule 2
rule 2 /335201/ /1010/
voice translation-profile INCOMING
translate called 1
voice translation-profile TempIncoming
translate called 2
crypto pki token default removal timeout 0
crypto pki trustpoint TP-self-signed-1860214740
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1860214740
revocation-check none
rsakeypair TP-self-signed-1860214740
crypto pki certificate chain TP-self-signed-1860214740
certificate self-signed 01
3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 31383630 32313437 3430301E 170D3133 31303235 31353434
33375A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 38363032
31343734 3030819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
81009C49 FF6C8071 A0CF9255 70366C11 EDEDE473 013AC5E8 E26B8F1B 5B4FB0CE
B801F441 67439BC7 2A251DD5 708A7A35 128E2DFC 861D23F4 18A23EF0 6AC87CB3
C3F03C47 4285FC3E A043A66B 1232F885 3597F6D6 E98B5E3D 86902237 A3483ED5
17E5B804 A478EAB3 D00D3DEA 68D13EAE 6D9552F3 780E6CB8 B329EEDD 255A22E4
A7610203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
551D2304 18301680 140840B0 1EF7F1E2 1A8CA935 431D067E 57B6C46F 37301D06
03551D0E 04160414 0840B01E F7F1E21A 8CA93543 1D067E57 B6C46F37 300D0609
2A864886 F70D0101 05050003 8181005D 03A541D5 9B3C206E 8BC2E4A3 B00017FE
EC0A4806 5B5E2F3E 67CCDAC9 D11AD33D BD44989F 295E784D E4CF39AC 2E21A2B5
FFAC5171 1372DD0B 764DD3C0 E4088CB7 01D5D4E2 4CA0C955 25F4FF2E 75C3D740
399F67B5 9160F8F4 59206DDC 8392D4B7 47B8E683 220E06BD 2964EBA4 5B57BC98
D623EFC5 399AA46D 6E591D52 45233C
quit
license udi pid CISCO3825 sn FTX1239A28R
license accept end user agreement
archive
log config
hidekeys
username scott privilege 15 secret 5 $1$Y4nT$1neWA5OmFc/IAvSfA4dB11
redundancy
ip ssh version 2
interface GigabitEthernet0/0
ip address dhcp
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
media-type rj45
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
media-type rj45
interface GigabitEthernet0/1.40
encapsulation dot1Q 40
ip address 10.10.10.1 255.255.255.252
ip nat inside
ip virtual-reassembly in
h323-gateway voip interface
h323-gateway voip bind srcaddr 10.10.10.1
router eigrp 10
network 10.10.10.1 0.0.0.0
ip local pool webvpn-pool 10.20.30.10 10.20.30.15
ip forward-protocol nd
ip http server
ip http secure-server
ip nat inside source list 1 interface GigabitEthernet0/0 overload
ip nat inside source static udp 192.168.192.3 3074 interface GigabitEthernet0/0 3074
ip nat inside source static udp 192.168.192.3 88 interface GigabitEthernet0/0 88
ip nat inside source static tcp 192.168.192.3 53 interface GigabitEthernet0/0 53
ip nat inside source static udp 192.168.192.3 53 interface GigabitEthernet0/0 53
ip nat inside source static tcp 192.168.192.3 80 interface GigabitEthernet0/0 80
ip nat inside source static tcp 192.168.192.3 3074 interface GigabitEthernet0/0 3074
ip nat inside source static tcp 192.168.254.10 5060 interface GigabitEthernet0/0 5060
ip nat inside source static udp 192.168.254.10 5060 interface GigabitEthernet0/0 5060
ip access-list extended inbound
permit udp any any eq 3074
permit udp any eq 88 any
permit tcp any any eq 3074
permit tcp any any eq domain
permit udp any any eq domain
permit tcp any any eq www
permit tcp any any eq 5060
permit udp any any eq 5060
access-list 1 permit 208.110.65.18
access-list 1 permit 192.168.192.0 0.0.0.255
access-list 1 permit 192.168.128.0 0.0.0.31
access-list 1 permit 10.20.30.0 0.0.0.255
access-list 1 permit 192.168.254.0 0.0.0.255
control-plane
mgcp profile default
sccp local GigabitEthernet0/0
sccp ccm 192.168.254.10 identifier 1 version 7.0
sccp
sccp ccm group 1
associate ccm 1 priority 1
associate profile 1 register confLab
associate profile 2 register xcodeLab
associate profile 3 register mtpLab
dspfarm profile 2 transcode
codec g729r8
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
maximum sessions 9
associate application SCCP
dspfarm profile 1 conference
codec g711ulaw
codec g729ar8
codec g729abr8
codec g729r8
codec g729br8
maximum sessions 1
associate application SCCP
dspfarm profile 3 mtp
codec g711ulaw
maximum sessions hardware 12
maximum sessions software 200
associate application SCCP
dial-peer voice 1 voip
incoming called-number .
voice-class codec 1
dtmf-relay rtp-nte h245-signal h245-alphanumeric
no vad
dial-peer voice 2 voip
destination-pattern 4029881010
session target ipv4:192.168.254.10
voice-class codec 1
dtmf-relay h245-alphanumeric
no vad
dial-peer voice 4 voip
destination-pattern 1[2-9]..[2-9]......
session protocol sipv2
session target sip-server
session transport udp
no voice-class sip early-offer forced
dtmf-relay rtp-nte
no dtmf-interworking
codec g711ulaw
no vad
no supplementary-service sip refer
dial-peer voice 5 voip
destination-pattern [2-9]..[2-9]......
session protocol sipv2
session target sip-server
voice-class codec 1
dtmf-relay rtp-nte
no vad
sip-ua
credentials username 335201 password 7 03570B58505E771C165D40 realm sip-ua.com
authentication username 335201 password 7 075C711F18584F554F4652 realm sip-ua.com
registrar dns:proxy.sip-ua.com expires 60
sip-server dns:proxy.sip-ua.com
line con 0
line aux 0
line vty 0 4
exec-timeout 40 0
privilege level 15
password cisco
transport input ssh
scheduler allocate 20000 1000
webvpn gateway Cisco-WebVPN-Gateway
ip address 174.71.48.163 port 443
ssl encryption rc4-md5
ssl trustpoint TP-self-signed-1860214740
logging enable
inservice
webvpn gateway webvpn
ssl trustpoint TP-self-signed-1860214740
no inservice
webvpn install svc flash:/webvpn/anyconnect-win-3.0.11042-k9.pkg sequence 1
webvpn install svc flash:/webvpn/anyconnect-macosx-i386-3.1.04072-k9.pkg sequence 2
webvpn context Cisc0-WebVPN
ssl authenticate verify all
policy group webvpnpolicy
functions svc-enabled
no inservice
webvpn context Cisco-WebVPN
title "Scott Glenn Private Network, Authorized Users Only"
ssl authenticate verify all
url-list "rewrite"
acl "ssl-acl"
permit ip 10.20.30.0 255.255.255.0 192.168.192.0 255.255.255.0
permit ip 10.20.30.0 255.255.255.0 192.168.254.0 255.255.255.0
permit ip 10.20.30.0 255.255.255.0 10.10.10.0 255.255.255.0
login-message "Cisco Secure WebVPN"
policy group webvpnpolicy
functions svc-enabled
svc address-pool "webvpn-pool" netmask 255.255.255.0
svc rekey method new-tunnel
svc split include 10.20.30.0 255.255.255.0
svc split include 192.168.192.0 255.255.255.0
svc split include 192.168.254.0 255.255.255.0
svc split include 10.10.10.0 255.255.255.0
default-group-policy webvpnpolicy
aaa authentication list sslvpn
gateway Cisco-WebVPN-Gateway
max-users 2
inservice
endIt appears that I am getting back the following messge when I call into a TFN and try to press option "1":
*Dec 16 14:58:48.604: //20386/xxxxxxxxxxxx/CCAPI/ccCallModifyExtended:
Nominator=0x716C46E8, Params=0x716C46C0, Call Id=20386
*Dec 16 14:58:48.604: //20387/xxxxxxxxxxxx/CCAPI/ccCallModifyExtended:
Nominator=0x716C46E8, Params=0x716C46C0, Call Id=20387
*Dec 16 14:58:48.604: //20387/xxxxxxxxxxxx/CCAPI/ccCallModifyExtended:
Nominator=0x716C46E8, Params=0x716C46C0, Call Id=20387
*Dec 16 14:58:48.664: //20386/xxxxxxxxxxxx/CCAPI/ccCallModify:
Nominator=0x18E00, Params=0x716C4A50, Call Id=20386
*Dec 16 14:58:48.668: //20386/xxxxxxxxxxxx/CCAPI/cc_api_call_modify_done:
Result=0, Interface=0x6A030830, Call Id=20386
*Dec 16 14:58:48.668: //20386/xxxxxxxxxxxx/CCAPI/ccCallModifyExtended:
Nominator=0x716C46E8, Params=0x716C46C0, Call Id=20386
*Dec 16 14:59:01.148: //20384/8008FC7E1300/CCAPI/cc_api_call_digit_begin:
Consume mask is not set. Relaying Digit 1 to dstCallId 0x4FA1
*Dec 16 14:59:01.148: //20384/8008FC7E1300/CCAPI/cc_relay_digit_begin_for_3way_conference:
Check DTMF relay digit begin for 3way conf
*Dec 16 14:59:01.148: //20384/8008FC7E1300/CCAPI/cc_api_call_digit_end:
Consume mask is not set. Relaying Digit 1 to dstCallId 0x4FA1
*Dec 16 14:59:01.148: //20384/8008FC7E1300/CCAPI/cc_relay_digit_end_for_3way_conference:
Check DTMF relay digit end for 3way conf
*Dec 16 14:59:11.280: //20386/xxxxxxxxxxxx/CCAPI/ccCallModify:
Nominator=0x800, Params=0x716C4A98, Call Id=20386 -
Setting up a VoIP extension on a local network.
With the help of the experts on this board I have successfully set up a VoIP phone extension on our private network. The questions & answers can be viewed at. http://forums.linksys.com/linksys/board/message?board.id=VoIP_Adapters&thread.id=3197 . For the benefit of anyone attempting a similar project, here is the completed setup.
This installation is in a small motel in Te Anau, on New Zealand’s South island. The manager lives off site, and needs to be able to receive calls at night, and also transfer incoming calls to guest’s extensions through the hotels PBX. This necessitates a direct link to the PBX, rather than simply diverting the phone. One solution would have been to lease a circuit from the local Telco, but in NZ, this is very expensive, so another solution was sought. Fortunately there was an established wireless data link between the hotel and the managers residence, so VoIP seemed the obvious choice.
The equipment used is a Linksys SPA3102 connected to an extension on the PBX, and a Linksys PAP2 at the remote end. The setup would work equally well if connected to a phone line, rather than the PBX.
I’ll start the setup with the SPA3102.
Connect the POTS line to the LINE port, and your switch/router to the INTERNET port. In my setup the Ethernet port is not used. Plug a standard phone into the Phone port. This is useful for testing and setting up. It’s not needed afterwards, unless you want a local phone.
Open your web browser, and type the adaptor IP into the address bar. Go to Admin, and Advanced Settings.
ROUTER SETUP
WAN Setup Tab:
Connection type: Static IP.
Static IP Settings: The Network address on your local network (192.168.x.x)
Subnet mask 255.255.255.0
LAN Setup Tab:
LAN IP address: This is automatically selected to be on a different sub net from the WAN. Unless it conflicts with another address on your system you shouldn’t change it.
Enable DHCP: No
(Save these settings.)
VOICE SETUP
System Tab: No Changes
SIP Tab: No Changes
Provisioning Tab: No Changes
Regional Tab: Mostly this sets the dial tones etc to match your local service. Unless you need them to be the same this shouldn’t need any changes
The Hook Flash Timer Min & Max: should be set to the local values. The Defaults (.1 and .9) are OK for North America. Australia and New Zealand use .07 & .13. If you have trouble sending a hook flash, check these values against the local settings.
DTMF playback level should be greater than zero. (I used 3)
(Save these settings)
Line 1 Tab:
I don’t use Line 1 except for testing. During setup the line should be enabled. After the system is running OK, it can be disabled
Line enabled yes
SIP port 5060
Proxies are not used in this setup.
Register: No
Make call without reg: yes
Answer call without reg: yes
User ID: 10? (you can use any number)
Line 1 Tabupplementary services.
Change Call waiting, 3 way Conf, and 3 way call, to no. (These interfere with sending a hook flash)
Hook Flash Tx method: AVT
(save these settings)
PSTN Line Tab
Line enable: yes
SIP Port 5061 (default)
Proxy: proxies are not used.
Register: no
Make call w/o reg yes
Answer call w/o reg yes
Display name: anything you like (VoIP gateway?)
User ID: leave blank
User password: leave blank
Use auth ID: no
Dial Plan 1: (<:*>S0). Switches to the outside line when * received.
Dial Plan 2: (<:[email protected]:5060>S0). 11 is the user ID on the PAP2
VoIP to PSTN enable: yes
VoIP caller default DP: 1
One stage Dialing: no
VoIP users & Passwords.
User 1 ID: 11. User1 DP: 1
User 2 ID: 21 User 2 DP: 1
User 3 ID 22 User 3 DP: 1
(These are the line numbers of additional PAP2’s on our system)
PSTN to VOIP Gateway enable: yes
PSTN Caller ID none
PSTN Caller Default DP: 2
Detect PSTN long silence yes
Detect VoIP long silence yes
Detect Disconnect tone yes
VoIP answer delay 0
PSTN Answer delay 0
PSTN to VoIP gain (Set these to adjust
VoIP to PSTN gain the speech volume)
Line in Use voltage: This should be set midway between the On Hook and Off Hook voltages, which you get from the Info screen. Most public phones are 47v on hook, and 7v off hook, so the setting should be 27v. My PBX is 27v on hook, and 7v off hook, so my setting is 17v. To read this, go to the Info screen and check the Line Voltage, then go Off hook (make a call), click the reload button on your browser, and check the line voltage again.
(save these settings)
This completes the setting up of the SPA3102.
Now for the setup of the PAP2.
Open your web browser, and type the PAP2 IP into the address bar. Go to Admin, and Advanced Settings.
System tab:
DHCP no
Static IP 192.168.x.x (same sub-net as your network. Different adaptor number)
Net Mask 255.255.255.0
(save these settings)
SIP Tab: no changes.
Provisioning Tab: no Changes
Regional Tab.
Hook Flash Min & Max: change to your local settings if required.
(save these settings)
Line 1 & Line 2 Tabs.
Whether you use Line 2 depends on whether you want to have 2 phones on the PAP2. All calls from the PSTN line of the SPA3102 will go to Line 1 of the PAP2 as per Dial Plan 2 on the SPA
Line enable yes
SIP port 5060 (line 1) & 5061 (line 2)
Proxy Proxies are not used.
Register no
Make call w/o reg yes
Answer call w/o reg yes
Display name: anything you like
User ID 11 (line 1) & 12 (line 2)
(These are used to identify each line on the system)
Call waiting: no
3 way conf: no
3 way call: no
DTMF Tx method: AVT
Dial Plan: This is the dial plan I use on line 1.
(<:192.168.4.10:5061>S3|21S0<:@192.168.4.9:5060>|22S0<:@192.168.4.9:5061>)
You will have to modify it for use on other lines, or other adaptors, and the IP addresses must match your system IP addresses. Here is an explanation.
192.168.4.10:50613 All my adaptors are on subnet 4. 10 is the number of the SPA3102, and 5061 is the SIP port mapped to the PSTN line. If the handset is lifted, and no numbers are dialed the call will be transferred to the PSTN line after 3 seconds, and you will hear the outside dial tone. If within 3 seconds you dial either 21, or 22, the phone on either line 1, SIP port 5060, or Line 2, SIP port 5061, on adaptor 9 will ring. (If you only have one PAP2 then you will only need the first section of this dial plan.)
Enable IP Dialing: yes
(save these settings).
User 1 and User 2 tabs: no changes
That just about does it. All incoming calls from outside are received by the PBX, and after hours are sent to the extension connected to the SPA3102, which rings the phone on the remote PAP2 in the manager’s house. If the call is for a guest we can press the recall button (hook flash), dial the guest’s extension number, and transfer the call when they answer. As an added bonus we have a second PAP2 elsewhere on the network, and we can call between the 3 adaptors. All 3 adaptors have access to an outside line, though the PBX. I’m fairly sure it would also work through a VPN, which would mean we could take a VoIP phone anywhere in the world, and still be virtually ‘On site". I don’t know if that is a good thing or not.Hi HW,
The PBX is a Panasonic TA308. There is no special interface to the PBX, the line port on the SPA3102 is simply plugged into an extension, like another phone. Anyone calling that extension will have the call routed through the SPA & PAP2 to the remote phone.
The whole setup is totally seamless, & transparent to the user. As we are on a local network there is virtually no latency. There is a slight tendancy to echo, but the echo suppression mostly takes care of that.
THis has been a good exercise, and once I got my head around what I was trying to do, with your help, it was pretty easy. I think the hook flash timing would be the thing which gives most users a problem, as it seems to vary widely around the world. I was surprised at the difference between the US and NZ (.1 & .9 to .07 & .13). There didn't seem to be any other critical differences.
Now I am the local expert on VoIP "In the Kingdom of the blind, the one-eyed man is King." -
We are experiencing a problem with DTMF tones on external attendants. We have a CCM 4.2 cluster connected to a CUCM 8.6.1 via a QSIG ICT.
CCM 4.2 <--> ICT <--> CUCM 8.6 <--> CUBE <--> SIP
DTMF works OK from phones in the CUCM 8.6 cluster. All inbound DTMF works all the way through to the CCM 4.2 cluster. However, DTMF from phones in the CCM 4.2 cluster does not work. It was working OK last week when some changes (adding CUC integration) were made. I have tried reversing most of the changes, but cant get it working again.
Any ideas or TS steps recommended? Thanks!Two things to add on this thread:
The statement "these are outbound calls - so they don't hit a VoIP peer." is not true. There is always an inbound and outbound dial-peer matched on IOS. If you do not have an inbound dial-peer to match, IOS will use dial-peer 0 which is almost always a bad thing. Make sure you have a VoIP dial-peer that will match for inbound calls from UCM to the router.
CCX does not support in-band DMTF such as RFC2833 with SIP. If you do not have OOB DTMF such as KPML (RFC4730) or H.245 alphanumeric, then you need to invoke an MTP for conversion. -
DTMF Isn't Working When a Call is Placed Outbound from UCCX
I have a script that places an outbound call and when the caller answers the call, I do a get digit string to capture caller input and the DTMF isn't working. The caller is hearing "Are you there?".
Here is the call flow:
Http Trigger into a script
Script places an outbound call using the Place Call command
The call gets answered.
Using the Get Digit String command, the caller hears the prompt that is played with get digit string.
The caller presses keys, but no keys are accepted.
Caller hears "Are you still there" and timesout.
I believe this was working at one time, but the script wasn't used and now we are revisiting this script.
I am using a H.323 gateway. IP phones using the same gateway to reach the PSTN do not have problems with DTMF. Inbound calls to the UCCX script are working when calling into a script with a Menu step.
Your help is appreciated.
Thanks.You are exactly right. I was hitting DP 0 since during the cut I adding a ^ in front of my voip dial-peer pointing to the CUCM cluster. Once I waited to the call volume went down, after 9pm, I was able to do a debug voip dialpeer and I was able to see that the inbound dial-peer was matching.
Thanks for your reply. -
CISCO VOIP GW AS5400 Questions
Dear all,
I have some questions with Cisco VoIP GW AS 5400:
1) Our customer request that “MUST NOT put any silence suppression attributes in the SIP offer( specifically Invite ),
since A fmtp SDP attribute for silence suppression should be defined if silence suppression is on."
Can CISCO GW guarantee that not put any silence suppression attributes in the SIP offer and how to fulfill this?
2) Our customer request that “ptimes MUST NOT be a odd numbered one”
Can CISCO GW guarantee it ?
3) Support Rport extension RFC3581
Check it and find seems not on GW compliance RFC list, please confirm
4) Support NATed SIP and RTP Traffic?
5) For DTMF-relay, can Only found the "SIP-notify" item , is GW support DTMF-relay by SIP Info/ Subscribe?
Is there anyone who can help me about these questions?
Thank you very very much!
JenniferHi
It is a switch port on the phone as you can read in the following link:
http://www.cisco.com/en/US/products/hw/phones/ps379/products_data_sheet09186a008008884a.html
But it for sure has limitations and is not comparable to normal switch.
So you can for sure discover your PC behind the ip phone via SNMP. All you need to make SNMP Queries is an IP connection which is given.
As i posted bevor i don't think you can query the phone via SNMP because
i do not know about options to configure SNMP on the phone. I also used a mib browser to query an ip phone...but as expected the phone did not answer.
Hope that helps
Roger -
SIP phone DTMF issue registered on a CUCME H323 gateway
I have a CUCME 10 gateway that is registered on a callmanager as H.323 gateway.
On this a Cisco 8831 SIP conference bridge that is not generating DTMF. No sound heard in the other end when pressing digits, its just muting the sound. Anyone got a tip?
Callflow is 8831->CME->CM->PSTN
voice register pool 1
busy-trigger-per-button 1
id mac xxx.xxxx.xxxx
type 8831
number 1 dn 1
dtmf-relay sip-kpml
dial-peer voice 1201 voip
destination-pattern ...T
progress_ind setup enable 3
delay transport-address
session target ipv4: callmanager ip address
incoming called-number .
voice-class codec 100
dtmf-relay rtp-nte <- Also tried dtmf-relay h245-alphanumericCan you try this..
On your voice register pool configure
dtmf-relay rtp-nte digit drop
And on your dial peer 1201
Dtmf-relay h245-alpha -
Sip trunk between CUCM7.0 and third party VOIP provider
Hi all,
I'm looking for a solution/howto configuration for setting up a SIP trunk between CUCM7.0 and a SIP-VoIP provider.
Got SIP username, password and SIP-proxy IP from the provider.
I've done such a setup on CUCME a couple of times, but never on the CUCM.
Who can put me on right way?
Can it be done on the CUCM, or must an IOS-Device be used (got a PSTN-GW connected through H323 with CUCM)?
THanks for the hint,
Greets NorbertHere we go.....
CONFIG (Version=7.1)
=====================
Version 7.1
Cisco Unified Communications Manager Express
! Calling nr. incoming
voice translation-rule 40
rule 1 /\(.*\)/ /0\1/
! Discard prefix (calling nr.)
voice translation-rule 190
rule 1 /^0\(.*\)/ /\1/
rule 2 /^9\(.*\)/ /\1/
! Mapping, internat to external nr.
voice translation-rule 191
rule 10 /^[1-9].*/ /xxxxEXTERNALxxxx/
! for call-forwarding
rule 15 /^0\(.*\)/ /\1/
! Mapping external to internal nr.
voice translation-rule 192
rule 2 /^xxxxxEXTERNALxxxx/ /4xx/
voice translation-profile TP_IN_SIP
translate calling 40
translate called 192
voice translation-profile TP_OUT_SIP
translate calling 191
translate called 190
dial-peer voice 2001 voip
corlist outgoing dialCORnoFax
description *** SIP-TRUNK (OUT) ***
translation-profile incoming TP_IN_SIP
translation-profile outgoing TP_OUT_SIP
max-conn 2
destination-pattern 9.T
session protocol sipv2
session target ipv4:2xx.xxx.xxx.xxx
session transport udp
! customer external nr. range (one dot at the and -> 0-9)
incoming called-number xxxxxxxx.
dtmf-relay rtp-nte
codec g711alaw
no vad
gateway
timer receive-rtp 1200
sip-ua
keepalive target ipv4:2xx.xxx.xxx.xxx
authentication username xxEXTERNAL NR.xxxxx password 7 111111111111111111111
calling-info pstn-to-sip from number set xxEXTERNAL NR.xxxxx
retry invite 2
retry response 2
retry bye 2
retry register 2
retry options 1
registrar ipv4:2xx.xxx.xxx.xxx expires 60
host-registrar
Greets,
Norbert
Hope this help......Please rate if helpful -
DTMF doesn't work for outbound call
We currently using UC520 and having strange problem. When we call through SIP for outbound call DTMF tone is not transmitting. and if I press multiple numbers with longer duration, It makes continuous tone on the other hand.
My current dialpeer uses DTMF relay RTP- NTE. I will attach sh run and debug ccsip message file. please help me this is being quite critical.Seems like your SIP Trunk Service provider is not getting the RFC2833 packets or not interpreting them correctly.
I see on the log that you pressed 1, 2 & 3 and the UC520 sends all these digits out (each digit will have 7 packets - this post explains how to read this debug - https://www.myciscocommunity.com/message/14045#14045). So I know its not the UC520 - below is a snip for digit 1
Sep 10 16:26:26.114: s=DSP d=VoIP payload 0x65 ssrc 0x15FE9166 sequence 0x4B86 timestamp 0xBCB7190A
Sep 10 16:26:26.114: Pt:101 Evt:1 Pkt:04 00 00 >>
Sep 10 16:26:26.114: s=DSP d=VoIP payload 0x65 ssrc 0x15FE9166 sequence 0x4B87 timestamp 0xBCB7190A
Sep 10 16:26:26.114: Pt:101 Evt:1 Pkt:04 00 00 >>
Sep 10 16:26:26.114: s=DSP d=VoIP payload 0x65 ssrc 0x15FE9166 sequence 0x4B88 timestamp 0xBCB7190A
Sep 10 16:26:26.114: Pt:101 Evt:1 Pkt:04 00 00 >>
Sep 10 16:26:26.114: s=DSP d=VoIP payload 0x65 ssrc 0x15FE9166 sequence 0x4B89 timestamp 0xBCB7190A
Sep 10 16:26:26.114: Pt:101 Evt:1 Pkt:04 01 90 >>
Sep 10 16:26:26.114: s=DSP d=VoIP payload 0x65 ssrc 0x15FE9166 sequence 0x4B8A timestamp 0xBCB7190A
Sep 10 16:26:26.114: Pt:101 Evt:1 Pkt:84 03 20 >>
Sep 10 16:26:26.114: s=DSP d=VoIP payload 0x65 ssrc 0x15FE9166 sequence 0x4B8B timestamp 0xBCB7190A
Sep 10 16:26:26.114: Pt:101 Evt:1 Pkt:84 03 20 >>
Sep 10 16:26:26.114: s=DSP d=VoIP payload 0x65 ssrc 0x15FE9166 sequence 0x4B8C timestamp 0xBCB7190A
Sep 10 16:26:26.114: Pt:101 Evt:1 Pkt:84 03 20 >>
In terms of next steps:
- Is there any router or NAT or firewall device between the UC520 WAN interface and the SIP Trunk service provider? If so maybe good to check if you can bypass this device or if this device blocks RFC2833 packets
- Ask the SIP Trunk SP what they see on their end for the RFC2833 packets - you can send them a wireshark capture off the UC500 WAN port if that is more convincing than a debug log. Who is the SP by the way? -
RTP payload(RFC 2833) DTMF handler in JMF
hi all,
anybody tell how I receive RTP payload format vai JMF .I am able to receive DTMF through SIP INFO.
[email protected]Hi Teodor.
Thanks for your answer.
This is my dial-peer 4000:
dial-peer voice 4000 voip
service session
destination-pattern [2-9]T
rtp payload-type nte 98
voice-class codec 55
session protocol sipv2
session target ipv4:65.xxx.xxx.35
dtmf-relay rtp-nte
The voice class codec 55 puts the g729a as the preferred one.
Your answer gave me the idea where to look and found that the calls that doesn't match the dial peer 4000 and go by the default (PeerID= 0) are shown at the show call history voice command as using tx_DtmfRelay=rtp-nte
while the calls that do match the dp 4000 for an unknown reason are shown as using tx_DtmfRelay=inband-voice.
I am looking for a reason but I think it is with the supplier of the DIDs as another supplier using the same dp4000 and also G729a codec looks like using rtp-nte.
If you have any further idea please let me know.
Regards -
DTMF data comparision in workflow.xml
How can I authenticate/ campare enetered DTMF digits in workflow. Any idea to add if else condition in args property?
Example :
User entered 12 digits meeting ID and i want to compare it from database/flat file or hard coded value for authentication of meeting ID.
See below my dial plan:
<Condition variable="destNum" value="^16465031196$">
<AppNode sequence="1" app="playfile" args="welcome.wav"/>
<AppNode sequence="2" app="getDTMF" args="1|12|3|10|meeting.raw|valid-meetingid.raw"/>
<AppNode sequence="3" app="statusCheck" args="4|8"/>
<AppNode sequence="4" app="getDTMF" args="1|4|3|10|pincode.raw|valid-pincode.raw"/>
<AppNode sequence="5" app="statusCheck" args="6|9"/>
<AppNode sequence="6" app="bridge" args="rtmp|${dtmfDigits}@profile_default"/>
<AppNode sequence="7" app="hangup" args="null"/>
<AppNode sequence="8" app="playfile" args="valid-meetingid.raw"/>
<AppNode sequence="9" app="playfile" args="valid-pincode.raw"/>
<AppNode sequence="10" app="Goto" args="1"/>
</Condition>
Quick response will be highly appriciated.
Thanks,
AnjumAlthough your question has been posted a year ago, I hope I can help even your readers. This project published at Codeproject can be a possible solution for your problem: How to create an IVR-based telephone client gate system in C#/XML/HTTP/PHP by using DTMF authentication - CodeProject It's based on this VoIP SIP SDK.
-
Dear All,
We have the call center with following components
IPCC 7.0 Hosted Edition
CVP 3.1
AS535XML (Ingress/VXML)
Suddently our call center having some issue with caller enter digit
if customer enter 44884000 its come to my ICM/CVP self-service as 44888400 or sometimes 44488400 or sometimes correctly.
We have restarted the Voicegateway also but no luck. We have restarted CVP Call server, CVP vxml server still we have issues with DTMF inputs, it is affecting our call center self-service very badly.
Could any one come across this issue or any advise please help us.
with Regards,
ManivannanHi,
the issue is now closed as this was an issue from the Telco. We had taken a Wireshark trace from the VXML communications and isolated the issue to the gateways as the CVP logs also showed an Extra DTMF for the first two digits being entered. Further we took the logs of the gateway for the following debug:
debug voip rtp session
debug ccsip message
debug voip ccapi inout
debug isdn q931
Here are the details:
a) Good Call
The Calling number is 44251103, and the called number is 114, that is translated to 8897. The digits Entered are
2,1,1,1,5,5,5,7,7,6,3,0,#,2,8,1,3,5,6,0,0,1,8,2,# and ended the call
Conclusion:
We are able to identify all these digit input in this logs. This call is made from the Landline PSTN here and we are not facing on any calls made using the landline.
b) Bad Call:
The calling numbers is 55577630 (3G mobile Number) and the called number is 114, translated to 8897. The digits entered are
2,1,1,1,5,5,5,7,7,6,3,0,# and ended the call
Conclusion:
We are seeing the digits entered as 2,1,1,1,5,5,5,5,5,7,7,6,3,0,# (Extra 5,5) from the logs and the IVR says that the Entered Digits are wrong.
We are seeing this issue with mostly calls that are coming using the Mobile Phones and isolate the Issue with the Telco.
Furthermore we found this issue with the 3G Mobile Phone Handsets and no issues were recorded for the 2g Handsets. The Telco Exchange (huawei) later checked the issue and did some changes on their side and have resolved the issue.
This case is now closed as everything is back to normal , appreciate the trobleshooting tips..
Maybe you are looking for
-
I am unable to open my updates after they download.
I've downloaded 3.6 but it will not open or update Firefox on my Desktop. Other downloads will not open either.
-
I need to download photoshop elements 6.0 to my new laptop, however, I cannot find it on the adobe website in order to download. The serial number is on adobe website from where it was registered but not the program.
-
Project management suite using Flex 4
I would like to make a new Project management suite using Flex 4, could you advise me on the best component to base a Gannt chart on? Advanced Data Grid?
-
I have used Version 4 and 5 and unfortunately neither supports Java functions that I require. I like the look and feel of 3.6.23 but there seems to be a script error on startup of Mozilla. When I double click the Icon to open the program I get "'''Ex
-
System restarts during installation of Mac OS 10.3
To start off, this is my system: 1.33 GHz PowerBook G4 2GB RAM 80GB HD About six months ago my PowerBook began freezing when I would have it running solely on battery power. It would give me the "You must restart your system" message. At first I thou