[asterisk-dev] peer chan info

Bhrugu Mehta bhrugumehta at gmail.com
Tue Mar 2 07:31:13 CST 2010


hi,
i want to transfer call to other extension when peer chan gets ringing.
that's i want to find.
ast_extension_state_add() how to use this fn.

thnks,

On Sat, Feb 27, 2010 at 5:07 PM, Ceschia, Marcello
<marcello.ceschia at gmx.net> wrote:
> you can use
> ast_extension_state_add
> see: http://www.asterisk.org/doxygen/asterisk1.4/pbx_8h.html#a3a30d0a841ee2bc0d87af763a99629f
>
> Am 27. Februar 2010 11:46:16 schrieb Bhrugu Mehta:
>> thx for reply,
>>
>> Actually i am using asterisk 1.4.21 version ,
>> AST_EVENT_DEVICE_STATE_CHANGE this not avail in this verison.
>>
>> any other suggetions?
>>
>> On Sat, Feb 27, 2010 at 4:02 PM, Ceschia, Marcello
>> <marcello.ceschia at gmx.net> wrote:
>> > hi,
>> >
>> > use the asterisk event system to subscribe AST_EVENT_DEVICE_STATE_CHANGE event
>> >
>> > Regards
>> >  Marcello
>> >
>> > Am 27. Februar 2010 10:27:45 schrieb Bhrugu Mehta:
>> >> hi,
>> >> how to get peer chan info  in app.
>> >> actually i want to get peer chan ringing event in my app.
>> >> what function i have to use??
>> >>
>> >> Regards,
>> >>
>> >
>> >
>> > --
>> > _____________________________________________________________________
>> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> >
>> > asterisk-dev mailing list
>> > To UNSUBSCRIBE or update options visit:
>> >   http://lists.digium.com/mailman/listinfo/asterisk-dev
>> >
>>
>>
>>
>>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>



-- 
Bhrugu Mehta
Sr. S/W Engineer (D&D)
VOIP,Telephony Team (Asterisk,zaptel etc.)
India



More information about the asterisk-dev mailing list