Re: [asterisk-users] Error compiling Dahdi: invalid use of undefined type struct module

2011-01-30 Thread David Cunningham
Shaun,

CONFIG_MODULES wasn't enabled - thanks for the advice!


On Mon, Jan 31, 2011 at 4:02 PM, Shaun Ruffell  wrote:

> On 1/30/11 8:45 PM, David Cunningham wrote:
>
>>
>> I'm installing Asterisk with Dahdi on a server with a custom kernel
>> compile. I've got the kernel source in
>> /lib/modules/2.6.34.6--grs-ipv6-64/build which points to
>> /usr/src/linux-headers-2.6.34.6 and I think that's fine, but am getting
>> all these "struct module" errors.
>>
>> Can anyone advise? Thanks!
>>
>>
>> # make
>> make -C drivers/dahdi/firmware firmware-loaders
>> make[1]: entrant dans le répertoire «
>> /usr/src/dahdi-linux-2.4.0/drivers/dahdi/firmware »
>> make[1]: quittant le répertoire «
>> /usr/src/dahdi-linux-2.4.0/drivers/dahdi/firmware »
>> make -C /lib/modules/2.6.34.6--grs-ipv6-64/build
>> SUBDIRS=/usr/src/dahdi-linux-2.4.0/drivers/dahdi
>> DAHDI_INCLUDE=/usr/src/dahdi-linux-2.4.0/include DAHDI_MODULES_EXTRA=" "
>> HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
>> make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.34.6 »
>>   CC [M]  /usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.o
>> /usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function
>> ‘dahdi_register_tone_zone’:
>> /usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:1440: error:
>> invalid use of undefined type ‘struct module’
>>
>
> Normally this is the result of not having CONFIG_MODULES set in your kernel
> config.  This is set when you check "Enable loadable module support" on the
> top level menu in menuconfig.
>
> Cheers,
> Shaun
>
> --
> Shaun Ruffell
> Digium, Inc. | Linux Kernel Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> Check us out at: www.digium.com & www.asterisk.org
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>  http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>  http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
David Cunningham, Voisonics
http://voisonics.com/
US toll-free: +1 888 842 2720
UK: +44 (0) 20 3298 1642
Australia: +61 (0) 2 8063 9019
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Error compiling Dahdi: invalid use of undefined type struct module

2011-01-30 Thread Shaun Ruffell

On 1/30/11 8:45 PM, David Cunningham wrote:


I'm installing Asterisk with Dahdi on a server with a custom kernel
compile. I've got the kernel source in
/lib/modules/2.6.34.6--grs-ipv6-64/build which points to
/usr/src/linux-headers-2.6.34.6 and I think that's fine, but am getting
all these "struct module" errors.

Can anyone advise? Thanks!


# make
make -C drivers/dahdi/firmware firmware-loaders
make[1]: entrant dans le répertoire «
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/firmware »
make[1]: quittant le répertoire «
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/firmware »
make -C /lib/modules/2.6.34.6--grs-ipv6-64/build
SUBDIRS=/usr/src/dahdi-linux-2.4.0/drivers/dahdi
DAHDI_INCLUDE=/usr/src/dahdi-linux-2.4.0/include DAHDI_MODULES_EXTRA=" "
HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.34.6 »
   CC [M]  /usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.o
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function
‘dahdi_register_tone_zone’:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:1440: error:
invalid use of undefined type ‘struct module’


Normally this is the result of not having CONFIG_MODULES set in your 
kernel config.  This is set when you check "Enable loadable module 
support" on the top level menu in menuconfig.


Cheers,
Shaun

--
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Regarding error in asterisk or SIPp

2011-01-30 Thread viswavardhanreddy karna
Hi every one,
 I am using client as sipp and server as asterisk i
want to register an sipp client with asterisk. I have configured
sip.conf and extensions.conf when i start asterisk and run sipp
register client.xml file i am getting result as

register--10
40110
register---10
200OK-10 as unexpected
message

when i traced in wireshark and take a look at sipp -trace_err file i had
same error like : Aborting call on unexpected message while receiving 200 Ok
received 401 unauthorized..

actually i have given .csv file also.. i need help regarding
this i dont know exactly what is happening there?




Anybody help me plzz.



Best regards
viswavardhan
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] faxter

2011-01-30 Thread Tom Rymes
On Jan 30, 2011, at 4:21 AM, Pezhman Lali wrote:

> Dear,
>  Faxter is an opensource email to fax gateway, 
> please check it, let me know if any bug.
> 
> best

I'll get right on that.

Tom

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Error compiling Dahdi: invalid use of undefined type struct module

2011-01-30 Thread David Cunningham
All,

I'm installing Asterisk with Dahdi on a server with a custom kernel compile.
I've got the kernel source in /lib/modules/2.6.34.6--grs-ipv6-64/build
which points to /usr/src/linux-headers-2.6.34.6 and I think that's fine, but
am getting all these "struct module" errors.

Can anyone advise? Thanks!


# make
make -C drivers/dahdi/firmware firmware-loaders
make[1]: entrant dans le répertoire «
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/firmware »
make[1]: quittant le répertoire «
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/firmware »
make -C /lib/modules/2.6.34.6--grs-ipv6-64/build
SUBDIRS=/usr/src/dahdi-linux-2.4.0/drivers/dahdi
DAHDI_INCLUDE=/usr/src/dahdi-linux-2.4.0/include DAHDI_MODULES_EXTRA=" "
HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.34.6 »
  CC [M]  /usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.o
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function
‘dahdi_register_tone_zone’:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:1440: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function
‘start_tone’:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:1514: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function
‘dahdi_chan_reg’:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:1638: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function
‘dahdi_ppp_xmit’:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:1910: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:1913: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function
‘dahdi_chan_unreg’:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:2013: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function
‘dahdi_rbs_sethook’:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:2425: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:2429: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:2433: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:2477: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function
‘dahdi_cas_setbits’:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:2489: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function
‘dahdi_timer_release’:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:2732: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function
‘dahdi_read’:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:2943: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function
‘dahdi_write’:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:2974: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function
‘ioctl_load_zone’:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3041: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3081: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3109: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3137: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function
‘dahdi_mf_tone’:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3237: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function
‘dahdi_release’:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3460: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function
‘dahdi_alarm_notify’:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3532: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3544: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3549: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3554: error: invalid
use of undefined type ‘struct module’
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function
‘dahdi_common_ioctl’:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:4055: error: invalid
use of undefined ty

Re: [asterisk-users] Lots of warnings: SUBSCRIBE failure: no Accept header: pvt

2011-01-30 Thread Doug

At 09:47 1/30/2011, Kevin P. Fleming wrote:
>On 01/28/2011 10:50 PM, Doug wrote:
>> At 08:11 1/26/2011, Paul Belanger wrote:
>>  >On 11-01-24 07:28 PM, Doug wrote:
>>  >> Does anyone know how to get rid of these warnings?
>>  >>
>>  >Disable NOTICE within logger.conf?
>>
>> They are WARNINGs so disabling notices wouldn't help.
>>
>>
>>  >They are just information about the
>>  >status of SIP Subscriptions. Post an example log of showing the
>>  >frequency, it maybe possible to change them to DEBUG if they are too
>> noisy.
>>
>> [Jan 28 21:34:20] WARNING[2638]: chan_sip.c:15898
>> handle_request_subscribe: SUBSCRIBE failure: no Accept header: pvt:
>> stateid: -1, laststate: 0, dialogver: 0, subscribecont:
>> 'local-extensions-XXX', subscribeuri: ''
>>
>> Getting them about every 10 seconds. It makes a mess of
>> the console.
>
>Then get your SIP endpoint to send a properly formatted SUBSCRIBE
>request. A SUBSCRIBE request that doesn't indicate what message body
>format the subscriber is willing to accept is essentially pointless.


How would I do this?

I did a:

  sip set debug ip XXX.XXX.XXX.XXX

and found the offending Polycom phone.  This
phone was working OK on the previous Asterisk
v1.2 system.

What should I do to get this phone to behave?




>
>--
>Kevin P. Fleming
>Digium, Inc. | Director of Software Technologies
>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
>skype: kpfleming | jabber: kflem...@digium.com
>Check us out at www.digium.com & www.asterisk.org
>
>--
>_
>-- Bandwidth and Colocation Provided by http://www.api-digital.com --
>New to Asterisk? Join us for a live introductory webinar every Thurs:
>   http://www.asterisk.org/hello
>
>asterisk-users mailing list
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Losing registration - ast 1.4.39 and innomedia 6328-2Re

2011-01-30 Thread Brian C. Huffman

All,

I'm having a problem with an Innomedia 6328-2Re (old Sunrocket Gizmo).  
It keeps losing registration after a period of time ranging from a few 
minutes to a few hours.  It seems that right before it loses 
registration, it fails to send a second register (after the 401 
unauthorized).  Here's a transcript from wireshark (at the end).  The 
last message is all that's received and asterisk now shows "UNKNOWN" ast 
the status:


1067617:13:05.255123innomediaasteriskSIPRequest: 
REGISTER sip:asterisk
1067717:13:05.255336asteriskinnomediaSIPStatus: 100 
Trying(0 bindings)
1067817:13:05.255388asteriskinnomediaSIPStatus: 401 
Unauthorized(0 bindings)
1067917:13:17.263367asteriskinnomediaSIPRequest: 
OPTIONS sip:1015@innomedia

1068017:13:17.410876innomediaasteriskSIPStatus: 200 OK

The innomedia is behind a Netgear WGR614v7 router with Comcast as the 
ISP.  But I've already put the innomedia into the DMZ of the router and 
it doesn't appear that it's a NAT issue b/c I can actually telnet into 
the innomedia through the router (DMZ) even after it's lost registration.


It *looks* like the problem is the innomedia since it didn't send 
another register.  But I figured I'd ask to see if anyone here knew what 
the problem could be.  Otherwise my next step is to buy a linksys PAP2T.


Thanks,
Brian

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Reducing number of Asterisk processes?

2011-01-30 Thread Gilles
On Sun, 30 Jan 2011 12:11:30 -0600, Tilghman Lesher
 wrote:
>By the way, you are likely to have trouble running Asterisk on uClinux,
>anyway.  There are a lot of assumptions in the code related to fork(2)
>creating a separate address space.  As this is not true with vfork(2),
>there are parts of Asterisk that will mysteriously fail.  Unless you are
>comfortable delving into the C code and working on these issues, uClinux
>will probably never be an appropriate system for you with which to run
>Asterisk.

Apparently, that version of Asterisk originally comes from the OpenWrt
world, and includes a bunch of patches applied to the Asterisk source
code before compiling it into a package.
Since it's part of the official firmware provided by the manufacturer,
I guess it's been reworked to run OK in that restricted environment.

I do, intend, though, to find some kind of watchdog to monitor
processes and memory, and restart them if necessary.

Thanks for pointing this out.


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Reducing number of Asterisk processes?

2011-01-30 Thread Gilles
On Sun, 30 Jan 2011 02:28:29 -0600, Tilghman Lesher
 wrote:
>1.  uClinux has no fork(2) call, only a vfork(2) call.  Therefore, these
>amount to multiple processes sharing the same address space.  In fact,
>it's very likely that these are multiple threads, not processes at all.
>2.  The unit is in kilobytes.  These "processes" take up 12 MB, not 12KB.

Thanks for the info. The appliance only has 64MB, and with all those
threads running along with OpenVPN, SSHd, and DHCPd, there are still
about 30MB free, so I guess those items in "ps" aren't really using
that much memory:

root:/etc/asterisk> ps aux
  PID  UidVSZ Stat Command
...
  527 root  12022 S   asterisk -f
  528 root  12022 S   asterisk -f
  530 root  12022 S   asterisk -f
  531 root  12022 S   asterisk -f
  532 root  12022 S   asterisk -f
  533 root  12022 S   asterisk -f
  534 root  12022 S   asterisk -f
  535 root  12022 S   asterisk -f
  536 root  12022 S   asterisk -f
  537 root  12022 S   asterisk -f
  538 root  12022 S   asterisk -f
  539 root  12022 S   asterisk -f
  540 root  12022 S   asterisk -f
  541 root  12022 S   asterisk -f
  542 root  12022 S   asterisk -f
  543 root  12022 S   asterisk -f
  544 root  12022 S   asterisk -f
  545 root  12022 S   asterisk -f
  546 root  12022 S   asterisk -f
  547 root  12022 S   asterisk -f
  548 root  12022 S   asterisk -f


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Reducing number of Asterisk processes?

2011-01-30 Thread Gordon Henderson

On Sun, 30 Jan 2011, Tilghman Lesher wrote:


By the way, you are likely to have trouble running Asterisk on uClinux,
anyway.  There are a lot of assumptions in the code related to fork(2)
creating a separate address space.  As this is not true with vfork(2),
there are parts of Asterisk that will mysteriously fail.  Unless you are
comfortable delving into the C code and working on these issues, uClinux
will probably never be an appropriate system for you with which to run
Asterisk.


I understand the Atcom range of commercial Asterisk products all run under 
uClinux... E.G.


  http://www.atcom.cn/IP01.html

and the others in their range.

I was assuming this was that the OP had and what he was refering to...

Gordon

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Reducing number of Asterisk processes?

2011-01-30 Thread Tilghman Lesher
On Sunday 30 January 2011 02:28:29 Tilghman Lesher wrote:
> On Saturday 29 January 2011 04:52:02 Gilles wrote:
> > 2. Provided each process is indeed using 11.990 bytes, is it possible
> > to reduce the number of concurrent processes, considering the fact
> > that this appliance will not handle more than a couple of concurrent
> > calls?
> 
> 1.  uClinux has no fork(2) call, only a vfork(2) call.  Therefore, these
> amount to multiple processes sharing the same address space.  In fact,
> it's very likely that these are multiple threads, not processes at all.
> 2.  The unit is in kilobytes.  These "processes" take up 12 MB, not
> 12KB. 3.  Your questions are probably more appropriate to the uClinux
> mailing lists.  They should, at the very least, be able to more
> completely answer your queries about the behavior of non-Asterisk
> system utilities.

By the way, you are likely to have trouble running Asterisk on uClinux,
anyway.  There are a lot of assumptions in the code related to fork(2)
creating a separate address space.  As this is not true with vfork(2),
there are parts of Asterisk that will mysteriously fail.  Unless you are
comfortable delving into the C code and working on these issues, uClinux
will probably never be an appropriate system for you with which to run
Asterisk.

-- 
Tilghman

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Lots of warnings: SUBSCRIBE failure: no Accept header: pvt

2011-01-30 Thread Kevin P. Fleming

On 01/28/2011 10:50 PM, Doug wrote:

At 08:11 1/26/2011, Paul Belanger wrote:
 >On 11-01-24 07:28 PM, Doug wrote:
 >> Does anyone know how to get rid of these warnings?
 >>
 >Disable NOTICE within logger.conf?

They are WARNINGs so disabling notices wouldn't help.


 >They are just information about the
 >status of SIP Subscriptions. Post an example log of showing the
 >frequency, it maybe possible to change them to DEBUG if they are too
noisy.

[Jan 28 21:34:20] WARNING[2638]: chan_sip.c:15898
handle_request_subscribe: SUBSCRIBE failure: no Accept header: pvt:
stateid: -1, laststate: 0, dialogver: 0, subscribecont:
'local-extensions-XXX', subscribeuri: ''

Getting them about every 10 seconds. It makes a mess of
the console.


Then get your SIP endpoint to send a properly formatted SUBSCRIBE 
request. A SUBSCRIBE request that doesn't indicate what message body 
format the subscriber is willing to accept is essentially pointless.


--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kflem...@digium.com
Check us out at www.digium.com & www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Can a duration limit be specified in spool call file?

2011-01-30 Thread Sherwood McGowan
On 1/30/2011 2:00 AM, Tilghman Lesher wrote:
> On Saturday 29 January 2011 05:07:49 DHAVAL INDRODIYA wrote:
>> On Sat, Jan 29, 2011 at 6:19 AM, Tilghman Lesher 
> wrote:
>>> On Friday 28 January 2011 18:27:15 Bruce B wrote:
 Hi Everyone,

 I don't see any parameter for limiting duration of a call in the
 .call file for Asterisk spool outgoing directory.

 I'd rather not use a MeetMe to drop the call in a conference room
 and to then limit the call duration as that complicates things
 unnecessarily.

 I am wondering if there is anything else I can do or if the
 "Channel" parameter take call duration like the "DIAL" parameter?
>>>
>>> No, but you can specify a Local channel as the channel in the call
>>> file and then set a TIMEOUT(absolute) for the call, before you Dial()
>>> the actual channel you want to use.  Keep in mind that the actual
>>> channel could be specified by a Set variable in the callfile.
>>
>> what about this
>>
>> *WaitTime: * Seconds to wait for an answer. Default is 45
>> http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out
> 
> That only limits the amount of time the callfile allows for the channel to
> be answered, not the duration of the overall call.
> 

A way to be able to specify a limit on the call itself would be to make
a callfile that "calls" a Local channel, which then performs the Dial
with the L option

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] faxter

2011-01-30 Thread Pezhman Lali
sorry for no url

https://code.google.com/p/faxter/
best

On Sun, Jan 30, 2011 at 12:51 PM, Pezhman Lali  wrote:

> Dear,
>  Faxter is an opensource email to fax gateway,
> please check it, let me know if any bug.
>
> best
>
>
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] faxter

2011-01-30 Thread Pezhman Lali
Dear,
 Faxter is an opensource email to fax gateway,
please check it, let me know if any bug.

best
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Reducing number of Asterisk processes?

2011-01-30 Thread Tilghman Lesher
On Saturday 29 January 2011 04:52:02 Gilles wrote:
> Hello
> 
> On a uClinux-based appliance, "ps aux" shows multiple Asterisk
> processes:
> 
>   380 root  11990 S   asterisk -f
>   381 root  11990 S   asterisk -f
>   383 root  11990 S   asterisk -f
>   384 root  11990 S   asterisk -f
>   385 root  11990 S   asterisk -f
>   386 root  11990 S   asterisk -f
>   387 root  11990 S   asterisk -f
>   388 root  11990 S   asterisk -f
>   389 root  11990 S   asterisk -f
>   390 root  11990 S   asterisk -f
>   391 root  11990 S   asterisk -f
>   392 root  11990 S   asterisk -f
>   393 root  11990 S   asterisk -f
>   394 root  11990 S   asterisk -f
>   395 root  11990 S   asterisk -f
>   396 root  11990 S   asterisk -f
>   397 root  11990 S   asterisk -f
>   398 root  11990 S   asterisk -f
>   399 root  11990 S   asterisk -f
>   400 root  11990 S   asterisk -f
>   401 root  11990 S   asterisk -f
> 
> I was wondering...
> 1. Why have more than one?
> 2. Provided each process is indeed using 11.990 bytes, is it possible
> to reduce the number of concurrent processes, considering the fact
> that this appliance will not handle more than a couple of concurrent
> calls?

1.  uClinux has no fork(2) call, only a vfork(2) call.  Therefore, these
amount to multiple processes sharing the same address space.  In fact,
it's very likely that these are multiple threads, not processes at all.
2.  The unit is in kilobytes.  These "processes" take up 12 MB, not 12KB.
3.  Your questions are probably more appropriate to the uClinux mailing
lists.  They should, at the very least, be able to more completely answer
your queries about the behavior of non-Asterisk system utilities.

-- 
Tilghman

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Can a duration limit be specified in spool call file?

2011-01-30 Thread Tilghman Lesher
On Saturday 29 January 2011 05:07:49 DHAVAL INDRODIYA wrote:
> On Sat, Jan 29, 2011 at 6:19 AM, Tilghman Lesher 
wrote:
> > On Friday 28 January 2011 18:27:15 Bruce B wrote:
> > > Hi Everyone,
> > > 
> > > I don't see any parameter for limiting duration of a call in the
> > > .call file for Asterisk spool outgoing directory.
> > > 
> > > I'd rather not use a MeetMe to drop the call in a conference room
> > > and to then limit the call duration as that complicates things
> > > unnecessarily.
> > > 
> > > I am wondering if there is anything else I can do or if the
> > > "Channel" parameter take call duration like the "DIAL" parameter?
> > 
> > No, but you can specify a Local channel as the channel in the call
> > file and then set a TIMEOUT(absolute) for the call, before you Dial()
> > the actual channel you want to use.  Keep in mind that the actual
> > channel could be specified by a Set variable in the callfile.
> 
> what about this
> 
> *WaitTime: * Seconds to wait for an answer. Default is 45
> http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out

That only limits the amount of time the callfile allows for the channel to
be answered, not the duration of the overall call.

-- 
Tilghman

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users