[Asterisk-Dev] Immediate mode in mgcp channel

Urtho pawel at astercity.net
Mon Jul 19 01:43:25 MST 2004


  Can  someone  explain  me  why  Asterisk  is sending G/rt (ringback)
  request to my MTA when answering channel in immediate mode ?

  I have Packet Cable MTAs and they respond with error to G/rt in RQNT
  when there is allready a connection in sendrecv mode.

  This simple patch solves my problem but I have no idea if it is * or
  MTA problem.
--- chan_mgcp.orig      2004-07-19 12:33:36.000000000 +0200
+++ chan_mgcp.c 2004-07-19 12:33:49.000000000 +0200
@@ -2746,7 +2746,6 @@
             if (p->immediate) {
                 /* The channel is immediately up.  Start right away */
-                transmit_notify_request(sub, "G/rt");
                 c = mgcp_new(sub, AST_STATE_RING);
                 if (!c) {
                     ast_log(LOG_WARNING, "Unable to start PBX on channel %s@%s\n", p->name, p->parent->name);


More information about the asterisk-dev mailing list