Cisco Unified Application Environment Mailing Lists                                                

Subscribing to the mailing-lists

To Subscribe one or more of our mailing-lists,
please use the mailing-list management page at this URL: http://developer.cisco.com/web/cuae/mailer.

  Web Archives

       To browse the mailing-list archives, select one of the categories below:

 

Cisco Unified Application Environment Developer Forums Cisco Unified Application Environment Developer Forums
Combination View Flat View Tree View
Threads [ Previous | Next ]
RE: Using CUAE to start multicast media reception on 79XX
toggle
I'm starting to investigate using CUAE to have a menu available on a phone that gives several choices of audio streams that are constantly being multicast on my network (news feeds, etc) but it doesn't look like CreateConnection is able to kick off the multicast reception.
 
Is there a method to do this that I'm missing or is there a better avenue/product to achieve this with?
 
Thanks,
 
Jim
Flag Flag
Hi Jim,
 
Looks like you want to make a menu driven application where upon selection of a particular menu option, a multicast will start. If this is so, then it can be done using CreateConnection.
 
In order to kick-off the reception of multicast on a device, you can use CreateExecute-SendExecute after the CreateConnection action.
 
Regards,
Rakesh.
Flag Flag
Hi,
 
I think link below will also help you-
http://developer.cisco.com/web/cuae/forums/-/message_boards/message/1278960
 
Regards,
Umesh
Flag Flag
Thanks for the replies- I've looked over the linked threads and associated branches from there, but I'm still not getting it.
 
This is my VERY first try at using CUAE so I'm sure I'm making all the rookie mistakes.
 
Here is what I have so far -
 
Metreos.Providers.Http.GotRequest (trigger): OnGotRequest - this is the HTTP bit that is suposed to kick the whole thing off, the menu does show up but after I select it, it just hangs at 'Requesting'
 
Under 'OnGotRequest' I have Start->Create Connection (with MediaTxIP and MediaTxPort defined with the multicast info)->CreateExecute (with URL1 set as RTPMRx:239.203.2.222:16384 )->EndScript
 
Is there more steps I need? Some of the link suggested I might need to start with an AnswerCall before CreateConnection.
 
Thanks in advance for any help.
 
Jim
Flag Flag
Hi,
 
I think missing part is SendExecute also after CreateExecute. Second thing, Are you sure your multicast IP and port is working? You can check your multicast IP and port by downloading multicast test samples from sites.
 
Regards,
Umesh
Flag Flag
I've added the SendExecute after the CreateExecute and even tried to manually force the IP of the phone- still no luck. I've confirmed that that audio is multicasting correctly on the address I expect it to be but it's still not doing anything.
 
I hate to ask, but can you look at this and see what I am doing wrong? I'm uploading the project here if you are able, I would really appreciate it.
 
Jim
Attachments: MakeCall.zip (41.5k)
Flag Flag
Sure, Jim. Will have a look and get back to you in a little bit.
 
Thanks,
Neha
Flag Flag
Hi Jim,
 
To test multicast make 2 samples(sender and receiver) on GotRequest trigger and access from browser -
1)Multicast sender steps are
      Start->CreateExecute->SendExecute->EndScript
     In CreateExecute - (URL1 - RTPMTx:239.0.0.202:22020)
     In SendExecute - give sender phone IP and other parameters
 
2) Multicast receiver
    Start->CreateExecute->SendExecute->EndScript
     In CreateExecute - (URL1 - RTPMRx:239.0.0.202:22020)
     In SendExecute - give receiver phone IP and other parameters
 
Regards,
Umesh
Flag Flag
I'm still unable to get the Multicast reception working- but it appears to be a problem with the phone now - see the log from the AppServer below.
 
I have the phone associated to a user, and am sending the correct user/pass.
 
2009:08:05::16:14:02(82): Error: script1-4 Phone declined SendExecute request.
HTTP request sent from Application Server: POST /CGI/Execute HTTP/1.1
Authorization: Basic Y2lzY286Y2lzY28=
Host: 146.41.69.128
User-Agent: Metreos-Samoa/1.0
Keep-Alive: 300
Connection: keep-alive
Content-Length: 30
Content-Type: application/x-www-form-urlencoded

XML=RTPMRx:239.203.2.222:22020


HTTP response from phone:
HTTP/1.1 400 Bad Request
Server: Metreos-Samoa/1.0
Expires: Thu, 26 Oct 1995 00:00:00 GMT
Server: Allegro-Software-RomPager/4.34
Content-Type: text/xml; charset="utf-8"
Date: Wed, 05 Aug 2009 21:13:59 GMT
Content-Length: 50
Cache-Control: no-cache

<CiscoIPPhoneError Number="1"></CiscoIPPhoneError>
Flag Flag
_______________________________________________
Cuae-developers mailing list
Cuae-developers@developer.cisco.com
Flag Flag
_______________________________________________
Cuae-developers mailing list
Cuae-developers@developer.cisco.com
Flag Flag
ok I got it working - in the Message part of the 'SendExecute' you can't just put the RTPMRx: - it requires a whole XML block like below:


<?xml version="1.0" encoding="utf-8"?><CiscoIPPhoneExecute>
<ExecuteItem Priority="0" URL="RTPMRx:239.203.2.222:22222" />
</CiscoIPPhoneExecute>

you also have to be using an even port of 20480 or higher, my original 16384 would compile, but the phone didn't like it.

So I finally got the phone to do something!
Flag Flag
Next problem:
 
If I go to 'Services' while the phone is On Hook and select my Multicast service it willplay through the speakerphone just fine, but if I pick up the handset (as most users will do) and goto Services->'Multicast Receive' it starts playing the Multicast stream OVER the dialtone, then after 15 seconds or so the phone goes fast busy.
 
How can I tell the phone essentially to 'Hang Up' or at least cancel the dialtone in progress before starting the multicast reception?
 
Thanks,
 
Jim
Flag Flag