[EMAIL PROTECTED] wrote (in asterisk-cvs):
> Update of /usr/cvsroot/asterisk/channels
> In directory mongoose.digium.com:/tmp/cvs-serv22203/channels
> 
> Modified Files:
>       chan_zap.c 
> Log Message:
> Allocate pseudo channel if it's not explicitly listed
> 
> 
> Index: chan_zap.c
> ===================================================================
> RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
> retrieving revision 1.240
> retrieving revision 1.241
> diff -u -d -r1.240 -r1.241
> --- chan_zap.c        2 Jun 2004 16:13:25 -0000       1.240
> +++ chan_zap.c        2 Jun 2004 16:35:06 -0000       1.241
> @@ -8034,6 +8041,16 @@
>                       ast_log(LOG_WARNING, "Ignoring %s\n", v->name);
>               v = v->next;
>       }
> +     if (!found_pseudo) {
> +             tmp = mkintf(CHAN_PSEUDO, cur_signalling, cur_radio);
> +
> +             if (tmp) {
> +                     if (option_verbose > 2)
> +                             ast_verbose(VERBOSE_PREFIX_3 "Automatically generated 
> pseudo channel\n");
> +             } else {
> +                     ast_log(LOG_WARNING, "Unable to register pseudo channel!\n");
> +             }
> +     }
>       ast_mutex_unlock(&iflock);
>       ast_destroy(cfg);
>  #ifdef ZAPATA_PRI
>
I've had to comment out the "if (!found_pseudo)" block as it prevents
me from being able to make outgoing calls on my single X101P system.

I haven't seen any side effects to the removal of that block of code.
I haven't seen any "my outbound calls fail" articles either, so perhaps
there's something else wrong with my setup.  If so then I can't think
what it might be.

Anyway, this is just FYI.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    [EMAIL PROTECTED]
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/

_______________________________________________
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to