[Asterisk-java-users] OriginateResponse.getAttributes()
Brought to you by:
srt
From: Forte, G. \(GFORTE\) <gf...@ar...> - 2006-01-11 21:01:01
|
Hello, =20 I am using the OriginateResponse.getAttributes() method and was = wondering if I should be getting more than the following: =20 [code] Map or =3D originateResponse.getAttributes(); =20 Iterator it =3D or.entrySet().iterator(); while(it.hasNext()) { Map.Entry pairs =3D (Map.Entry)it.next(); = System.out.println("key=3D"+pairs.getKey()+"///"+pairs.getValue()); } =20 [/code] =20 My results are: =20 key=3Dactionid///12893404_3# key=3Dmessage///Originate successfully queued key=3Dresponse///Success =20 =20 I was wondering if there was a way to return the channel and the data = values from the following OriginateAction actions or even the callerid: =20 originateAction.setChannel(CHANNEL); originateAction.setApplication("dial"); originateAction.setData(DATA); =20 Also, I have downloaded the asterisk-java-0.2 jar and the = asterisk-java-0.2-src and cannot find the API docs for asterisk-java. Am I blind or are they not part of the download? Thanks In Advance! |