[asterisk-users] func SHARED, how to use?
Dmitry Melekhov
dm at belkam.com
Mon Sep 27 00:26:19 CDT 2010
23.09.2010 17:27, Philipp von Klitzing пишет:
> Hi!
>
>
>> There are 2 things I can't understand
>> - 1. how can I know channel name?
>>
> ${CHANNEL}
>
>
Thank you!
Really, I get SIP channel name in macro (I thought I'll still have DAHDI
there...)
>> 2. where should I call this SHARED function? before Dial, after Dial?
>>
> Either In the macro that you specify using the M option of Dial() or in
> the h extension. You will, however, have trouble treating the 2nd call
> leg with the h extension, and the M option only "fires" at the beginning
> of the call/bridge.
>
>
Well, only problem I see, is to how pass channel name from macro to h
extension...
>Are you on Asterisk 1.4 or 1.6 or on 1.8? The above will not work
> with 1.4.
>
>
I run 1.6.2.
> Since I have not done this with 1.6 or 1.8: See if you can get the RTCP
> data without using CHANNEL(), and instead use the individual "xxxBRDIGED"
> RTCP channel variables as illustrated on the Wiki. Your SIP channel is
> the 2nd channel (= the bridged one).
>
>
You are right- BRIDGED variables contains all I want.
Looks like my peer doesn't support RTCP at all, this is what I wanted to
do something else...
Thank you!
>
>
More information about the asterisk-users
mailing list