[cisco-voip] Problem with dial-peer voip and TCL script

Daniel dan.voip at danofive.id.au
Sun Mar 6 17:43:26 EST 2011


Hi Robert,

Do you need a transcoder? Looking at the output below it looks you do.

I would also change the config to this, if transcoding is required you
should hear silence as the prompt will play but as the prompt is g711 you
should hear nothing. Once you get it sorted and transcoding configured
remove the g729 preference.

*voice class codec 1*

* codec preference 1 g711alaw*

* codec preference 2 g711ulaw*

* codec preference 3 g729r8*

*
*

*Dial-peer voice 1 voip*

*voice-class codec 20*

*
*

cheers,

Dan



On Fri, Mar 4, 2011 at 11:05 PM, Robert Hass <robhass at gmail.com> wrote:

> Hi
> I have problem with dial-peer configuration where incoming calls (VoIP
> H.323 and POTS) to specified number should be redirected to TCL
> script.
>
> My configuration:
>
> voice service voip
>  allow-connections h323 to h323
>  fax protocol t38 ls-redundancy 2 hs-redundancy 2 fallback none
>  h323
>  sip
>  call service stop
> !
> application
>  service announcement flash:announcement.tcl
> !
> dial-peer voice 201 pots
>  service announcement
>  incoming called-number 911234491
>  direct-inward-dial
>  port 0/0/0:15
> !
> dial-peer voice 300 voip
>  service announcement
>  incoming called-number 497
>  dtmf-relay rtp-nte h245-signal h245-alphanumeric
>  codec g711ulaw
>  no vad
> !
>
> And announcement works when incoming call is done from PSTN via ISDN
> E1/PRI (Serial0/0/0:15 to number 9112434491) and not works when
> incoming call is going via VoIP (H.323 to number 497). I syslog got
> cause: DisconnectCause 1   , DisconnectText unassigned number (1)
>
> What is misconfigured inside 'dial-peer voice 300 voip'  ?
>
> Please help :)
>
> Robert
>
> PS. Below is log from ''show call history voice last 1"
>
> GENERIC:
> SetupTime=1966110610 ms
> Index=202
> PeerAddress=918674488
> PeerSubAddress=
> PeerId=0
> PeerIfIndex=0
> LogicalIfIndex=0
> DisconnectCause=1
> DisconnectText=unassigned number (1)
> ConnectTime=0 ms
> DisconnectTime=1966110630 ms
> CallDuration=00:00:00 sec
> CallOrigin=2
> ReleaseSource=7
> InternalErrorCode=1.1.128.11.5.0
> ChargedUnits=0
> InfoType=speech
> TransmitPackets=0
> TransmitBytes=0
> ReceivePackets=0
> ReceiveBytes=0
> VOIP:
> ConnectionId[0x58B066A5 0x459611E0 0x93FBAA4D 0x77C09A08]
> IncomingConnectionId[0x58B066A5 0x459611E0 0x93FBAA4D 0x77C09A08]
> CallID=202
> RemoteIPAddress=192.168.100.1
> RemoteUDPPort=0
> RemoteSignallingIPAddress=192.168.100.1
> RemoteSignallingPort=15266
> RemoteMediaIPAddress=0.0.0.0
> RemoteMediaPort=0
> SRTP = off
> TextRelay = off
> Fallback Icpif=0
> Fallback Loss=0
> Fallback Delay=0
> RoundTripDelay=0 ms
> SelectedQoS=best-effort
> tx_DtmfRelay=inband-voice
> FastConnect=FALSE
>
> AnnexE=FALSE
>
> Separate H245 Connection=FALSE
>
> H245 Tunneling=FALSE
>
> SessionProtocol=cisco
> ProtocolCallId=
> SessionTarget=
> OnTimeRvPlayout=0
> GapFillWithSilence=0 ms
> GapFillWithPrediction=0 ms
> GapFillWithInterpolation=0 ms
> GapFillWithRedundancy=0 ms
> HiWaterPlayoutDelay=0 ms
> LoWaterPlayoutDelay=0 ms
> PlayoutMode = undefined
> PlayoutInitialDelay=0 ms
> ReceiveDelay=0 ms
> LostPackets=0
> EarlyPackets=0
> LatePackets=0
> VAD = enabled
> CoderTypeRate=g729r8 pre-ietf
> CodecBytes=0
> cvVoIPCallHistoryIcpif=0
> MediaSetting=flow-around
> CallerName=RobertH
> CallerIDBlocked=False
> OriginalCallingNumber=918674488
> OriginalCallingOctet=0x80
> OriginalCalledNumber=497
> OriginalCalledOctet=0x80
> OriginalRedirectCalledNumber=
> OriginalRedirectCalledOctet=0xFF
> TranslatedCallingNumber=918674488
> TranslatedCallingOctet=0x80
> TranslatedCalledNumber=497
> TranslatedCalledOctet=0x80
> TranslatedRedirectCalledNumber=
> TranslatedRedirectCalledOctet=0xFF
> GwReceivedCalledNumber=497
> GwReceivedCalledOctet3=0x80
> GwReceivedCallingNumber=918674488
> GwReceivedCallingOctet3=0x80
> GwReceivedCallingOctet3a=0x0
> MediaInactiveDetected=no
> MediaInactiveTimestamp=
> MediaControlReceived=
> LongDurationCallDetected=no
> LongDurationCallTimerStamp=
> LongDurationCallDuration=
> Username=
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20110307/ed2bdb52/attachment.html>


More information about the cisco-voip mailing list