[asterisk-users] rejected because extension not found

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Wed Jan 7 16:28:13 CST 2009


On Wednesday 07 January 2009 15:53:46 Jerry Geis wrote:
> I went from asterisk 1.4.22 (which was working) to SVN
> and I am getting the message rejected because extension not found...
>
> How can I modify the print statement in chan_sip.c line 18388 to include
> not
> just the extension but the context its trying to find my extension in???
>
>                                ast_log(LOG_NOTICE, "Call from '%s' to
> extension"
>                                         " '%s' rejected because
> extension not found.\n",
>                                         S_OR(p->username, p->peername),
> decoded_exten);

Try p->context.

-- 
Tilghman



More information about the asterisk-users mailing list