Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

TCL script and early open voice channel (before connect)

I need to play media before connect. I use SIP for incoming call - media must play to incoming sip call.

But when I use such script construction - no any rtp information in 183 progress message, but rtp is playng.

So if no any information in 183 - calling parity didn't hear anything and only silence

    leg setupack leg_incoming

    leg proceeding leg_incoming

    leg progress leg_incoming

    if {[infotag get cfg_avpair_exists PlayMedia]} {    

                                                                       set PlayMedia [infotag get cfg_avpair PlayMedia] 

                                                                       puts "\n == PlayMedia found! $PlayMedia =="                                                                                         } else {                                                         set PlayMedia "flash:/Prompts/greeting_rec.au"

                                                                       puts "\n == No PlayMedia found! Try to use default! $PlayMedia =="        }                                                media play leg_incoming $PlayMedia                                               

dial-peer voice 1103 voip

translation-profile incoming call_in

incoming called-number 495xxxxxxx$

voice-class sip rel1xx supported "100rel"

voice-class sip early-offer forced

voice-class sip send 180 sdp

dtmf-relay rtp-nte h245-alphanumeric

codec g711ulaw

fax protocol pass-through g711ulaw

ip qos dscp cs5 media

no vad

Nov  3 15:45:41.809: //59465/D42C3EE59EAE/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 183 Session Progress

Via: SIP/2.0/UDP 10.10.10.2:5060;branch=z9hG4bKa7bb28b5bb7a65ad42f4bbb6d

From: <sip:10.10.10.2;user=phone>;tag=fdef7176

To: <sip:495xxxxxxx@10.220.17.12;user=phone>;tag=2B3149F8-1ACE

Date: Sun, 03 Nov 2013 15:45:41 GMT

Call-ID: SBCcb069742cdd861e51fdc44384cccf0af@10.10.01.5

CSeq: 1 INVITE

Require: 100rel

RSeq: 2821

Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER

Allow-Events: telephone-event

Contact: <sip:495xxxxxxx@10.10.10.5:5060>

Server: Cisco-SIPGateway/IOS-15.2.4.M5

Content-Length: 0

1 REPLY
Hall of Fame Super Gold

TCL script and early open voice channel (before connect)

Wrong forum, try developer.cisco.com, GWAPI forum.

185
Views
0
Helpful
1
Replies
CreatePlease to create content