asterisksipml

asterisk Call ID in sipml5


How do I get asterisk call Id (uniqueid in cdr table) (for instance, 1487150355.465) in sipml5 client. As far as I looked, I see only https://www.doubango.org/sipml5/docgen/symbols/SIPml.Session.html#getId which has (afaic) no relation to asterisk id.

I know I can set additional headers in asterisk and set there call id, but it cannot be done for some organizational reasons. Thanks.


Solution

  • Asterisk unique channel id(not call id) assigned to channel. By default asterisk not send that via sip or other protocol.

    So no, you can't get it without do something on asterisk.