I am using Asterisk Java to make calls to various numbers via SIP channels
originateAction.setChannel(“SIP/10.0.66.118/0900044314”);
But when it comes to event the Channel changes to SIP/10.0.66.118-0000003f
Please suggest how to link the event with the Originate action as in DAHDI it shows channel with called number.
Manager Event is-->org.asteriskjava.manager.event.NewChannelEvent[dateReceived=Tue Jul 21 18:45:14 IST 2015,privilege='call,all',timestamp='null',calleridname='null',uniqueid='1437484937.66',callerid='null',state='null',calleridnum='null',channel='SIP/10.0.66.118-0000003f',systemHashcode=90910501]
Manager Event is-->org.asteriskjava.manager.event.NewCallerIdEvent[dateReceived=Tue Jul 21 18:45:14 IST 2015,privilege='call,all',timestamp='null',calleridname='null',uniqueid='1437484937.66',callerid='6131000',cidcallingpres='0',cidcallingprestxt='Presentation Allowed, Not Screened',calleridnum='6131000',channel='SIP/10.0.66.118-0000003f',systemHashcode=473578347]
Manager Event is-->org.asteriskjava.manager.event.NewChannelEvent[dateReceived=Tue Jul 21 18:45:15 IST 2015,privilege='call,all',timestamp='null',calleridname='null',uniqueid='1437484938.67',callerid='null',state='null',calleridnum='null',channel='SIP/10.0.66.118-00000040',systemHashcode=856882247]
Manager Event is-->org.asteriskjava.manager.event.NewCallerIdEvent[dateReceived=Tue Jul 21 18:45:15 IST 2015,privilege='call,all',timestamp='null',calleridname='null',uniqueid='1437484938.67',callerid='6131000',cidcallingpres='0',cidcallingprestxt='Presentation Allowed, Not Screened',calleridnum='6131000',channel='SIP/10.0.66.118-00000040',systemHashcode=594588547]
Manager Event is-->org.asteriskjava.manager.event.NewStateEvent[dateReceived=Tue Jul 21 18:45:18 IST 2015,privilege='call,all',timestamp='null',calleridname='null',uniqueid='1437484937.66',callerid='6131000',state='null',calleridnum='6131000',channel='SIP/10.0.66.118-0000003f',systemHashcode=703599489]
Manager Event is-->org.asteriskjava.manager.event.HangupEvent[dateReceived=Tue Jul 21 18:45:44 IST 2015,privilege='call,all',timestamp='null',calleridname='<unknown>',uniqueid='1437484937.66',callerid='6131000',causetxt='User alerting, no answer',cause='19',state='null',calleridnum='6131000',channel='SIP/10.0.66.118-0000003f',systemHashcode=1275756078]
Manager Event is-->org.asteriskjava.manager.event.OriginateResponseEvent[dateReceived=Tue Jul 21 18:45:44 IST 2015,privilege='call,all',reason='3',response='Failure',calleridname='<unknown>',timestamp='null',uniqueid='<null>',actionid='null',internalactionid='498357308_6',context='from-pstn',exten='84',calleridnum='6131000',channel='SIP/10.0.66.118/08755862255',systemHashcode=771938640]
Manager Event is-->org.asteriskjava.manager.event.HangupEvent[dateReceived=Tue Jul 21 18:45:45 IST 2015,privilege='call,all',timestamp='null',calleridname='<unknown>',uniqueid='1437484938.67',callerid='6131000',causetxt='User alerting, no answer',cause='19',state='null',calleridnum='6131000',channel='SIP/10.0.66.118-00000040',systemHashcode=1024010953]
Manager Event is-->org.asteriskjava.manager.event.OriginateResponseEvent[dateReceived=Tue Jul 21 18:45:45 IST 2015,privilege='call,all',reason='3',response='Failure',calleridname='<unknown>',timestamp='null',uniqueid='<null>',actionid='null',internalactionid='1655137665_6',context='from-pstn',exten='5',calleridnum='6131000',channel='SIP/10.0.66.118/09910044314',systemHashcode=618140013]
Manager Event is-->org.asteriskjava.manager.event.RegistryEvent[dateReceived=Tue Jul 21 18:47:34 IST 2015,privilege='system,all',timestamp='null',username='6131000',cause='null',channeldriver='null',status='Registered',domain='10.0.66.118',channel='null',systemHashcode=156354047]