[Asterisk-Users] exten => *0. not possible

Patrick asterisk at puzzled.xs4all.nl
Mon May 22 07:16:09 MST 2006


Hi all,

It seems that using exten => _*0. is not possible in extensions.conf. I
changed disconnect => *0 in features.conf to something else. From what I
can tell with the little C knowledge I have is that it's caused by a
hardcoded *0 value chan_zap.c.

Line 5730 of chan_zap.c (svn rev 1077) shows:

} else if (!strcmp(exten, "*0")) {
	struct ast_channel *nbridge = 
		p->subs[SUB_THREEWAY].owner;
	struct zt_pvt *pbridge = NULL;

Can I just change that value to something else like *999999999 or even
totally remove the code so I can use exten => _*0. in my dialplan?

I'd also appreciate some guidance how to go about removing all the
hardcoded US service codes from chan_zap.c so those values become
available for dialplan sourcery.

Thanks and regards,
Patrick



More information about the asterisk-users mailing list