You can capture the sipcallid from the manager output. The cool part is that the sipcallid is the same on both sides of a call. So, AsteriskA--->SIP (sipcallid)----> AsteriskB SIP (Same sipcallid as AsteriskA for that call.
It is really easy to capture it from the manager. Thanks, Steve Ray Chen wrote: > Hi Philipp, > > Thank you for your response to my question. I am working on a > project which uses Asterisk as the voice engine. I need to > get the ingress and egress sip call id for a call to write call CDR. > (Asterisk CDR does not meet our customer requirments). If there is > no any easy way to get it I might need to create a seperate > process/thread to query manager interface as you mentioned. Thanks you, > > Ray > > Ray Chen wrote: > > > Hi, Does anybody know how to get the SIP call ID of a "Dial" > command? > > There's no easy way to do it. What's your > intention? There are several events on the > manager interface. > > Regards, > Philipp Kempgen > -- > > T _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users