search for: ast_device_st

Displaying 5 results from an estimated 5 matches for "ast_device_st".

Did you mean: ast_device_
2003 Oct 16
0
Use of the "hint" modifiers - examples, anyone?
...t_extension_state(struct ast_channel *c, char *context, char = *exten) returns=20 -1 =3D error or no hint(device hint) for extension 0 =3D extension is free or unknown 1 =3D one device in extension is busy (have a call) 2 =3D all devices in extension unavailable(unregistered) ** You can give ast_device_state a Dialstring like SIP/mark or IAX/mark = ** int ast_device_state(char *device) returns -1 =3D error 0 =3D device is free or unknown 1 =3D device is busy (have a call) 2 =3D device is valid but unregistered So SIP can support SUBSCRIBE requests, and for Snom200 SUBSCIBE Dialogs = (Map a K...
2003 Nov 25
1
SIMPLE support in Asterisk?
Hi Is there any work being done on implementing IM/SIMPLE support for SIP on Asterisk? Like a presence server? rdgs, /Staffan Kerker
2007 May 09
1
Replaces header
...moved from the call path but no call back happens and the PSTN telephone just gets disconnected. The console log showing the invite from our SER proxy is listed below. Does anyone have any thoughts on what might be happening? Thanks,Steve ---- [May 9 08:42:42] DEBUG[18512]: devicestate.c:161 ast_device_state: No provider found, checking channel drivers for SIP - 128.91.56.38 [May 9 08:42:42] DEBUG[18512]: chan_sip.c:15336 sip_devicestate: Checking device state for peer 128.91.56.38 [May 9 08:42:42] DEBUG[18512]: channel.c:1026 channel_find_locked: Avoiding initial deadlock for channel '0xa2...
2006 Jun 09
0
Duplicate asterisk processes
..._191 () from /lib/tls/libpthread.so.0 #3 0x40224600 in _IO_wide_data_2 () from /lib/tls/libc.so.6 #4 0x4112d1a0 in ?? () #5 0x4112d1a0 in ?? () #6 0x4112d258 in ?? () #7 0x4112d234 in ?? () #8 0x08061555 in ast_get_channel_tech (name=0x4112d1a0 "SIP") at lock.h:601 #9 0x080c9013 in ast_device_state (device=0x7a37 <Address 0x7a37 out of bounds>) at devicestate.c:118 Previous frame inner to this frame (corrupt stack?) #0 0xffffe410 in __kernel_vsyscall () Regards Lee ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Excha...
2007 Mar 03
0
creating new asterisk application
Hi, I'm writing asterisk application in C language. I need to know what is state of my asterisk user, so I have found command: ast_device_state(data); . So if my IP phone is reachable I get status 1 (AST_DEVICE_NOT_INUSE<http://www.asteriskpbx.com/doxygen/1.2/devicestate_8h.html#42ea804da1426b4117686332400b27c2>). But when I have unplugged my phone's cable , and sip show peer command shows status UNREACHABLE , but my applicati...