[asterisk-users] get egress SIP call Id

Steve Totaro stotaro at totarotechnologies.com
Tue Oct 9 10:36:49 CDT 2007


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



More information about the asterisk-users mailing list