I've never used Asterisk MGCP, and I've only used MGCP gateway on Cisco IOS when controlled from Cisco CallManager (with PRI D-channels backhauled to CallManager).
In terms of making an invalid number dialed via Asterisk to Cisco... behavior on Cisco side is entirely subject to how you've programmed the router. If you have no matching dialplan entry, then router will reject the call. If you put a catch-call type of dial peer (i.e. with a destination pattern that matches everything under the sun) and point it out a PSTN connection, then if the call is set up and plays an announcement back to the router with a "please hang up and try again" type of message, then it may be played back in-band in the audio stream if the router interprets it as an answered call, or it may reject the call toward Asterisk if the PSTN call leg is never established. I suspect this only works as you described when using analog PSTN connections to Cisco gateway, because the loop has to be closed to play back the audio announcement. If you had a PRI on the Cisco gateway, you'd probably get a reject message from the telco and send back a similar reject message toward Asterisk, even if you had the dial peer pointing toward the PSTN for the invalid number. Regards, Scott -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pavel Jezek Sent: Wednesday, November 22, 2006 8:29 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Cisco media gateways in general is possible to control ci$co gateway from asterisk via mgcp? i.e. asterisk as mgcp call agent? PJ Bas van der Veen wrote: > Scott, > > Thanks for the reply. I am experiencing the following with a 2801: > - user mistypes a phone number, so the number becomes non-existent > - asterisk sends the call to the cisco > - the cisco 2801 tries to connect to the non-existent number > - the cisco sends a SIP 404 error to asterisk and the call is terminated > > This behaviour in itself is not weird, but the 2651 and 2821 routers at other branch offices for the same customer DO connect the user to the PSTN and they'd hear a message from the PSTN provider like "this number is not in use". I'd like that with the 2801 as well. > > Would you happen to have the possibility to dial a non-existent number on this setup you mentioned and let me know what the result is? > > Regards, > > Bas > > On Tue, Nov 21, 2006 at 12:03:19PM -0500, Scott Keagy wrote: > >> In my last job I set up Cisco 3845 with PRI cards, talking SIP to Asterisk. No problems there... main trick to get it working for me was to make sure Asterisk was not doing any authentication... add this to a line of the [peer] setup in sip.conf file on Asterisk: >> >> insecure=invite,port >> >> In terms of IOS side, if you are familiar with enabling sip UA and setting up dial peers, there is nothing special. >> >> Regards, >> Scott >> >> ________________________________ >> >> From: [EMAIL PROTECTED] on behalf of Bas van der Veen >> Sent: Tue 11/21/2006 10:02 AM >> To: [email protected] >> Subject: [asterisk-users] Cisco media gateways in general >> >> >> >> Greetings, >> >> After the 0 respones I had on my previous mail regarding the Cisco 2801, I thought I'd be more general. >> >> Is anybody using Cisco media gateways at all? If so, how is it working for you? >> >> -- >> Kind regards, Meilleures salutations, >> >> Bas van der Veen >> GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9E890160 >> >> "The question of whether a computer can think is no more interesting than the question of whether a submarine can swim." >> --Edsger Dijkstra >> >> >> > > >> _______________________________________________ >> --Bandwidth and Colocation provided by Easynews.com -- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > > _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
