// I did add the following in drivers.cpp:

                case GCEV_ALERTING:

                     trunk->getName(buffer);

                     slog(Slog::levelDebug) << buffer << ": GCEV_ALERTING HDL:" << metaevent.linedev << endl;

                     event.id = TRUNK_CPA_RINGING;

                     trunk->putEvent(&event);

                     break;

 

 

// And this to dial.cpp

        case TRUNK_CPA_RINGING:

               if(trunkSignal(TRUNK_SIGNAL_RING))

               {

                handler = &DialogicTrunk::stepHandler;

                return true;

               }

               return true;

 

 

It is working,

However I would like to be able to ignore the ^ring handler in my script.

 

I mean if the ^ring handler is not present I would like the dial command to return after connection.

 

Julien

 

_______________________________________________
Bayonne-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bayonne-devel

Reply via email to