Hello! Could somebody tell me how to use SHARED function? I want to get RTCP stats from SIP , but current channel is DAHDI. How can I get SIP channel?
Hi!> Could somebody tell me how to use SHARED function?http://www.voip-info.org/wiki/index.php?page=Asterisk+func+shared> I want to get RTCP stats from SIP, but current channel is DAHDI. > How can I get SIP channel?If you have one DADHI and one SIP channel bridged together, then only for the SIP channel you will be able to retrieve rtcp data. Depending on wether that SIP channel is the first (local) or the second (outbound or remote) call leg you will need to follow the approach described here: http://www.voip-info.org/wiki/index.php?page=Asterisk+rtcp Quote: "Use the M option of Dial() if you would like to get the codec (audionativeformat) of the remote call leg/channel and similar data. Those are not available anymore during the hangup phase (h extension), however you can store them directly in the CDR system, or use the SHARED function to export them to the local call leg/channel." Philipp
21.09.2010 18:57, Philipp von Klitzing ?????:> Hi! > > >> Could somebody tell me how to use SHARED function? >> > http://www.voip-info.org/wiki/index.php?page=Asterisk+func+shared > >There are no examples there :-(>> I want to get RTCP stats from SIP, but current channel is DAHDI. >> How can I get SIP channel? >> > If you have one DADHI and one SIP channel bridged together, then only for > the SIP channel you will be able to retrieve rtcp data. Depending on > wether that SIP channel is the first (local) or the second (outbound or > remote) call leg you will need to follow the approach described here: > > http://www.voip-info.org/wiki/index.php?page=Asterisk+rtcp > > Quote: > "Use the M option of Dial() if you would like to get the codec > (audionativeformat) of the remote call leg/channel and similar data. > Those are not available anymore during the hangup phase (h extension), > however you can store them directly in the CDR system, or use the SHARED > function to export them to the local call leg/channel." > >I see. I want to use SHARED function! Do you have example how to "to export them to the local call leg/channel "? Thank you!
Hi!> I see. I want to use SHARED function! > Do you have example how to > "to export them to the local call leg/channel "?Have you considered using Google (or your favourite search engine)? The search terms "asterisk function shared" will surely help you, and in fact point you to the very archive of this mailing list. Philipp
22.09.2010 14:50, Philipp von Klitzing ?????:> Hi! > > >> I see. I want to use SHARED function! >> Do you have example how to >> "to export them to the local call leg/channel "? >> > Have you considered using Google (or your favourite search engine)? >Shure, I searched and find nothing.> The search terms "C" will surely help you, and in > fact point you to the very archive of this mailing list. > >Could you, please, give me link ? :-)
> Could you, please, give me link ? :-)Google is not difficult to use... BTW http://www.voip-info.org/wiki/view/Asterisk+func+shared -- ----------------------------------------------------------------------- Andrea Cristofanini Chief Technical Officer ZeroZero39 srl Tel: +39 02 61294759 Viale Brianza, 20 Fax: +39 02 87365813 20092 Cinisello Balsamo (MI) Mob:+39 329 1871756 web: www.zerozero39.it PGP Key: http://www.zerozero39.it/cristofanini.asc
22.09.2010 15:12, Andrea Cristofanini ?????:>> Could you, please, give me link ? :-) >> > Google is not difficult to use... BTW > http://www.voip-info.org/wiki/view/Asterisk+func+shared > >There is no example here! I already wrote about this...