fixed dialtone bug
authorSuper User <root@isdn.jolly.ten>
Sat, 22 Mar 2008 14:38:04 +0000 (15:38 +0100)
committerSuper User <root@isdn.jolly.ten>
Sat, 22 Mar 2008 14:38:04 +0000 (15:38 +0100)
modified:   apppbx.cpp

apppbx.cpp

index 243e4dd..077aae5 100644 (file)
@@ -2877,7 +2877,10 @@ void EndpointAppPBX::join_overlap(struct port_list *portlist, int message_type,
        }
        if (e_action) if (e_action->index == ACTION_OUTDIAL || e_action->index == ACTION_EXTERNAL)
        {
-                       set_tone(portlist, "dialtone");
+                       if (e_dialinginfo.id[0])
+                               set_tone(portlist, "dialing");
+                       else
+                               set_tone(portlist, "dialtone");
                        return;
        }
        if (e_ext.number[0])